PDA

View Full Version : How to call Rollback from Script



Linda Schneider
02-15-2006, 12:09 PM
Anyone have any ideas on how I can force a rollback call from InstallScript?

Thanks in advance for any suggestions.

Linda

RobertDickau
02-15-2006, 12:34 PM
Please see this DevLetter tip: http://www.installshield.com/news/newsletter/0308-articles/msi.asp.

Linda Schneider
02-15-2006, 03:01 PM
Thanks. Will this work if I place the call to the custom action in OnFirstUIAfter ?
Isn't there anyway to set the current install's error code to ERROR_INSTALL_FAILURE so that when it finishes it will rollback?

Linda

Linda Schneider
02-15-2006, 03:16 PM
Thanks. Will this work if I place the call to the custom action in OnFirstUIAfter ?
Isn't there anyway to set the current install's error code to ERROR_INSTALL_FAILURE so that when it finishes it will rollback?

Linda