要以静默方式运行 Installation Manager,命令的一般形式如下:
IBMIMc.exe --launcher.ini silent-install.ini -input response_file -log log_file
对 response_file 和 log_file 使用完整路径和文件名。
IBMIMc.exe --launcher.ini silent-install.ini -input C:\mylog\responsefile.xml -log C:\mylog\silent_install_log.xml
IBMIM --launcher.ini silent-install.ini -input /root/mylog/responsefile.xml –log /root/mylog/silent_install_log.xml
Installation Manager 以静默安装方式运行时,它读取响应文件并将日志文件写入您指定的目录中。响应文件是必需的;日志文件是可选的。这一执行操作的结果应当是:状态 0 表示成功,非零数字表示失败。
参数 | 描述 |
---|---|
-vm | 指定 Java 启动程序。在静默方式下,始终在 Windows 上使用 java.exe,而在其他平台上使用 java。 |
-nosplash |
不显示启动屏幕。 |
--launcher.suppressErrors |
不显示 JVM 错误对话框。 |
-silent |
以静默方式运行 Installation Manager 安装程序。 |
-input |
指定用作 Installation Manager 的输入的响应文件。响应文件包含安装程序或 Installation Manager 运行的命令。 |
-log |
(可选)创建记录静默安装结果的日志文件。该日志文件是 XML 文件。 |