上次更新時間
2021年4月29日
|
亦適用於 Creative Cloud for enterprise
使用批次檔案和指令檔部署例外狀況
您可以建立批次檔案和殼層指令檔,簡化部署期間執行 Exception Deployer 的流程。
一般而言,部署流程如下:
- (僅限 Windows) 以 Pre 模式執行 Exceptions Deployer 以安裝 Acrobat。
- (Windows 和 Mac OS) 安裝 Build 資料夾的內容。
- (Windows 和 Mac OS) 以 Post 模式執行 Exceptions Deployer,以安裝須在 Build 資料夾內容後安裝的其他產品和元件。
以 Pre 模式執行 Exceptions Deployer (適用於 Windows 的 Acrobat)
- 建立名為 BeforeSetup.bat 的空白文字檔案
- 將下列程式碼複製貼上至空白文字檔案:
PushD "%~dp0" Set installdir=%~dp0 @echo off Echo "Installing the Creative Cloud exceptions. Press any key to start the installation." PAUSE ExceptionDeployer --workflow=install --mode=pre --installLanguage=en_US Echo "Finished installing the Creative Cloud exceptions. Press any key to finish." PAUSE
- 儲存檔案。
- 以滑鼠右鍵按一下批次檔案,然後以系統管理員身分執行。
- 執行 Build 資料夾的內容。
以 Post 模式執行 Exception Deployer (Windows)
- 安裝 Build 資料夾內容後,完成此程序。
- 建立名為 AfterSetup.bat 的空白文字檔案
- 將下列程式碼複製貼上至空白文字檔案:
PushD "%~dp0" Set installdir=%~dp0 @echo off Echo "Installing the Creative Cloud exceptions. Press any key to start the installation." PAUSE ExceptionDeployer --workflow=install --mode=post --installLanguage=en_US Echo "Finished installing the Creative Cloud exceptions. Press any key to finish." PAUSE
- 儲存檔案。
- 以滑鼠右鍵按一下批次檔案,然後以系統管理員身分執行。
以 Post 模式執行 Exception Deployer (Mac OS)
- 重要: 目前 Mac 沒有例外狀況。
- 建立名為 Exceptions.sh 的空白文字檔案。
- 將下列程式碼複製貼上至空白文字檔案:
#!/bin/sh read -p "Press [Return] key to start the installation." sudo ./ExceptionDeployer.app --workflow=install --mode=post --installLanguage=en_US read -p "Press [Return] key to exit the installation."
儲存檔案。將指令碼設定為可執行檔。