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

How do I do a rollback during the pre-install phase?

During pre-install we check for pre-reqs (IIS, ASP.Net, etc...)
If a pre-req is not found, then we Show a Message Dialog with "Cancel and Exit" as the
only option.
This is all fine and good except in the following 2 cases:
(1) Silent install - I would have hoped that the Installer takes the only option
available and does a Cancel and Exit, but no, it just continues on.

(2) If the Windows close button is selected (Little 'x' at top right corner of dialog)
Why doesn't IA disable this button???

So, I want to either rollback or abort the installation if Install gets past the Message Dialog.
How do I do this?? There is no Trigger Rollback action for the pre-install phase.
Labels (1)
0 Kudos
(1) Reply
kshirabdhi
Level 3

Hi

You can still rollback your installation at pre-Install phase by using "Execute CustomCode" action.Import the customcode which will rollback the installation If a pre-req is not found.
0 Kudos