migrate to advanced installer!
This commit is contained in:
12
wufuc_aihelper/aihelper.c
Normal file
12
wufuc_aihelper/aihelper.c
Normal 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;
|
||||
}
|
Reference in New Issue
Block a user