From d74e3dd4bcc573d0c4b1fb5c36c8bf0115cc21a1 Mon Sep 17 00:00:00 2001 From: Sean Hall Date: Sat, 28 Mar 2020 17:03:31 +1000 Subject: Add initial WixUtilBundleExtension. --- src/be/packages.config | 5 +++++ src/be/precomp.cpp | 3 +++ src/be/precomp.h | 25 +++++++++++++++++++++ src/be/utilbe.cpp | 19 ++++++++++++++++ src/be/utilbe.def | 8 +++++++ src/be/utilbe.vcxproj | 61 ++++++++++++++++++++++++++++++++++++++++++++++++++ 6 files changed, 121 insertions(+) create mode 100644 src/be/packages.config create mode 100644 src/be/precomp.cpp create mode 100644 src/be/precomp.h create mode 100644 src/be/utilbe.cpp create mode 100644 src/be/utilbe.def create mode 100644 src/be/utilbe.vcxproj (limited to 'src/be') diff --git a/src/be/packages.config b/src/be/packages.config new file mode 100644 index 00000000..f05546c5 --- /dev/null +++ b/src/be/packages.config @@ -0,0 +1,5 @@ + + + + + \ No newline at end of file diff --git a/src/be/precomp.cpp b/src/be/precomp.cpp new file mode 100644 index 00000000..37664a1c --- /dev/null +++ b/src/be/precomp.cpp @@ -0,0 +1,3 @@ +// Copyright (c) .NET Foundation and contributors. All rights reserved. Licensed under the Microsoft Reciprocal License. See LICENSE.TXT file in the project root for full license information. + +#include "precomp.h" diff --git a/src/be/precomp.h b/src/be/precomp.h new file mode 100644 index 00000000..9dc3c468 --- /dev/null +++ b/src/be/precomp.h @@ -0,0 +1,25 @@ +#pragma once +// Copyright (c) .NET Foundation and contributors. All rights reserved. Licensed under the Microsoft Reciprocal License. See LICENSE.TXT file in the project root for full license information. + + +#if _WIN32_MSI < 150 +#define _WIN32_MSI 150 +#endif + +#include +#include +#include +#include + +#include + +#include + +#define MAXUINT USHRT_MAX + +#include "dutil.h" +#include "memutil.h" + +#include "BootstrapperEngine.h" +#include "BundleExtensionEngine.h" +#include "BundleExtension.h" diff --git a/src/be/utilbe.cpp b/src/be/utilbe.cpp new file mode 100644 index 00000000..370669dd --- /dev/null +++ b/src/be/utilbe.cpp @@ -0,0 +1,19 @@ +// Copyright (c) .NET Foundation and contributors. All rights reserved. Licensed under the Microsoft Reciprocal License. See LICENSE.TXT file in the project root for full license information. + +#include "precomp.h" + +// function definitions + +extern "C" HRESULT WINAPI BundleExtensionCreate( + __in const BUNDLE_EXTENSION_CREATE_ARGS* /*pArgs*/, + __inout BUNDLE_EXTENSION_CREATE_RESULTS* /*pResults*/ + ) +{ + HRESULT hr = S_OK; + + return hr; +} + +extern "C" void WINAPI BundleExtensionDestroy() +{ +} \ No newline at end of file diff --git a/src/be/utilbe.def b/src/be/utilbe.def new file mode 100644 index 00000000..711b1a5c --- /dev/null +++ b/src/be/utilbe.def @@ -0,0 +1,8 @@ +; Copyright (c) .NET Foundation and contributors. All rights reserved. Licensed under the Microsoft Reciprocal License. See LICENSE.TXT file in the project root for full license information. + + +LIBRARY "utilbe" + +EXPORTS + BundleExtensionCreate + BundleExtensionDestroy diff --git a/src/be/utilbe.vcxproj b/src/be/utilbe.vcxproj new file mode 100644 index 00000000..963eac7f --- /dev/null +++ b/src/be/utilbe.vcxproj @@ -0,0 +1,61 @@ + + + + + + + + + + Debug + Win32 + + + Release + Win32 + + + + + {630C1EE7-2517-4A8C-83E3-DA1150308B58} + DynamicLibrary + utilbe + v141 + Unicode + utilbe.def + WiX Toolset Util BundleExtension + + + + + + + msi.lib + + + + + Create + + + + + + + + + + + + + + + + + + This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}. + + + + + -- cgit v1.2.3-55-g6feb