在Windows ™上执行Notes ®静默安装或升级
MSI 命令行参数可用,并且可能需要运行Notes ®命令行安装,以在初始安装、版本升级期间或在同一Notes ®版本中添加或删除Notes ®客户端功能。
在你开始之前
有关如何设置此功能,请参阅以下主题:
Run the Notes® setup.exe from the directory in which it resides locally.
Note: ADDFEATURES
and REMOVEFEATURES properties are available only as command line arguments when using a Notes® silent install. These properties can be set directly on
the command line or used within an MSI Transform file during silent installation mode only. To
control the feature selections in the feature panel in the UI mode, use the Notes® install manifest (install.xml) file settings or
consider using the UpdateSiteMgr tool supplied with the Notes® install kit.
The Notes® features that can be included on the MSI silent install command line are as follows:
- Notes.Designer.Install -- Notes® single user install only (Allclient kit)
- Notes.Admin.Install -- Notes® single user install only (Allclient kit)
- Activities -- Connections
- SametimeUI -- 嵌入式HCL Sametime ®
- Feedreader -- 订阅源侧边栏面板
- CAE -- Composite Applications Editor
- ALL -- All available MSI options and all features available for install as specified in the Notes® install kit’s install manifest (install.xml)
Feature names are as shown in the following table. See Running a silent install or upgrade using optional arguments and Calling a transform file during Notes® silent install for command line options not described in the following examples.
情境 | 当前已安装 | 命令行 | 结果 |
---|---|---|---|
升级时添加 Activities | Notes® Allclient 8.5 and CAE | ADDFEATURES=Activities | 升级 CAE。安装 Activities/Connections。 |
免费升级 | Notes® Allclient with default features installed | setup.exe /s /v |
升级所有使用先前发行版安装的缺省功能部件。 |
升级和添加所有功能部件 | Notes® client with only Notes® installed | ADDFEATURES=ALL | Upgrade Notes® and install ALL optional MSI features. Install ALL optional install manifest (install.xml) features. |
情境 | 当前已安装 | 命令行 | 结果 |
---|---|---|---|
升级时除去 Activities | Notes® Allclient with CAE, Activities/Connections | REMOVEFEATURES=Activities | 升级 CAE。卸载 Activities/Connections。 |
情境 | 当前已安装 | 命令行 | 结果 |
---|---|---|---|
在重新运行 setup.exe 之后添加 Activities | Notes® with CAE | ADDFEATURES=Activities | 安装 Activities/Connections。 |
无更改的修改 | Notes® Allclient with default features installed | setup.exe /s /v |
将所有设置保留不变。 |
修改安装以添加所有功能部件 | Notes® client with only Notes® installed | ADDFEATURES=ALL | 安装所有可选的 MSI 功能部件。安装所有可选清单 (install.xml) 功能部件。 |
情境 | 当前已安装 | 命令行 | 结果 |
---|---|---|---|
除去 Activities | Notes® with CAE, Activities/Connections | REMOVEFEATURES=Activities | 卸载 Activities/Connections。 |
- Using the REMOVEFEATURES argument when removing Notes®
features silently使用 REMOVEFEATURES 参数在升级安装期间或在重新运行同一发行版的安装时卸载指定的功能部件。示例 REMOVEFEATURES 命令行语法如下:
例如,当重新运行Notes®命令行安装程序以删除活动时,您将使用以下命令行:setup /s /v
REMOVE=Name of the feature to be uninstalled
setup /s /v
REMOVE=Activities /qb+
- Using the ADDFEATURES argument when installing Notes®
features silently使用 ADDFEATURES 参数在升级安装期间或在重新运行同一发行版的安装时安装指定的功能部件。ADDFEATURES 命令行语法示例如下:
例如,要添加 CAE 和 Feedreader,请使用以下命令行:setup /s /v
ADDFEATURES=Name of the feature to be uninstalled
设置 /s/vADDFEATURES=CAE,Feedreader /qb+
可以选择使用 SELECTINSTALLFEATURES 来安装以下指定功能部件:setup /s /v
SELECTINSTALLFEATURES=Feedreader /qb+
- 将 ADDFEATURES 和 REMOVEFEATURES 参数一起使用You can use ADDFEATURES and REMOVEFEATURES arguments when upgarding to a new Notes® release and installing or removing Notes® features silently. You can add and/or remove MSI-only features, Notes® install manifest-only features, and hybrid features during a silent installation. You can combine ADDFEATURES and REMOVEFEATURES in a single command line. For example, to add Activities but remove the Feed Reader you could use the following command:
在某些情况下,ADDFEATURES 和 REMOVEFEATURES 命令行参数不能在同一命令行上使用。ADDFEATURES=ALL 和 REMOVEFEATURES 参数不能在同一命令中使用。ADDFEATURES=ALL 和 REMOVEFEATURES 参数不能在同一个命令中使用。而且,您不能在同一命令的 ADDFEATURES 和 REMOVEFEATURES 参数中指定同一个功能部件。但是,如果这两个参数指定了不同功能部件,那么您可以在同一命令中使用这两个参数。setup /s /v
ADDFEATURES=Activities REMOVEFEATURES=Feedreader /qb+
setup.exe /s /v
SETMULTIUSER=1 ADDFEATURES=ALL REMOVEFEATURES=SametimeUI,Feedreader /L*v c:\temp\log852.log /qb+
其他示例如下所示:
- 要执行Notes®静默多用户安装或升级,请使用
SETMULTIUSER=1
命令行语句:setup.exe /v
SETMULTIUSER=1 /qb
- 要使用缺省值以静默方式运行安装,同时不显示进度条,请使用以下语法:
setup.exe /s /v
/qn
Note: For example, this command installs Notes® to the single user default C:\Program Files\HCL\Notes directory and Notes® data folders and files to the C:\Program Files\HCL\Notes\data directory. - 要在安装完成后或安装失败时显示消息,请使用 + 参数,如下所示:
setup.exe /s /v
/qn+
- 要在安装过程中显示进度条,除了显示指示安装完成或失败的消息之外,还可以使用以下语法:
setup.exe /s /v
/qb+
- 要指定非缺省目标目录,例如 C:\HCL\Notes,请使用以下语法:
setup /S /V
ADDFEATURES=ALL PROGDIR=C:\HCL\Notes DATADIR=C:\HCL\Notes\Data /qn
Note: Each feature in the Notes® install manifest (install.xml) for which the required attribute is set to true will be installed. - 要指定要安装的安装清单功能,请获取
installfeature
Notes ®安装清单 ( install.xml ) 中的 ID 语法。要安装任何这些功能,请将功能 ID 值包含在ADDFEATURES
命令行上的属性。在引号中指定逗号分隔的名称,如下所示。请注意引号、等号和空格字符的位置。
setup /s /v
ADDFEATURES=Activities,SametimeUI,CAE /qn