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?
Aug 24, 2016 11:31 AM
explaining the 1722 error via confirmation dialog before the 1722 error
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.