Silently installing from authenticated repositories

You can silently install from an authenticated repository; however, authenticated repositories need the appropriate credentials for access.
Installation Manager uses the Eclipse infrastructure to save credentials in a file called a key ring file. While the contents of the key ring file are encrypted, you can provide an additional level of security by specifying a password to open the key ring file. For additional information on key ring files, refer to the Eclipse workbench user's guide.

To access authenticated repositories in silent mode, complete the following steps:

  1. Create a key ring file and provide the appropriate credentials in the file.
  2. Start Installation Manager in the user interface (UI) mode and specify the following command-line parameters: -keyring <file> [-password <password>]. For example, use the following commands on the appropriate platform:
  3. When you use Installation Manager in UI mode and access a protected repository, a window opens where you can enter the credentials. Enter the correct credentials and then save them. Ensure that the Save password check box is selected. The credentials are saved into the specified key ring file.
  4. Start Installation Manager in silent mode and specify the following command line parameter: -keyring <file> [-password <password>]. During silent install, the credentials for the protected repository are retrieved from the key ring file specified in the command line.
    1. On Windows®, use launcher.exe --launcher.ini silent-install -input <input file path and name> -updateAll -log <log file path and name> -keyring <key ring file path and name> -password <password> where launcher is IBMIMc for the Installation Manager and installc for the Installation Manager installer.
    2. On other platforms, use launcher --launcher.ini silent-install -input <input file path and name> -updateAll -log <log file path and name> -keyring <key ring file path and name> -password <password> -keyring /tmp/keyring.txt -password my1secret where launcher is IBMIM for the Installation Manager and install for the Installation Manager installer.
Related reference
Reference: Sample response file
Silent installation commands
Silent installation preference commands

Feedback