cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Ken_Alverson
Level 4

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?
Labels (1)
0 Kudos
(1) Reply
Ken_Alverson
Level 4

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.
0 Kudos