This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallAnywhere
- :
- InstallAnywhere Forum
- :
- How do I do a rollback during the pre-install phase?
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
Feb 01, 2013
09:13 AM
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.
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.
(1) Reply
Feb 18, 2013
01:22 AM
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.
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.