建立適用於企業部署的批次檔案和指令碼 | CC 或 CC 2014

使用批次檔案和指令檔部署例外狀況

您可以建立批次檔案和殼層指令檔,簡化部署期間執行 Exception Deployer 的流程。 

一般而言,部署流程如下:

  1. (僅限 Windows) 以 Pre 模式執行 Exceptions Deployer 以安裝 Acrobat。
  2. (Windows 和 Mac OS) 安裝 Build 資料夾的內容。
  3. (Windows 和 Mac OS) 以 Post 模式執行 Exceptions Deployer,以安裝須在 Build 資料夾內容後安裝的其他產品和元件。 

以 Pre 模式執行 Exceptions Deployer (適用於 Windows 的 Acrobat)

  1. 建立名為 BeforeSetup.bat 的空白文字檔案
  2. 將下列程式碼複製貼上至空白文字檔案:
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
  1. 儲存檔案。
  2. 以滑鼠右鍵按一下批次檔案,然後以系統管理員身分執行。
  3. 執行 Build 資料夾的內容。

以 Post 模式執行 Exception Deployer (Windows)

  1. 安裝 Build 資料夾內容後,完成此程序。
  2. 建立名為 AfterSetup.bat 的空白文字檔案
  3. 將下列程式碼複製貼上至空白文字檔案:
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
  1. 儲存檔案。
  2. 以滑鼠右鍵按一下批次檔案,然後以系統管理員身分執行。

以 Post 模式執行 Exception Deployer (Mac OS)

  • 重要: 目前 Mac 沒有例外狀況。
  1. 建立名為 Exceptions.sh 的空白文字檔案。
  2. 將下列程式碼複製貼上至空白文字檔案:
#!/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."

儲存檔案。將指令碼設定為可執行檔。 

更快、更輕鬆地獲得協助

新的使用者?