响应文件命令 | 描述 |
---|---|
Set profile <profile id="the profile id" installLocation="the install location of the profile"> </profile> |
使用此命令来创建安装位置。如果指定的安装位置已存在,则该命令不起作用。当前,在创建概要文件时,静默安装同时还会创建两个安装环境:一个用于 Eclipse,一个用于本机。概要文件是安装位置。 |
Set repositories <server> <repository location="http:/xxx/repository/"> <repository location=”file:/C:/repository/”> <!—add more repositories below--> <…> </server> |
使用此命令来指定静默安装期间所使用的存储库。每个存储库位置可以是一个 URL 或一个文件路径。 |
Install <install> <offering profile= "profile id" features= "feature ids" id= "offering id" version= "offering version"></offering> <!—add more offerings below> <…> </install> |
使用此命令来指定将安装的安装软件包。 概要文件标识必须与现有概要文件或 Set profile 命令所创建的概要文件相匹配。 可以通过逗号分隔的列表(例如,“feature1, feature2”等)来指定可选的功能部件标识。如果未指定任何功能部件标识,则将安装指定产品中的所有缺省功能部件。 注: 安装中将包含必需的功能部件,即使没有在逗号分隔的列表中显式指定这些功能部件。
|
Uninstall <uninstall> <offering profile= "profile id" features= "feature ids" id= "offering id" version= "offering version"></offering> <!—add more offerings below> <…> </uninstall> |
使用此命令来指定将卸载的安装软件包。 概要文件标识必须与现有概要文件或在概要文件命令中指定的概要文件相匹配。此外,如果没有指定任何功能部件标识,则将卸载指定产品中的所有功能部件;如果没有指定任何产品标识,则将卸载指定概要文件中所有已安装的产品。 |
InstallAll <installALL/> 注: 此命令的用途等价于
–silent –installAll. |
使用此命令以静默方式搜索并安装所有可用的可安装软件包。 |
UpdateAll <updateALL/> 注: 此命令的用途等价于
–silent –updateAll. |
使用此命令以静默方式搜索并更新所有可用的可安装软件包。 |