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 terminate the installation in the console mode?
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
Jul 27, 2008
09:46 AM
How to terminate the installation in the console mode?
Hi.
I've got the user choice from the console and I need terminate the installation or there is a same necessity in the silent mode
What kind of command (custom action) I should use in the console mode?
Thanks.
I've got the user choice from the console and I need terminate the installation or there is a same necessity in the silent mode
What kind of command (custom action) I should use in the console mode?
Thanks.
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Jul 27, 2008
02:53 PM
abortInstallation
public void abortInstallation(int exitCode)
This method exits the installer.
This method never returns. Similar to calling System.exit(), except installer temporary files will be cleaned up and the installation log will be written to the user's hard drive if the installer has been set to generate a log.
Parameters:
exitCode - the exit code to be returned by the installation process.
From the JavaDoc, the InstallerControl interface.
![](/skins/images/8CE4FAD0DE6F3A6F9D0567434D2D2DAE/responsive_peak/images/icon_anonymous_message.png)