We're not going to get very far if you keep repeating the question and I keep repeating the answer! This is nothing to do with WiX. Your custom action crashes, Windows Installer displays the 1722 error dialog. You can't change this. It's the way Windows works. Why aren't you fixing the error, as Rob says? You could wrap the installutil call in a C++(?) Dll call of some kind, see if you can try/catch to trap the error and then set a property to use in a type 19 custom action, but why bother? Why not fix it? I assume you're not planning to ship the install while it's broken, so there's no real value in doing all that work just for your own use when you already know it's broken.
Phil Wilson -----Original Message----- From: Sandeep Gautam (HCL Technologies Ltd) [mailto:[EMAIL PROTECTED] Sent: Monday, October 27, 2008 2:23 PM 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