Uhh, that’s weird. Can you share out some of the code?
From:
[EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Stumpf,
Mark
Sent: Thursday, October 05, 2006 12:53
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Custom Action Return code changed from SUCCESS to
FAILURE?
In
a C++ custom action DLL we have, we are returning an ERROR_SUCCESS at the end of our
action. But it seems like the value is being changed after we leave our
dll into ERROR_INSTALL_FAILURE and the install rolls back. What could
cause this and what can I do to protect our action? Thanks for your
input…
Below
is a log snippet:
[3828]
MSI (a) (F4:D4) [15:38:20:324]: Passing to service: MsiRecordSetString(67, 1,
"Return ERROR_SUCCESS")
[3828]
[3828]
MSI (a) (F4:D4) [15:38:20:324]: Passing to service: MsiRecordSetString(67, 0,
"[1]")
[3828]
[3828]
MSI (a) (F4:D4) [15:38:20:324]: Passing to service: MsiProcessMessage(0,
67108864, 67)
[3828]
[3828]
MSI (a) (F4:D4) [15:38:20:324]: Passing to service: MsiCloseHandle(67)
[3828]
[3828]
MSI (a) (F4:D4) [15:38:20:324]: Custom Action RunDefCA returned unexpected
value 0. Converted to ERROR_INSTALL_FAILURE.
[3828]
[3828]
MSI (a) (F4:D4) [15:38:20:334]: Custom action server's custom action is
returning 1603. (C:\WINDOWS\Installer\MSI48.tmp, RunDefCA)
[3828]
[2244]
MSI (s) (C4:10) [15:38:20:334]: User policy value 'DisableRollback' is 0
-
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