From aec6e9a4b21accd2e8aeb2cb36ad1cdc8f308f79 Mon Sep 17 00:00:00 2001 From: Sean Hall Date: Sun, 16 Dec 2018 17:21:36 -0600 Subject: Integrate into latest v4. Still needs TupleDefinitions and Messages. --- src/ca/dllmain.cpp | 26 +++++++++++++++++++ src/ca/iisca.cpp | 3 +++ src/ca/iisca.def | 7 +++++ src/ca/iisca.vcxproj | 70 ++++++++++++++++++++++++++++++++++++++++++++++++++ src/ca/packages.config | 6 +++++ src/ca/precomp.h | 13 ++++++++++ 6 files changed, 125 insertions(+) create mode 100644 src/ca/dllmain.cpp create mode 100644 src/ca/iisca.cpp create mode 100644 src/ca/iisca.def create mode 100644 src/ca/iisca.vcxproj create mode 100644 src/ca/packages.config create mode 100644 src/ca/precomp.h (limited to 'src/ca') diff --git a/src/ca/dllmain.cpp b/src/ca/dllmain.cpp new file mode 100644 index 00000000..35ae6d1c --- /dev/null +++ b/src/ca/dllmain.cpp @@ -0,0 +1,26 @@ +// 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" + +/******************************************************************** +DllMain - standard entry point for all WiX custom actions + +********************************************************************/ +extern "C" BOOL WINAPI DllMain( + IN HINSTANCE hInst, + IN ULONG ulReason, + IN LPVOID) +{ + switch(ulReason) + { + case DLL_PROCESS_ATTACH: + WcaGlobalInitialize(hInst); + break; + + case DLL_PROCESS_DETACH: + WcaGlobalFinalize(); + break; + } + + return TRUE; +} diff --git a/src/ca/iisca.cpp b/src/ca/iisca.cpp new file mode 100644 index 00000000..37664a1c --- /dev/null +++ b/src/ca/iisca.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/ca/iisca.def b/src/ca/iisca.def new file mode 100644 index 00000000..187269e1 --- /dev/null +++ b/src/ca/iisca.def @@ -0,0 +1,7 @@ +; 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 "iisca" + +EXPORTS + diff --git a/src/ca/iisca.vcxproj b/src/ca/iisca.vcxproj new file mode 100644 index 00000000..f83268b2 --- /dev/null +++ b/src/ca/iisca.vcxproj @@ -0,0 +1,70 @@ + + + + + + + + + + Debug + Win32 + + + Release + Win32 + + + + + {CB3FB8C4-14BF-4EA6-9F01-7FB258E5AEF3} + DynamicLibrary + iisca + v141 + Unicode + iisca.def + WiX Toolset Iis CustomAction + $([Microsoft.Build.Utilities.ToolLocationHelper]::GetLatestSDKTargetPlatformVersion('Windows', '10.0')) + + + + + + + + + + + + + + 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}. + + + + + + diff --git a/src/ca/packages.config b/src/ca/packages.config new file mode 100644 index 00000000..b74ff5d0 --- /dev/null +++ b/src/ca/packages.config @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/src/ca/precomp.h b/src/ca/precomp.h new file mode 100644 index 00000000..3edad7ed --- /dev/null +++ b/src/ca/precomp.h @@ -0,0 +1,13 @@ +#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. + + +#include +#include + +#define MAXUINT USHRT_MAX +#include + +#include "wcautil.h" +#include "fileutil.h" +#include "strutil.h" -- cgit v1.2.3-55-g6feb