migrate to advanced installer!

This commit is contained in:
zeffy
2017-07-03 18:55:41 -07:00
parent e4c411423b
commit c7f6de52e5
23 changed files with 542 additions and 362 deletions

12
wufuc_aihelper/aihelper.c Normal file
View File

@@ -0,0 +1,12 @@
#include <Windows.h>
#include <Msiquery.h>
#include <tchar.h>
UINT __stdcall AIHelper_SetUnloadEvent(MSIHANDLE hInstall) {
HANDLE hEvent = OpenEvent(EVENT_MODIFY_STATE, FALSE, _T("Global\\wufuc_UnloadEvent"));
if (hEvent) {
SetEvent(hEvent);
CloseHandle(hEvent);
}
return 1;
}