This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Avoiding error 1722 with a failed custom action
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Aug 11, 2016
12:40 PM
Avoiding error 1722 with a failed custom action
Is it possible to set a property and not check the return code from a custom action, but still initiate a rollback and cancel of the install instead of continuing with the install at that point where the custom action has exited. What I am trying to accomplish here is displaying a more user friendly message from the custom action rather than seeing the accurate but more ominous error that InstallShield generates. Or as an alternative, can the text for Error 1722 be altered to be more user friendly?
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Aug 24, 2016
11:31 AM
My solution to this was to add a yes/no confirmation dialog on the cancel button for the custom action explaining the situation. i.e. the install can not continue... if you answer yes, the install will be canceled and a rollback will occur... a 1722 error will be displayed next, click ok. The text wasn't exactly like this but you get the idea.