The SDK is clear: the signature of a custom action should be: UINT __stdcall CustomAction( MSIHANDLE hInstall )
Reference: http://msdn.microsoft.com/library/en-us/msi/setup/dynamic_link_libraries.asp In my opinion, it doesn't need to be documented in WiX documentation; we can't rewrite all of the SDK documentation. -- Mike Dimmick -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Dane Anderson Sent: 17 November 2006 19:17 To: wix-users@lists.sourceforge.net Subject: [WiX-users] FW: File in use I got it working. It seems that msiexec REQUIRES that the function being called return an int. By changing my KioskKillerMain from returning void to returning an int, and returning a 0, the problem vanishes. This is something that should be documented in the WiX documentation, and mentioned in the tutorial. My code wasn't failing, but it wasn't returning ANYTHING to msiexec, which tells me that something in msiexec doesn't get initialized (since it is using garbage) until the call to the entry point of the dll is called in the custom action. Since it didn't get initialized prior to that point, and the function wasn't returning anything, it just kept (and subsequently used) the garbage it had before the call. ------------------------------------------------------------------------- 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 WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users