Quantcast
Channel: Adobe Community : Popular Discussions - Deployment for Creative Cloud for Team, Enterprise, & CS
Viewing all articles
Browse latest Browse all 19518

Automating installation of CCP packages for Windows

$
0
0

I wanted to automate installing pre-Exceptions, Build and post-Exceptions. It turned out to be more complicated than I expected since I wanted to run my batch file from an UNC path. Anyhow, I got it to work. Why can't CC Packager create a file like this? This should work for any setup. The only change you need make is the Acrobat installation language. The CC Packager does know this when it creates the package, so even this could be automated.

 

Place this script as setupCC.bat in the topmost directory of the installation package created with CCPackager.

 

If you have any improvements or other comments, please let me know. Enjoy!

 

- - - - 8< - - - - 8<- - - - 8<- - - - 8<- - - - 8<- - - - 8<- - - - 8<- - - - 8<- - - - 8<- - - - 

REM The first CLS will clear the error about UNC paths
echo off
cls

 

REM Adobe Creative Cloud installer
REM by Petri Riihikallio 21.1.2014 v.1.0

 

REM This file must be run in the topmost directory created by CCP with Build and Exceptions as subdirectories
REM Acrobat installation language is the only setting that must be edited

 

set AcroLang=en_US

echo Acrobat installation language is %AcroLang%

 

REM This pushd trick will allow running this script from an UNC path
pushd %~dp0

 

set Step=1
if not exist Exceptions goto ErroMsg
cd Exceptions

 

set Step=2
if not exist ExceptionDeployer.exe goto ErroMsg
ExceptionDeployer --workflow=install --mode=pre --installLanguage=%AcroLang%

 

set Step=3
cd ..
if not exist Build goto ErroMsg
cd Build

 

set Step=4
if not exist setup.exe goto ErroMsg
setup.exe

cd ..\Exceptions
ExceptionDeployer --workflow=install --mode=post

goto CleanUp

 

:ErroMsg
Echo Got lost at step %Step% :o/ Is this BAT file in the correct directory?

 

:CleanUp
popd


Viewing all articles
Browse latest Browse all 19518

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>