Installation Manager command-line arguments
Use the following table to learn more about IBM Installation Manager command-line arguments.
Installation Manager commands
Table 1: Installation Manager Commands
Commands | Description |
---|---|
|
Encrypts the entered string. In the command-line interface, open the
Use
When you record a response file, encrypted strings for passwords are created and stored in the response file. An example of an encrypted string from a response file for HCL VersionVault on Windows:
After
recording the response file, use |
|
Exports installation data to the specified file in archive
format (.zip) where outputFileName is
the name of the generated file that contains the exported data. In
the command-line interface, open the |
|
Shows a short description of Installation Manager
command-line arguments. When the For compatibility with an earlier version, this command can
be used with a dash: |
|
Specifies an XML response file as the input to Installation Manager or the Installation Manager installer. The response file contains commands
that Installation Manager or the Installation Manager installer run. Do not use
input with the following commands:
You can use a file path or a URL for the
responsefile value. These examples show file paths and URL strings:
Remember: You can record a response file, edit a sample response file, or manually
create a response file.
For compatibility with earlier versions, this command can be used with a dash:
|
Important:
installAll is deprecated starting in Installation Manager version 1.4.4. It is recommended that you do not
use this command because of a number of potential issues related to installing multiple products at
the same time. For example:
|
Install all packages in a specified repository. This command installs all packages from all accessible repositories into their default installation directories. It can install only selected packages by default package features. Do not use installAll with
the following commands:
|
|
Update all installed packages from service repositories and repositories defined in the
Installation Manager preferences. Use the
updateAll command with:
Do not use updateAll with the following commands:
|
|
Shows the version and internal version of Installation Manager. For compatibility with an earlier versions,
this command can be used with a dash: |
Table 2: Installation Manager Options
Options | Description |
---|---|
|
Include the -acceptLicense option in your
command when the package you are installing requires that you accept
the licensing agreement. |
where mode= |
Defines whether Installation Manager operates in
administrator, non-administrator, or group mode. For administrator mode, use
-accessRights with the admin parameter: -accessRights
admin. For non-administrator mode, use the -accessRights argument with
the nonAdmin parameter: -accessRights nonAdmin. For group
mode, use -accessRights with the group parameter:
-accessRights groupOnly one administrator instance of Installation Manager can be installed. For non-administrator, install only one instance of Installation Manager for each user. If -accessRights is not used, the default value is set based on current user
permissions. Note:
Installation Manager reports an error when the user does not have appropriate system permissions. Attention: Do not change this argument when installing, modifying, updating, rolling
back, or removing the same instance of Installation Manager.
For example, User1 installs Installation Manager in the
C:\user1\InstallationManager directory with administrator access rights. When
running a command to modify Installation Manager in the
C:\user1\InstallationManager directory, User1 must not use
the -accessRights nonAdmin argument.
For information about installing as an administrator, non-administrator, or group, see Installing as an administrator or nonadministrator. |
|
Specifies the directory location for the Installation Manager data directory. This location stores information
about installed packages. Set this location when installing Installation Manager. The directory location set by
-datalocation must not be a subdirectory of the Installation Manager installation directory. Attention:
Examples when the same directory location must be used for the
-datalocation option:
For information about the types of files and information stored in the agent data location, see Agent data location. |
|
When specified, causes Eclipse to create keyring file if a keyring file does not exist. The
-password password argument is optional. If the password is not
specified, Eclipse uses a default password. You can provide stronger encryption by specifying a
password to open the keyring file.The contents of the keyring file are encrypted. You must have write permissions for the keyring file. Installation Manager uses the Eclipse infrastructure to save credentials to a keyring file. For additional information about keyring files, see the Eclipse workbench users guide. |
Attention: --launcher.ini .ini file is deprecated
starting in Installation Manager version 1.4.3. You can use
the following commands without specifying an .ini file:
install ,installc , userinst ,
userinstc , groupinst , groupinstc ,
uninstallc , and uninstall .
Examples:
|
Specifies the location of the product .ini file to use. When this argument is not
specified, Installation Manager checks for a file in the same
directory as the launcher with the same name and the .ini extension. For example,
if installc is the launcher, Installation Manager checks for installc.ini.
The silent-install.ini file contains the initialization parameters for installing silently. The silent-install.ini file is in the same directory as the installc file and must be present. The user-silent-install.ini file is used for a non-administrator installation. The user-silent-uninstall.ini file is used for a non-administrator uninstall procedure. Important: The version of
silent-install.ini and
user-silent-install.ini files provided in the installation files for Installation Manager use the input command-line
argument. To use installAll or updateAll with these .ini files,
you must remove two lines: the -input line and the line that points to the response
file. An example of the two lines to remove:
If the -input and
response file lines are not removed, the installAll and updateAll
command-line arguments do not work. The .ini files in the Installation Manager installation directory do not use the
An example of a
An example of a
If
you run a command that uses the |
|
Suppresses the Java™ virtual machine (JVM) error dialog. |
|
Specifies a log file that records the result of the silent
installation. The log file is an XML file. When your silent installation
completes, the log file contains the root element of Do not use |
Attention: -mode wizard is deprecated starting in Installation Manager version 1.4.4.
|
Runs the Install wizard with the specified
response file. You must use input when using -mode
wizard .For version 1.4.4, use IBMIM input response_file -acceptlicense to start the Install wizard. |
|
Suppresses the splash screen. |
|
Uses passwordKey to encrypt
or decrypt passwords. |
|
Generates a response file from actions in the Installation Manager UI, command line, or console mode, and specifies the location of the response file. |
|
Shows a progress bar on the console. |
|
Shows progress text on the console. For example, the text Reboot the machine to complete the install. is shown when restarting the computer is required. |
Attention: Starting with version 1.4.4, -silent is
deprecated.
|
Specifies that the Installation Manager installer or
Installation Manager run in silent mode. With the
IBMIM , install , userinst and
groupinst commands:
Do not use the input command with the installAll
and updateAll commands. With installAll , the default features for
a package are installed. To specify the features that are installed, you must use input
responseFile . The response file contains the information about the
features to install. Note: When you record a response file, you can select the features to
install. Important: installAll is deprecated starting in
Installation Manager version 1.4.4. It is recommended that
you do not use this command because of a number of potential issues related to installing multiple
products at the same time. For more information, see the installAll. |
|
Records a response file without installing the HCL product. The dataLocation
value specifies the directory location for the installation folders and files. Although the HCL product is not installed, the files and
folders that are required for installation are created and stored in the specified directory. The
directory must be writable. Verify that the file paths in the argument exist. Installation Manager does not create directories for response files. Attention: Do not specify an existing dataLocation directory for
the new dataLocation location value. See Agent data location for default locations of the
dataLocation directory.
Important: When you record a response file by using the
-skipInstall argument, you must keep the directory, folders, and files that are
created. By keeping the dataLocation directory, you can modify the
installation later. When you record a new response file to modify the installation, you specify the
same directory for dataLocation.Use a different dataLocation value for each version of an HCL product that you install. You must
first record an installation of an HCL
product by using |
|
Specifies the Java™ launcher. In silent mode, always use java.exe on Windows™, and java on Linux. |