Parameters for Silent Installation

You can use parameters to specify whether the plug-in is installed for all users or only for the current user on a Windows-based computer. Table Table 10-1. Parameters for silent installation describes the details of these parameters.

Table 10-1. Parameters for silent installation

Parameter

Description

Valid and Default Values

INSTALLDIR

Specifies installation directory of the plug-in.

When ALLUSERS is null, the installation directory is set to:

%USERPROFILE%\AppData\Roaming\OpenText\PPM Center Add In for MS Project\

When ALLUSERS is 1, the installation directory is set to the common program files folder, for example, C:\Program Files\OpenText\PPM Center Add In for MS Project\

ALLUSERS

Determines whether the plug-in is installed for all users or for the current user.

Setting to 1 enables all users to use the plug-in.

Valid values: 1, or null

Default:

Null, meaning that only the current user can use the plug-in.

To start the silent installation of the plug-in, run the following command together with the parameters in a command-line prompt:

setup.exe /s /v"/qn <parameter1> <parameter2>"

Caution: If you have to change the default installation directory when the ALLUSERS parameter is set to 1, you must set the INSTALLDIR parameter to a directory that all users can access, for example, C:\Program Files.

Examples

  • The following command enables all users to use the plug-in:

    setup.exe /s /v"/qn ALLUSERS=1"

    This command does not specify the installation directory, meaning that the plug-in is installed to the common program files folder, for example:
    C:\Program Files\OpenText\PPM Center Add In for MS Project\

  • The following command enables all users to use the plug-in. Also, the command specifies the installation directory to C:\PPMCenter. (Make sure that all users can access the C:\PPMCenter directory.)

    setup.exe /s /v"/qn INSTALLDIR=\"C:\PPMCenter\" ALLUSERS=1"

  • The following command installs the plug-in to the C:\APPSYS\PPMProject\ folder. Only the current user can use the plug-in.

    setup.exe /s /v"/qn INSTALLDIR=\"C:\APPSYS\PPMProject\""

  • The following command installs the plug-in to the default installation directory. Only the current user can use the plug-in.

    setup.exe /s /v"/qn"