指定自訂資料目錄以進行多使用者安裝或升級
您可以在Windows ™或Citrix XenApp上進行Notes®多用戶安裝或升級期間設定Notes®Citrix XenApp自訂資料目錄。
如需如何設定此功能,請參閱下列各主題:
The Notes® installer and the Notes® program itself determine the data directories in a multi-user install; there are two data directories -- one for shared files and one for user files.
This command line feature allows the administrator installing a multi-user Notes® client to specify where the common data (templates, and so on) and where each subsequent user's personal data (contacts, bookmarks, notes.ini, and so on) will reside. In a normal multi-user install, these paths are under C:\Documents and Settings.
Using these command line options, you can uniquely specify the shared and user-specific data directories on the Notes® install command line using MSI properties or in an MSI transform.
用於針對多使用者安裝或升級來指定自訂資料目錄的指令行選項如下所示:
- MULTIUSERBASEDIR
此選項會指定使用者資料檔的根位置,並對應至登錄中的 DataPath。
同時支援環境變數擴充。例如,使用
!USERNAME!
變數來指定使用者特定的位置。這
!
使用字符代替更常用的字符&
特點。 - MULTIUSERCOMMONDIR
此選項會指定共用資料檔(例如,範本)的根位置,並對應登錄中的 CommonDataPath。
它也支援環境變數擴充。
注意: CommonDataPath 是為此功能建立的新註冊表項,如果不使用該功能,則該註冊表項將不存在。 - CITRIX=1
這指定 Citrix 在 32 位元或 64 位元Windows ™ 2003 或Windows ™ 2008 伺服器中的安裝。
To configure a Notes® custom data directory during multi-user install or upgrade, use the following command line in conjunction with your Notes® install kit.
setup.exe
/v"SETMULTIUSER=1 MULTIUSERBASEDIR=C:\LocalAppDataUsers\!USERNAME!
MULTIUSERCOMMONDIR=C:\LocalAppDataCommon"
共用的 notes.ininotes.ini檔案會建立在 MULTIUSERCOMMONDIR 指定的目錄中,而使用者特定的 notes.ini 檔案副本則建立在 MULTIUSERBASEDIR 指定的目錄中。
setup /v"/l*v %TEMP%\verbose.log SETMULTIUSER=1
MULTIUSERBASEDIR=Z:\ MULTIUSERCOMMONDIR=\"C:\Documents and Settings\all
users\""
用戶端會自動將 HCL\Notes\Data\ 加到 MULTIUSERBASEDIR 的指定值的最後;在這個範例中,Z:\HCL\Notes\data
如果是安裝在 Citrix 系統上,則還必須使用其他的 CITRIX=1 內容。
setup.exe /v"SETMULTIUSER=1 CITRIX=1
MULTIUSERBASEDIR=C:\LocalAppDataUsers\!USERNAME!
MULTIUSERCOMMONDIR=C:\LocalAppDataCommon"
升級至新版本或移動版本中的資料目錄
如需如何設定此功能,請參閱下列各主題:
此程序會在 Documents and Settings 名錄中建立 HCL\Notes\Data 子目錄,並將 Documents and Settings\!USERNAME!\notes\data 中的所有資料檔複製到新資料夾。HCL\Notes\Data 的路徑會加到 MULTIUSERBASEDIR 路徑最後面,並作為使用者的專用資料目錄。若要重複使用來自舊版安裝的資料目錄,該資料路徑必須以 HCL\Notes\Data 作為結尾。
程序
- Uninstall Notes® but do not delete user data, data directories, and so on.
- 從登錄中移除現有的多使用者 NOTES.INI
- 執行下列指令:
setup.exe /v"SETMULTIUSER=1 MULTIUSERBASEDIR=\"c:\Documents and Settings\!USERNAME!\" MULTIUSERCOMMONDIR=c:\temp\common"
- 修改「登錄」設定,如下所示:
- MultiUser=1
- DataPath=c:\Documents and Settings\%USERNAME %
- CommonDataPath=c:\temp\common
- 確定登錄中的 DataPath 及 CommonDataPath 值與來自指令行的 MULTIUSERBASEDIR 及 MULTIUSERCOMMONDIR 彼此相符。
- Move the contents of your previous Notes® data directories into those of the new install.
- Start Notes® and log in as prompted. All Notes® user data is available.