cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
CChong
Level 11 Flexeran
Level 11 Flexeran

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.
Labels (1)
0 Kudos
(1) Reply
pv7721
Level 20

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.
0 Kudos