According to The Source (http://msdn.microsoft.com/en-us/library/aa368072(VS.85).aspx):
"Note that custom actions that are executable files must return a value of 0 for success. The installer interprets any other return value as failure." Are you absolutely, positively sure that your custom action returns 1? Do you see exit code 1 in the log file? Regards, Alex -----Original Message----- From: MadhaviAthota [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 14, 2008 5:28 AM To: wix-users@lists.sourceforge.net Subject: [WiX-users] Exit Code is not working for return="check" in custom action. Hi, I have written a customaction running an exe which is written in .Net. The exe is returning the exitcode as 0, but if there is any error the exitcode is returned as 1, but the custom action is not stopping the installation when the exitcode is 1 thought the return="check". my custom action is returned in this way <CustomAction Id='CopyRPPFiles' BinaryKey='MyCA' ExeCommand='"D:\Samples\EnvironmentConfig.xml" "RPP" "BACKUP" "INSTALL"' Execute="deferred" Return="check" HideTarget="no" Impersonate="no" /> Thank You, Madhavi. -- View this message in context: http://n2.nabble.com/Exit-Code-is-not-working-for-return%3D%22check%22-in-custom-action.-tp1332382p1332382.html Sent from the wix-users mailing list archive at Nabble.com. ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users