I am trying to run custom actions after my install, but I can't seem to do so.
Dump of file custacts.dll
File Type: DLL
Section contains the following exports for CUSTACTS.dll
00000000 characteristics
45F5C047 time date stamp Mon Mar 12 14:04:07 2007
0.00 version
1 ordinal base
2 number of functions
2 number of names
ordinal hint RVA name
2 0 00001185 DllMain
1 1 00001190 DoAction
Summary
1000 .data
1000 .reloc
1000 .rsrc
1000 .text
In the debugger I don't see the dll being loaded at all, I tried both as an
embedded DLL and installing the DLL and running from the installed path.
I have included the dll source and the wxs file.
Thanks,
- Matt
test.wxs
Description: test.wxs
custacts.def
Description: custacts.def
//
********************************************************************************
// Copyright (c) Microsoft Corp. All rights reserved.
//
// Module:
// CustomActions.cpp
//
// Description:
// This contains the main entry point for the CustomAction.dll.
//
//
********************************************************************************
#include <windows.h>
#include <msi.h>
#include <Msiquery.h>
BOOL APIENTRY DllMain
(
HANDLE /*module*/,
DWORD /*reason_for_call*/,
void* /*reserved*/
)
{
return TRUE;
}
UINT __stdcall DoAction
(
MSIHANDLE /*hInstall*/
)
{
MessageBox(0, L"Test", L"TEST", MB_OK);
return ERROR_SUCCESS;
}
------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________ WiX-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/wix-users

