Installing using the command line
Here is the list of commands you can use while doing the installation.
- -i
- Sets the installer interface mode: silent, console or gui.
install_sdiv72_win_x86.exe -f Response File Name -i silent install_sdiv72_win_x86.exe –i console - -f
- Sets the location of a response file (installer.properties file)
for the installer to use.
This path can be absolute or relative. (Relative paths are relative to the location of the installer.)install_sdiv72_win_x86.exe –f installer.properties - -r
- Creates a response file.
install_sdiv72_win_x86.exe –r myinstaller.propertiesNote: The IBM Security Directory Integrator installer creates the tdi_respfile72.txt response file in the system's temporary files directory, even if -r option is not specified. For example:- On Windows platform, the response file is created in the C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp directory.
- On non-Windows platform, the response file is created in the /tmp directory.
- -D
- Passes custom command-line arguments.
install_sdiv72_win_x86.exe -Dmyvar=myvalue - -l
- Uses the specified language code (and optional country code) to
set the locale for the InstallAnywhere installer.
The required language code is a two-character (commonly lowercase) code defined by the ISO-639 standard. InstallAnywhere accepts both old (iw, ji, and in) and new (he, yi, and id) language codes.install_sdiv72_win_x86.exe -l en install_sdiv72_win_x86.exe -l pt_BRThe optional country code is a two-character (commonly uppercase) code defined by the ISO-3166 standard.
Locale options are only respected if the installer includes localizations for the locale you specify.
- -?
- Shows help for the InstallAnywhere installer.
On Windows, -help only works from the console launcher. Make sure to set the LaunchAnywhere to Console on the Windows tab of the Project > Platforms subtask. (For an installed LaunchAnywhere to provide this information, you need to make sure it is explicitly set to Console Launcher on the action.)
- LAX_VM
- The LAX_VM parameter is used to boot the installer from Java™ virtual machine, which is installed
on the system. You need to specify absolute path of the Java executable file that resides in the Java bin directory. For example,
Use only the space characters between the arguments.install_sdiv72_win_x86.exe LAX_VM "Java_DIR/jre/bin/java.exe"Note: Make sure that you use the absolute path of IBM® JRE 7.0.4 and above, as parameter value. The IBM Security Directory Integrator installer may not work correctly with other JREs. - -D$TDI_BACKUP$="true"
- This parameter should only be passed in on an uninstallation. This parameter is provided for future migration considerations; for example:
TDI_install_dir\_uninst\uninstaller.exe –D$TDI_BACKUP$="true"This instructs the uninstaller to run the TDI_install_dir/bin/tdiBackup.bat(.sh) script, which in turn will cause a directory TDI_install_dir/backup_tdi to be created. A backup of a number of files particular to your installation will be stored into this directory, including your global properties files, global certificates and the like.
Note: On a non-Windows system the $ (dollar) must be escaped with a \ (backslash). For example:TDI_install_dir\_uninst\uninstaller -D\$TDI_BACKUP\$="true" - -D$TDI_SKIP_VERSION_CHECK$="true"
- This parameter will cause the installer to skip any previous version
checks. This essentially disables any migration from previous releases.
In a silent installation, if this skip option is chosen and the installation directory is same as an earlier installation of IBM Security Directory Integrator, it will cause the installer to stop.
Note: On a non-Windows system the $ (dollar) sign must be escaped with a \ (backslash). For example:./install_sdiv72_linux_x86_64.bin -D\$TDI_SKIP_VERSION_CHECK\$="true" - -D$TDI_NOSHORTCUTS$="true"
-
This parameter is used to stop the installer from creating any shortcuts to the uninstaller, CE, or AMC.
Note: On a non-Windows system the $ (dollar) must be escaped with a \ (backslash). For example:./install_sdiv72_linux_x86_64.bin -D\$TDI_NOSHORTCUTS\$="true"