Using MSIEXEC Command Line Arguments

The /i parameter of MSIEXEC command line is used to install the Agile Business Suite deployment package.

Syntax

msiexec /i  <PackageGUID> or <complete MSI Name with its path> <UserName> <Password> <Domain>

Following table lists the various parameters of MSIEXEC command and their description:

Parameter

Description

/i

Installs the Agile Business Suite deployment package. You can either pass the msi file along with its path or the GUID of the deployment package.

If the system is already installed, you are prompted to repair or remove the installed system.

Examples:

msiexec /i C:\Temp\StagingArea\Sample.msi

msiexec /i {D95F933C-4F0B-11DD-867E-444553544200}

/x

Uninstalls an installed system. You can either pass the msi file along with its path or the GUID of the deployment package. If system is not already installed, the following message is displayed - This action is only valid for the products which are currently installed.

Examples:

msiexec /x C:\Temp\StagingArea\Sample.msi

msiexec /x {D95F933C-4F0B-11DD-867E-444553544200}

/passive

It can be passed with /i or /x. The /passive parameter installs, repairs or removes the installation in passive mode. The progress bar is visible during the installation and uninstallation.

Examples:

msiexec /passive /i C:\Temp\StagingArea\Sample.msi

msiexec /passive /x C:\Temp\StagingArea\Sample.msi

/q

Installs and uninstalls in quiet mode.

Examples:

msiexec /q /x C:\Temp\StagingArea\Sample.msi

msiexec /q /x C:\Temp\StagingArea\Sample.msi

/j

Installs the system for all the users of the machine but the user must have logged on as administrator to install the system.

Example:

msiexec /j {C:\Temp\StagingArea\Sample.msi}

/norestart

Do not restart once the Installation/Uninstallation is over.

/a

Creates a network image of the installable msi in the path mentioned in the folder property Package Installation Directory

Example:

msiexec /a C:\Temp\StagingArea\Sample.msi

/forcerestart

Prompts you to restart after the Installation/Uninstallation.

Example:

Msiexec /forcerestart /i C:\Temp\StagingArea\Sample.msi

DropDB

Specifies whether or not to retain the existing database. It can be set to a value of TRUE or FALSE. By default, the value for this parameter is FALSE. TRUE indicates retain existing database and False indicates do not retain existing database.

Example:

C:\Temp\StagingArea\Sample.msi userCode=appuser domain=. password=app1user# DropDB=TRUE

enableAfterDeploy

Specifies that the COM+ system generated by AB Suite would be enabled if it is set to true.

Example:

C:\Temp\StagingArea\Sample.msi userCode=appuser domain=. password=app1user# enableAfterDeploy=TRUE

REPORT

Specifies that the whether the report should be deployed or not.

It can be set to a value of 0 or 1. 0 indicates that deploy reports is false. 1 indicates deploy reports is true.

Example:

msiexec.exe  /forcerestart /i C:\Temp\StagingArea\Sample.msi userCode=appuser domain=. password=app1user# REPORT=0