cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
danieluc
Level 6

Canceling the installation process

Hi guys,

I am using IS 2008 Premiere with a Basic MSI package to deploy my application.
I need to be able to cancel the installation process, based on a result made in a vbscript. So if some condition is true, I need to be able to cancel the installation process urgently; I don't think this is possible from the script itself, but maybe I can set some variable, and the next CA (based on the variable) should be able to cancel the setup, with the appropiate rollback actions till that point.
Anybody? help ?

Thanks,
Daniel
Labels (1)
0 Kudos
(6) Replies
RobertDickau
Flexera Alumni

Please see [post=418185]this post[/post] for information about exiting an installation from a custom action.
0 Kudos
danieluc
Level 6

Hi Robert,

and thank you. Your answer is always right pointed. So managed to exit from vbScript, as seen in the example. Doing this when uninstalling from control Panel with \x switch, cases an windows error stating:

Fatal error during uninstallation.

Is there any way to avoid this?

Regards, Daniell
0 Kudos
danieluc
Level 6

Anyone any idea ?
Thanks,
0 Kudos
TheResearch
Level 6

Hi Daniel,

Try using IDABORT=2 instead of 3

Regards,
VJ
0 Kudos
danieluc
Level 6

Yeey, Thanks VJ
This way no error is shown, just the setup terminates.

Thank you again,
Daniel
0 Kudos
TheResearch
Level 6

Hi Daniel,

Glad that your problem is solved.

Cheers,
VJ
0 Kudos