I'm writing an installer for a website on Server 2003 running IIS 6.0, and I'm 
having problems running a DLL function from a custom action. The action just 
seems to fail silently (it doesn't appear to actually run the function) and I 
get a return value of 3 which starts rollback of the installation. At this 
point, the DLL function is empty except for a return ERROR_SUCCESS, so the 
function itself shouldn't be crashing. The relevant portion of the install log 
looks something like:

MSI (s) (40:54) [16:48:38:538]: Executing op: ActionStart(Name=SELECT_CERT,,)
Action 16:48:38: SELECT_CERT.
MSI (s) (40:54) [16:48:38:558]: Executing op: 
CustomActionSchedule(Action=SELECT_CERT,ActionType=1025,Source=BinaryData,Target=Select,)
MSI (s) (40:54) [16:48:38:588]: Creating MSIHANDLE (233) of type 790536 for 
thread 1876
MSI (s) (40:94) [16:48:38:588]: Invoking remote custom action. DLL: 
C:\WINNT\Installer\MSI11B.tmp, Entrypoint: Select
MSI (s) (40:94) [16:48:38:819]: Closing MSIHANDLE (233) of type 790536 for 
thread 1876
Action ended 16:48:38: InstallFinalize. Return value 3.

>From what I've been reading it sounds like a missing dependency problem, but 
>running depend.exe on the DLL on the installation machine didn't reveal any 
>errors. A couple of warnings showed up, but it sounds like those are common 
>and probably not the source of the problem:
Warning: At least one delay-load dependency module was not found. (DWMAPI.DLL 
which is apparently a Windows Vista DLL)
Warning: At least one module has an unresolved import due to a missing export 
function in a delay-load dependent module. (SHLWAPI.DLL).

Anyone have any ideas how to fix the problem?

Thanks much!

John





-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to