It is documented on MSDN: - Custom actions in general:
http://msdn.microsoft.com/en-us/library/aa368066(VS.85).aspx - Return values (DLL and EXE): http://msdn.microsoft.com/en-us/library/aa368072(VS.85).aspx - Return values for scripting CA: http://msdn.microsoft.com/en-us/library/aa371254(VS.85).aspx - Return values processing options: http://msdn.microsoft.com/en-us/library/aa368071(VS.85).aspx Basically, if you want to provide your own error handling, check for error condition in your CA, always return ERROR_SUCCESS, set additional public property to reflect the actual error condition and make decision based on that property. Make sure that your scenario works for deferred CAs. -----Original Message----- From: Sandeep Gautam (HCL Technologies Ltd) [mailto:[EMAIL PROTECTED] Sent: Monday, October 27, 2008 2:29 PM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Custom action Specific Errors What about DLL CAs. Regards Sandeep -----Original Message----- From: Rob Mensching [mailto:[EMAIL PROTECTED] Sent: Monday, October 27, 2008 2:27 PM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Custom action Specific Errors Ahh, sorry, you don't get real control over EXE CustomActions. -----Original Message----- From: Sandeep Gautam (HCL Technologies Ltd) [mailto:[EMAIL PROTECTED] Sent: Monday, October 27, 2008 14:23 To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Custom action Specific Errors Right Now one Dialog Box with some predefined wix error message is coming. But I want to give my own error message on this dialog box. Regards Sandeep -----Original Message----- From: Rob Mensching [mailto:[EMAIL PROTECTED] Sent: Monday, October 27, 2008 2:19 PM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Custom action Specific Errors Gracefully crash. Interesting. Why not avoid the crash and display the dialog instead? -----Original Message----- From: Sandeep Gautam (HCL Technologies Ltd) [mailto:[EMAIL PROTECTED] Sent: Monday, October 27, 2008 13:45 To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Custom action Specific Errors Yes.. But I want to come out gracefully from that crash and want to show some meaning ful error to users. Regards Sandeep -----Original Message----- From: Wilson, Phil [mailto:[EMAIL PROTECTED] Sent: Monday, October 27, 2008 1:40 PM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Custom action Specific Errors That's a standard Windows Installer error that means the custom action (probably) crashed, not a WiX error you can re-define. Phil Wilson -----Original Message----- From: Sandeep Gautam (HCL Technologies Ltd) [mailto:[EMAIL PROTECTED] Sent: Monday, October 27, 2008 7:50 AM To: General discussion for Windows Installer XML toolset. Subject: [WiX-users] Custom action Specific Errors Hi, I have few custom actions. For example, I want to execute installutil.exe in my custom action, But due to some reason this custom acton is getting fail. On failure some wix predefined error 1722 is coming. But I want to give some custom action specific error. Please help how can I do this? Regards Sandeep ------------------------------------------------------------------------- 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 ------------------------------------------------------------------------- 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 ------------------------------------------------------------------------- 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 ------------------------------------------------------------------------- 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