PDA

View Full Version : abort without rolling back



thecaptain1977
07-31-2002, 08:10 AM
I have an installation where if certain conditions exist, I abort the current Setup and call another one to execute. Before calling the second setup, I write out to the registry "RunOnce" so that after the reboot of the second setup, I can restart the first one. I need to abort the first installation without rolling back my registry entry. Is there a way to do this. I thought there was some code you place before anything you don't want rolled back. Does this exist? Or is there another way?

Thanks,

Keith

Prince
07-31-2002, 08:18 AM
Keith:

There are some actions which are called for rollback. You can check these actions in execute sequence. Just disable these actions and check it this helps you.

thecaptain1977
07-31-2002, 08:41 AM
Thanks for the help. I will check those out. However, I did find that I can DISABLE( LOGGING ) before I abort and it doesn't rollback that registry.

Keith