-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
20 changed files
with
2,350 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
// 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 hInstance, | ||
IN ULONG ulReason, | ||
IN LPVOID) | ||
{ | ||
switch(ulReason) | ||
{ | ||
case DLL_PROCESS_ATTACH: | ||
WcaGlobalInitialize(hInstance); | ||
::DisableThreadLibraryCalls(hInstance); | ||
break; | ||
|
||
case DLL_PROCESS_DETACH: | ||
WcaGlobalFinalize(); | ||
break; | ||
} | ||
|
||
return TRUE; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
#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 <windows.h> | ||
#include <msiquery.h> | ||
#include <intsafe.h> | ||
#include <strsafe.h> | ||
|
||
#include "wcautil.h" | ||
#include "fileutil.h" | ||
#include "strutil.h" | ||
#include "memutil.h" | ||
#include "regutil.h" | ||
#include "dictutil.h" | ||
#include "deputil.h" | ||
|
||
#include "CustomMsiErrors.h" |
Oops, something went wrong.