Créer des fichiers de commandes et des scripts pour les déploiements en entreprise | CC ou CC 2014

Déploiement d’exceptions à l’aide de fichiers de commandes et de scripts

Vous pouvez créer des fichiers de script de commandes et shell pour simplifier le processus d’exécution d’Exception Deployer lors des déploiements. 

En général, le processus de déploiement est le suivant :

  1. (Windows uniquement) Exécutez Exceptions Deployer en pré-mode pour installer Acrobat.
  2. (Windows et Mac OS) Installez le contenu du dossier Build.
  3. (Windows et Mac OS) Exécutez Exceptions Deployer en post-mode pour installer d’autres produits et composants qui doivent être installés après le contenu du dossier Build. 

Exécution d’Exceptions Deployer en pré-mode (Acrobat pour Windows)

  1. Créez un fichier texte vide nommé BeforeSetup.bat
  2. Copiez et collez le code suivant dans votre fichier texte vide :
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. Enregistrez le fichier.
  2. Cliquez avec le bouton droit sur le fichier de commandes et exécutez-le en tant qu’administrateur.
  3. Exécutez le contenu du dossier Build.

Exécution d’Exceptions Deployer en post-mode (Windows)

  1. Terminez cette procédure une fois le contenu du dossier Build installé.
  2. Créez un fichier texte vide nommé AfterSetup.bat
  3. Copiez et collez le code suivant dans votre fichier texte vide :
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. Enregistrez le fichier.
  2. Cliquez avec le bouton droit sur le fichier de commandes et exécutez-le en tant qu’administrateur.

Exécution d’Exceptions Deployer en post-mode (Mac OS)

  • Important : il n’y a actuellement aucune exception sur l’ordinateur Mac.
  1. Créez un fichier texte vide nommé Exceptions.sh.
  2. Copiez et collez le code suivant dans votre fichier texte vide :
#!/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."

Enregistrez le fichier. Rendez le script exécutable. 

Recevez de l’aide plus rapidement et plus facilement

Nouvel utilisateur ?