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
- :
- Re: how to quit installation
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
‎Nov 24, 2011
09:36 PM
how to quit installation
I want to add action to achieve this function:
When the value of installeranywhere variable is smaller than the value of another installeranywhere variable, then print error info, and exit installation.
which action should I add?
When the value of installeranywhere variable is smaller than the value of another installeranywhere variable, then print error info, and exit installation.
which action should I add?
(2) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Nov 25, 2011
12:15 AM
Workaround 1:
Use a Show Message Dialog and show one button and set the button to "Cancel and Exit".
Then attach a rule to this Show Message Dialog so if the rule is evaluated to true, the Message Dialog will be displayed and at that point, the user only has the choice to cancel and exit.
This work around only works in GUI mode.
Workaround 2:
Go to this link and download the AbortInstallAction plugin:
http://www.flexerasoftware.com/products/installanywhere/files-utilities.htm
Once downloaded, open the zip file and you'll find a readme inside with instructions on how to use the plugin. The source code is also inside.
In your project, add the AbortInstallation action located in the plugins tab. Now you can add a rule to this plugin so that if the rule is evaluated to true, the installer will abort. Since this is a custom action plugin, this works in GUI, Console and Silent modes.
I hope this will suffice your requirement.
Use a Show Message Dialog and show one button and set the button to "Cancel and Exit".
Then attach a rule to this Show Message Dialog so if the rule is evaluated to true, the Message Dialog will be displayed and at that point, the user only has the choice to cancel and exit.
This work around only works in GUI mode.
Workaround 2:
Go to this link and download the AbortInstallAction plugin:
http://www.flexerasoftware.com/products/installanywhere/files-utilities.htm
Once downloaded, open the zip file and you'll find a readme inside with instructions on how to use the plugin. The source code is also inside.
In your project, add the AbortInstallation action located in the plugins tab. Now you can add a rule to this plugin so that if the rule is evaluated to true, the installer will abort. Since this is a custom action plugin, this works in GUI, Console and Silent modes.
I hope this will suffice your requirement.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Nov 12, 2019
07:08 PM
Same question, but, how to quit installation with non-zero return code ?
@SunnyBoy @wangnijie860304 : Can you help here.