创建用于企业部署的批处理文件和脚本 | CC 或 CC 2014

使用批处理文件和脚本文件部署 Exceptions

您可以创建批处理和 shell 脚本文件,以简化部署期间运行 Exception Deployer 的过程。 

一般来说,部署过程如下所示:

  1. (仅限 Windows)在 Pre 模式下运行 Exceptions Deployer 以安装 Acrobat。
  2. (Windows 和 Mac OS)安装 Build 文件夹中的内容。
  3. (Windows 和 Mac OS)在 Post 模式下运行 Exceptions Deployer,以安装必须在 Build 文件夹内容之后安装的其他产品和组件。 

在 Pre 模式下运行 Exception 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 上没有 exceptions 文件夹。
  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."

保存此文件。使脚本变得可执行。 

Adobe 徽标

登录到您的帐户