上次更新日期:
Apr 29, 2021 08:37:07 AM GMT
|
同时适用于: Creative Cloud for enterprise
使用批处理文件和脚本文件部署 Exceptions
您可以创建批处理和 shell 脚本文件,以简化部署期间运行 Exception Deployer 的过程。
一般来说,部署过程如下所示:
- (仅限 Windows)在 Pre 模式下运行 Exceptions Deployer 以安装 Acrobat。
- (Windows 和 Mac OS)安装 Build 文件夹中的内容。
- (Windows 和 Mac OS)在 Post 模式下运行 Exceptions Deployer,以安装必须在 Build 文件夹内容之后安装的其他产品和组件。
在 Pre 模式下运行 Exception 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 文件夹。
- 创建一个名为 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."
保存此文件。使脚本变得可执行。
登录到您的帐户