Command-line arguments for the imcl command
Use this reference table to learn more about the commands and options for the
Installation Manager command line, imcl.
imcl commands from the tools directory.- You cannot use the
imclcommands from the Installation Manager installer if an earlier version of Installation Manager is installed. - Enclose file paths that include spaces with double quotation marks.
| Commands | Description |
|---|---|
|
Remove the files that are saved on your system that is needed to revert to an earlier version of installed packages. These files are used for rollback. For more information about rollback, see rollback preferences. |
|
Encrypt the entered string. Use the encryptString command with the -passwordKey option to increase encryption security. |
|
Export the installation data to the specified file in a compressed file format where outputFileName is the name of the generated file that contains the exported data. |
|
Run the help command to view the available
commands for Installation Manager. When you use the help command with another command, a short description of the command is shown. When you use the help command with the all option, more help commands are shown. |
|
Add existing packages that you installed with installation tools
other than Installation Manager. By importing these packages, you can use Installation Manager to
manage the packages. Use the -installationDirectory option to specify the
directory where the existing package is installed. The import command is used only with IBM® WebSphere® Application Server products. For more information about WebSphere products, see: IBMDocumentation. Use the import command with these options:
Do not use the import command with these commands:
|
|
Specify a response file for silent installation with the
input command. Use the input command with these options:
Do not use the input commands with these commands:
|
|
Install packages, updates, fixes, or features. Packages are specified by a package ID. Separate a list of packages with spaces. You can add an underscore with the version to the package ID and add a list of features that are separated by commas. If a version is not specified, the latest version of the package is installed. If a list of features is not specified, the default features are installed. Use the install command
with these options:
Do not use the install command with these commands:
|
|
Print information to the console about the available fixes for the
specified package. The listAvailableFixes command shows all available fixes, including fixes that might not be appropriate to use in your environment. For more information about listing available fixes, see Listing available fixes by using imcl commands. Use the
listAvailableFixes command with these options:
|
|
Print information to the console about the available packages. The listAvailablePackages command shows available packages, including packages that might not be appropriate to use in your environment. For more information about listing available fixes, see Listing available packages by using imcl commands. Use the listAvailablePackages command with these options:
|
|
Print information to the console about the installation directory,
the shared resources directory, the name of the package group, and installed translations. For more information about listing available fixes, see Listing information about installation directories by using imcl commands. Use the
listInstallationDirectories command with these options:
|
|
Print information to the console about installed features for the
specified package. For more information about listing available fixes, see Listing installed features by using imcl commands. Use the
listInstalledFeatures command with these options:
.
|
|
Print information to the console about the installed packages. For more information about listing available fixes, see Listing installed packages by using imcl commands. Use the
listInstalledPackages command with these options:
|
|
Change the installed software packages. Packages are specified by a package ID. You can add an underscore with the version of the package ID. Features can be added or removed from the packages. Use the -addFeatures option to specify the features to add. Use the -removeFeatures option to specify the features to remove. Use the modify command with these options:
Do not use the modify command with
these commands:
|
|
Revert to an earlier version of installed packages. Packages are specified by a package ID. You can add an underscore with the version of the package ID to roll back to. If the version is not specified, then the package rolls back to the previous version. When you specify multiple packages, all the packages must be installed to the same installation directory. You cannot roll back Installation Manager to an earlier version. Use the
rollback command with these options:
Do not use the rollback command with these commands:
|
|
Uninstall packages, updates, fixes, or features. Packages are specified by a package ID. You can add an underscore with the version to the package ID and add a list of features that are separated by commas. If a version is not specified, the latest version of the package is uninstalled. If a list of features is not specified, the default features are uninstalled. Use the uninstall command with these options:
Do not use the uninstall command with these commands:
|
|
Uninstall all installed packages. Use the
uninstallAll command with these options:
Use the -installationDirectory option to uninstall only the packages in the specified installation directory. Do not use the uninstallAll command
with these commands:
|
|
Update all installed packages. Use the updateAll command to update all installed packages from service repositories and repositories that are defined in the Installation Manager preferences. Use the
updateAll command with these options:
Use the -installationDirectory option to update only the packages in the specified installation directory. Do not use the updateAll command with
these commands:
|
|
Show the version and internal version of Installation Manager. For 64-bit operating systems, information about the architecture shows. For 32-bit operating systems, the architecture information does not show. |
|
New in version 1.7: View license from the command line. Use
the viewLicense command with these options:
|
|
View log files. If logFile is not specified, a list of log files is returned. If logFile is specified, entries from the specified log file are shown. |
| Options | Description |
|---|---|
|
Indicate acceptance of the license agreement. If the package that you install requires that you accept the license agreement, you must include the -acceptLicense option with the installation command. |
|
Specify the features to add by using a comma-separated list. Use
this option with this command:
For more information, see Modifying packages by using imcl commands. |
|
Add the IBM
Passport Advantage® repository to the repository
list. Use the option with these commands:
|
|
Start Installation Manager in console mode. Use this option to start Installation Manager with an interactive user interface. New in version 1.7: You can use options -secureStorageFile and -masterPasswordFile with console mode (-c or -consoleMode). |
|
Specify the location for the Installation Manager data directory.
This location stores information about installed packages. Set this location when you install
Installation Manager. Use this option with the Installation Manager installer only. Do not use this
option when you start an installed instance of Installation Manager. Attention:
|
|
Indicate the Eclipse target directory for installing into an existing
Eclipse location. Use the option with this command:
|
|
Include information about features in the list of packages. Use
the option with these commands:
Do not use the -features option with this option:
|
|
Specify the directory path to the installation location. The same package might be installed in more than one location. Use this option to specify the installation location. Use the option with these commands:
|
|
Choose to install or not to install fixes with the offering. Valid
values are none, recommended, and
all. Use the option with these commands:
|
|
The -keyring and -password
options are deprecated. Use the -secureStorageFile and
-masterPasswordFile options to store credentials. For more information, see Migrate from key ring files to storage files. Specify the key ring file that contains the credentials for authenticating with protected repositories, such as Passport Advantage. If your key ring file is protected, include the -password option and the password for the key ring file. For more information about key ring files, see Installation Manager command-line arguments for silent mode. |
|
Specify a log file that records the result of Installation Manager
operations. The log file is an XML file. The log file contains no entries if the installation,
update, modify, roll back, or uninstall process completes successfully. The log file contains an
error entry when the process is not successful. An example of a log file for a completed
installation:
<?xml version="1.0" encoding="UTF-8"?> <result> </result> Do not use the -log option when you record a response file. |
|
Include information about the repository paths, the package IDs and
versions, the display names and versions, and the feature IDs. Use the option with these commands:
Do not use the -long option with the option:
|
|
Specify the language to use. When you include the nl option and a language code with an imcl command, the behavior of the command line adjusts according to the settings for the specified language. For example: -nl es. Your language choices apply to all packages that are installed in the package group. A list of language codes can be found at the Library of Congress site Codes for the Representation of Names of Languages. Installation Manager supports only some of the languages that are listed. Of those languages, Installation Manager uses the ISO 639-1 Code that specifies two-letter codes. Installation Manager does not use the ISO 639-2 Code that specifies three-letter codes. Some languages support only partial translations. When a language is partially translated, the nontranslated content is presented in English. For a list of languages that Installation Manager supports, see Starting Installation Manager. For a list of languages that a package supports, see the documentation for that package. |
|
Encrypt or decrypt passwords. |
|
Use this option to install or manage a portable installation of a
product if the product supports it. If you move a portable installation of a product to another location, the installation still works. |
|
Use preference keys to customize a package installation. You can include a list of preferences by separating each preference with a comma. See Silent installation preference keys for a list of available preferences. |
|
Include the -prompt option when you must enter
credentials to access a server. Use the -prompt option with these commands:
You cannot use -prompt with console mode (-c or -consoleMode). |
|
Define the package group profile properties, such as languages.
You can include a list of properties by separating each with a comma. For properties that have
multiple values, you must use two commas between the values:
The
list contains the predefined property keys and related values:
cic.selector.key keys, see Values for
cic.selector.key.You can find more property keys in the documentation for the product that you install. Use the option with these commands:
|
|
Generate a response file from actions in the Installation Manager UI, command line, or console mode, and specify the location of the response file. |
|
Install the same version or a later version of Installation Manager when you have issues with the current
installation of Installation Manager. You must specify the location of the current installation; otherwise Installation Manager is installed into the default installation location. If the current installation is not in the default directory, you can use the -installationDirectory option to specify the directory of the current installation. If you do not use the -installationDirectory option and the current installation is in a nondefault directory, the -reinstallIM option places a new installation in the default directory. Instead of updating the current installation, you have two different installations on your computer. Installation Manager is uninstalled and then installed when you use this option. You do not have to uninstall any of the installed packages. When you use the
-reinstallIM option with the install command, you must specify
the Installation Manager package,
When you use the -reinstallIM option with the input command, the response file must specify a version of Installation Manager for installation. For more information about using a response file to install Installation Manager, see Modifying a response file to install a package and Installation Manager. Use the option with these
commands:
|
|
Specify the features to remove by using a comma-separated list.
Use the option with this command:
For more information about the -removeFeatures option, see Modifying packages by using imcl commands. |
|
New in version 1.7: List the package versions that you can roll back to. Use the option with these commands:
Do not use the -rollbackVersions option with these options:
|
|
Indicate the location that contains the installation files for the
available packages. You can include a list of repositories by separating each repository with a comma. You can use a file path or a URL for the Use the option with these commands:
|
|
Use these options to store credentials for repository authentication.
The -secureStorageFile option specifies the file and path to the storage file. The -masterPasswordFile option specifies the file and path to the master password file. The master password file is a text file that contains a passphrase and that is used to encrypt sensitive contents in the storage file. For more information, see Storing credentials. Use the option with these commands:
Do not use the -secureStorageFile option or the
-masterPasswordFile with this option:
New in version 1.7: Installation Manager uses Equinox Secure Storage mechanism (instead of the key ring mechanism). If you do not specify the -secureStorageFile option, then Installation Manager generates a default storage file in the user_home_directory/.eclipse/org.eclipse.equinox.security/secure_storage folder. If you do not specify the -masterPasswordFile\ option, Installation Manager uses a predefined password. To specify the password at the command line, use the -prompt option. |
|
Set the shared resources directory. A shared resources directory is created the first time that you install a package. You do not have to use this option when you install other packages. If a shared resources directory exists, you must use that location. If you want to change the shared resources directory, you must uninstall all packages, and then install the packages and use a new shared resources location. Use the option with this command:
|
|
Lists the operating system and architecture values that a package
supports. Use the -showPlatforms option with these commands:
The -showPlatforms option returns information about the operating
system,
os, and the architecture, arch. For fixes, if the fix
supports the same platforms as the package that the fix applies to, the
SAME_AS_PACKAGE keyword shows instead of an os.arch value. For
more information about the os and arch values that this option
returns, see Values for
cic.selector.key keys.Check the package documentation to determine the supported operating systems and architectures for that package. |
|
Show a progress bar on the console. |
|
Show progress text on the console. For example, the following text is shown when the computer must be restarted: Reboot the machine to complete the install. |
|
On Windows, stops running
processes that lock package files. Installation Manager must be able to access or modify these
locked files. The -stopBlockingProcesses option works only if a package enables support for this option. |
|
Search the service repositories. If the source repository contains the package that you specified by using an ID and version, the service repositories are not searched. Use the option with these commands:
The -useServiceRepository option overrides the -preferences offering.service.repositories.areUsed=false option. For more information about service repositories, see Searching service repositories. |
|
Set or override a response file variable value on the command
line. If the value of a variable contains a comma (,), use two commas.
Use the option with these commands:
For more information about variables, see Response file variables. |
|
Show more information when you run a command. Use the option with
these commands:
Do not use the -verbose option with the options:
|
| Platform | cic.selector.os value |
cic.selector.arch value |
cic.selector.ws value |
cic.selector.nl value |
|
|---|---|---|---|---|---|
| 32-bit | 64-bit | ||||
| AIX® | aix |
ppc |
ppc64 |
motif
|
You can access a list of language codes at the Library of
Congress site Codes for the Representation of Names of Languages. Installation Manager supports only some of the languages that are
listed. Of those languages, Installation Manager uses the ISO
639-1 Code, which uses the two-letter codes and not the ISO 639-2 Code, which uses the three-letter
codes. Some languages support only partial translations. When a language is partially translated, the nontranslated content is presented in English. For a list of languages that Installation Manager supports, see Starting Installation Manager. For a list of languages that a package supports, see the documentation for that package. |
| HP-UX | hpux |
ia64_32 |
ia64 |
motif
|
|
| IBM i | os400 |
ppc |
ppc64 |
motif |
|
| Linux® | linux |
ppc
|
ppc64
|
gtk |
|
| OS X operating system | macosx |
x86 |
x86_64 |
cocoa |
|
| Solaris | solaris |
sparc
|
sparc64
|
gtk |
|
| Windows | win32 |
x86 |
x86_64 |
win32 |
|
| IBM z/OS® | zos |
s390 |
s390x |
motif |
|