在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)
- 活動-Connections
- SametimeUI -- 嵌入式HCL Sametime ®
- Feedreader -- Feed 側邊欄面板
- CAE——複合應用程式編輯器
- 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.
設想 | 目前已安裝 | 命令列 | 結果 |
---|---|---|---|
升級時新增活動 | Notes® Allclient 8.5 and CAE | 新增功能=活動 | 升級CAE。安裝活動/Connections。 |
升級後不做任何改動 | Notes® Allclient with default features installed | setup.exe /s /v |
升級早期版本中安裝的所有預設功能。 |
升級並添加所有功能 | Notes® client with only Notes® installed | 新增功能=全部 | Upgrade Notes® and install ALL optional MSI features. Install ALL optional install manifest (install.xml) features. |
設想 | 目前已安裝 | 命令列 | 結果 |
---|---|---|---|
升級時刪除活動 | Notes® Allclient with CAE, Activities/Connections | 刪除功能=活動 | 升級CAE。卸載活動/Connections。 |
設想 | 目前已安裝 | 命令列 | 結果 |
---|---|---|---|
重新執行 setup.exe 後新增活動 | Notes® with CAE | 新增功能=活動 | 安裝活動/Connections。 |
修改後不做任何改動 | Notes® Allclient with default features installed | setup.exe /s /v |
讓一切保持原樣。 |
修改安裝以新增所有功能 | Notes® client with only Notes® installed | 新增功能=全部 | 安裝所有選購的 MSI 功能。安裝所有選用清單 (install.xml) 功能。 |
設想 | 目前已安裝 | 命令列 | 結果 |
---|---|---|---|
刪除活動 | Notes® with CAE, Activities/Connections | 刪除功能=活動 | 卸載活動/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 和 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