使用安装程序以静默方式安装软件包
使用 Installation Manager 安装程序以静默方式安装 Installation Manager 和其他产品软件包。
准备工作
关于本任务
您可以同时静默安装 Installation Manager 和软件包。 (可选) 您可以安装 Installation Manager,然后使用 Installation Manager 以静默方式安装软件包。
过程
以下步骤描述了如何以静默方式安装软件包:
结果
运行 Installation Manager 安装程序时,它将读取响应文件并 (可选) 写入指定目录中的日志文件。 如果指定日志文件和目录,那么如果安装已完成,那么日志文件不包含任何条目。 未完成操作时,日志文件包含错误条目。 已完成安装的日志文件的示例:
<?xml version="1.0" encoding="UTF-8"?> <result> </result>
还提供了 Installation Manager 的日志文件。 有关日志目录的缺省位置,请参阅 代理程序数据位置。
示例
操作系统 | 管理员 | 非管理员 | 组 |
---|---|---|---|
窗户 | installc.exe input c:\myresponse\responsefile.xml -log c:\mylog\silent_install_log.xml -acceptLicense | userinstc.exe input c:\myresponse\responsefile.xml -log c:\mylog\silent_install_log.xml -acceptLicense | 不可用。 |
Linux, UNIX , IBM i, z/OS和 OS X 操作系统 | ./installc input /root/myresponse/responsefile.xml -log /root/mylog/silent_install_log.xml -acceptLicense | ./userinstc input /root/myresponse/responsefile.xml -log /root/mylog/silent_install_log.xml -acceptLicense | 不支持。 |
包含空格的文件路径要用双引号括起。