PDA

View Full Version : Rollback installation with a custom action



yonitr
12-07-2004, 05:02 AM
Hi,
I stop my installation with a returned value 3 from vbs action script.
Now, how can I rollback the installation with a custom action? I don't want it just to be stoped. I need it canceled- rollback.
What can I do?

Thanks

RobertDickau
12-07-2004, 09:32 AM
Rollback occurs only if the custom action aborts during deferred execution, since during immediate execution system changes presumably haven't happened yet.

Christopher Painter
12-07-2004, 09:47 AM
I answered this question in the other thread that you asked in. In case you missed it here it is:

http://community.installshield.com/showthread.php?t=141844

Again read this website. It's a very thorough explanation of custom action sequencing and execution context.

http://www.installsite.org/pages/en/isnews/200108/