cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to Run the Installer and Uninstaller in Different UI Modes

How to Run the Installer and Uninstaller in Different UI Modes

Summary

This article discusses how to run the installer and uninstaller in different UI Modes by default or by specifying command-line parameters.

Synopsis

This article discusses how to run the installer and uninstaller in different UI Modes by default or by specifying command-line parameters to the installer. These suggestions are intended for a case when support for more than one UI Mode (e.g. GUI, Console, Silent) has been enabled under Installer UI > Look & Feel Settings > General UI Settings > Allowable UI Modes.
UI Mode 3.PNG

Note: This article does not apply to Java-only installers run directly by calling Java and invoking an executable JAR file.

Discussion

Here are two approaches for accomplishing this:

Approach 1: Running the uninstaller in a different UI Mode than the installer by default
Under Project > Platforms > Windows > Default Windows UI Mode > Uninstaller UI Mode, select the desired UI Mode that the project has been configured to support.
UI Mode 4.PNG

The uninstaller should now run in the UI Mode selected by default.

Approach 2: Running the uninstaller in a different UI Mode than the installer by specifying and passing parameters to the uninstaller from the command-line

Run the uninstaller with a command like in the following examples:

On Windows:

uninstall.exe -i console


On Linux:

./uninstall.bin -i console


The uninstaller should run in the UI Mode specified by the command-line parameter passed to the uninstaller.


Related KB Articles

How To Change the Uninstall Default UI Mode to Silent
Resolving the Installer User Interface Mode Not Supported Error

Additional Information

For more information about available installer/uninstaller command-line parameters, click here.
For more information about the General UI Settings View, click here.
For more information about the Platforms View, click here.
Was this article helpful? Yes No
No ratings
Version history
Last update:
‎Nov 09, 2018 10:33 PM
Updated by: