以管理者或非管理者身分安裝
您可以使用管理者或非管理者身分,透過 IBM Installation Manager 來安裝軟體。
共用 Installation Manager 的相同實例時儲存認證
多位使用者可在管理者模式中使用 Installation Manager 的相同實例。部分儲存庫可能需要認證。當您使用「儲存密碼」選項而未指定只有您才能存取的金鑰環時,其他使用者可以使用您的認證來存取該儲存庫。
如果您未儲存認證,則每次您存取該儲存庫時都會提示您輸入認證。
如需搭配使用認證與 Installation Manager 的相關資訊,請參閱 Installation Manager 資訊中心
Windows 平台安裝注意事項
使用 -accessRights 引數,可以指定要在管理者還是非管理者模式中安裝軟體:
- 若要以管理者身分安裝軟體,請使用 -accessRights admin 引數及選項
- 若要以非管理者身分安裝軟體,請使用 -accessRights nonAdmin 引數及選項。
- install.exe
- installc.exe
- uninstall.exe
- uninstallc.exe
install.exe 及 userinst.exe 指令會將 Installation Manager 安裝至不同目錄。您對 Installation Manager 的管理者安裝所做的變更,並不會影響 Installation Manager 的非管理者安裝。您對 Installation Manager 的非管理者安裝所做的變更,並不會影響 Installation Manager 的管理者安裝。Installation Manager 的每一個實例,都必須有自己的安裝目錄及代理程式資料位置。
Linux 及 UNIX 平台安裝注意事項
您必須對 Installation Manager 目錄、套件目錄及上層目錄具有執行權限。如果您沒有執行權限,則無法存取子目錄或檔案。若沒有此權限,使用 Installation Manager 時會發生非預期的行為或失敗。
Installation Manager 預設值及目錄位置
設定 | 管理者 | 非管理者 |
---|---|---|
Windows:在 Windows 功能表及「新增或移除程式」中顯示 Installation Manager | Installation Manager | Installation Manager |
Windows:Microsoft 登錄機碼 | HKEY_LOCAL_MACHINE\Software\IBM\Installation Manager | HKEY_CURRENT_USER\Software\IBM\Installation Manager |
預設安裝目錄 | Windows:C:\Program Files\IBM\Installation Manager Linux 及 UNIX:/opt/IBM/InstallationManager IBM i:/QIBM/ProdData/InstallationManager z/OS®:/InstallationManager/bin |
Windows 2012、Windows 2008、Windows 8 及 Windows 7:C:\Users\users\IBM\Installation Manager Linux 及 UNIX:/user_home_directory/IBM/InstallationManager z/OS:/user_home_directory/InstallationManager/bin |
eclipse\tools 目錄是安裝目錄的子目錄。 | Windows:installation_directory\eclipse\tools Linux、UNIX 及 z/OS:installation_directory/eclipse/tools |
|
預設登錄檔案位置 | Linux 及 UNIX:/etc/.ibm/registry/InstallationManger.dat z/OS:/etc/.ibm/registry/InstallationManger.dat |
Linux 及 UNIX:/user_home_directory/etc/.ibm/registry/InstallationManger.dat z/OS:/user_home_directory/etc/.ibm/registry/InstallationManger.dat |
預設代理程式資料位置 如需代理程式資料位置的相關資訊,請參閱代理程式資料位置。 重要: 請不要變更「代理程式」資料位置目錄或子目錄中的內容、檔案或目錄。變更這些內容會妨礙 Installation Manager 運作。
|
Windows 2012、Windows 2008、Windows 8 及 Windows 7:C:\ProgramData\IBM\Installation Manager Linux 及 UNIX:/var/ibm/InstallationManager z/OS:/InstallationManager/appdata |
Windows 2012、Windows 2008、Windows 8 及 Windows 7:C:\Users\user\AppData\Roaming\IBM\Installation Manager Linux(tm) 及 UNIX(tm):/user_home_directory/var/ibm/InstallationManager z/OS:/user_home_directory/InstallationManager/appdata |
Eclipse 日誌位於代理程式資料目錄的子目錄中。 | Windows:agent_data_directory\pluginState\.metadata\.log Linux、UNIX 及 z/OS:/agent_data_directory/pluginState/.metadata/.log |
|
uninstall 目錄是代理程式資料目錄的子目錄。 | Windows:agent_data_directory\uninstall Linux、UNIX 及 z/OS:/agent_data_directory/uninstall |
安裝指令
只能安裝一個 Installation Manager 管理者實例。若為非管理者,只能為每一個使用者安裝一個 Installation Manager 實例。
Installation Manager 安裝目標 | Windows 指令 | Linux 及 UNIX 指令 |
---|---|---|
管理者會為所有使用者安裝 Installation Manager。 | install.exe 或 installc.exe 進行無聲自動安裝 |
#install 或 #installc 進行無聲自動安裝 |
非管理者會為所有使用者安裝 Installation Manager。 | Windows 2012、Windows 2008、Windows 8 及 Windows 7: install.exe或 installc.exe 進行無聲自動安裝註: 系統會提示您輸入管理者使用者 ID 及密碼。
|
$sudo install 或 $sudo installc 進行無聲自動安裝 |
管理者只會為現行使用者安裝 Installation Manager。 | userinst.exe 或 userinstc.exe 進行無聲自動安裝 |
#userinst 或 #userinstc 進行無聲自動安裝 |
非管理者只會為現行使用者安裝 Installation Manager。 | userinst.exe 或 userinstc.exe 進行無聲自動安裝 |
$userinst 或 #userinstc 進行無聲自動安裝 |
解除安裝指令
解除安裝 Installation Manager 的目標 | Windows 指令 | Linux 及 UNIX 指令 |
---|---|---|
管理者會為所有使用者解除安裝 Installation Manager。 | uninstall.exe 或 uninstallc.exe 進行無聲自動解除安裝 |
#uninstall 或 #uninstallc 進行無聲自動解除安裝 |
非管理者會為所有使用者解除安裝 Installation Manager。 | Windows 2012、Windows 2008 及 Windows 7: uninstall.exe或 uninstallc.exe 進行無聲自動解除安裝註: 系統會提示您輸入管理者使用者 ID 及密碼。
|
$sudo uninstall 或 $sudo uninstallc 進行無聲自動解除安裝 |
管理者只會為現行使用者解除安裝 Installation Manager。 | userinst.exe 或 userinstc.exe 進行無聲自動解除安裝 |
#uninstall 或 #uninstallc 進行無聲自動解除安裝 |
非管理者只會為現行使用者解除安裝 Installation Manager。 | userinst.exe 或 userinstc.exe 進行無聲自動解除安裝 |
$uninstall 或 #uninstallc 進行無聲自動解除安裝 |
如需無聲自動安裝指令引數的相關資訊,請參閱Installation Manager 指令行引數。