Maintenance Mode Command-Line Arguments

InstallAnywhere 2021

To run the maintenance mode launcher via command line, use the following command:

Change Product_Name Installation.exe

The maintenance mode launcher supports the following command-line options:

Maintenance Mode Command-Line Options

Option

Description

-add

Use to add features. Follow this option with a list of features that you want to add. For example:

Change MyProduct Installation.exe -add feature1 feature2

-remove

Use to remove features. Follow this option with a list of features that you want to remove. For example:

Change MyProduct Installation.exe -remove feature3 feature4

-uninstall

Use to uninstall a product.

Change MyProduct Installation.exe -uninstall

-repair

Use to repair an installed product.

Change MyProduct Installation.exe -repair

If no options are specified, the maintenance mode launcher will default to the uninstall mode.

Important:All the above options are mutually exclusive of each other. Therefore, no two of the above options can be used together in a command line executing the maintenance mode launcher.

Maintenance mode is not supported in silent mode. If you run the maintenance mode launcher in silent mode, the launcher will uninstall the product.

Note:When running maintenance mode in console mode, the user cannot go back to the following console mode panels using the BACK command-line option:

1. Install/Modify Instance Console

2. Choose Instance to Modify Console

3. Choose Maintenance Option Console