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 to stop uninstallation in middle
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Sep 22, 2009
04:47 AM
How to stop uninstallation in middle
Hi,
I am executing a few scripts in the installer and wanted to stop the installation if the script fails(this is in install and not in post install). The failure of the script can be checked using exit code.
Is there any way to skip the installation to the end in case of failure:confused: ...
Can anyone please help me out..
Thanks
I am executing a few scripts in the installer and wanted to stop the installation if the script fails(this is in install and not in post install). The failure of the script can be checked using exit code.
Is there any way to skip the installation to the end in case of failure:confused: ...
Can anyone please help me out..
Thanks
(2) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Sep 22, 2009
12:20 PM
Well I think that the only attempt you could do should be done in the Pre-Uninstall task... but what could prevent the user from uninstalling if they want to?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Sep 24, 2009
08:36 AM
You could try a "Show Message Dialog" I've had that appear in the middle of the "Install" step.
Can you also do a Jump to, some place in the Post-Install?
Sometimes what I do, is just install the files during the install step, then in the post install, I execute scripts, etc.
Can you also do a Jump to, some place in the Post-Install?
Sometimes what I do, is just install the files during the install step, then in the post install, I execute scripts, etc.
![](/skins/images/3B39CE851FDD5528C393F146EB70A2D0/responsive_peak/images/icon_anonymous_message.png)