Advertisement
dwatkins

Creative Cloud Packager example installation script

May 6th, 2015
451
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. @echo off
  2.  
  3. REM Adobe Creative Cloud Packager example installation script
  4. REM Place this script inside your package directory, alongside the cpp file which defines the package and
  5. REM Run this script with administrative privileges
  6. REM Make certain that Creative Cloud Packager is not running when executing this script
  7. REM For support, please visit https://www.adobe.com/support/
  8. REM if using a transforms file, it should be named AcroPro.mst and located in the same directory as AcroPro.msi
  9.  
  10. @setlocal enableextensions
  11. @cd /d "%~dp0"
  12.  
  13.  
  14. :AcrobatXI
  15. REM to specify the language, use the additional parameter --installLanguage
  16. REM e.g. ExceptionDeployer --workflow=install --mode=pre --installLanguage "fr_FR"
  17. REM otherwise the operating system language will be used
  18.  
  19. cd Exceptions
  20. IF NOT EXIST "AcrobatProfessional11*" GOTO ACROBATXI_END
  21.  echo Installing Acrobat XI...
  22.  
  23.  ExceptionDeployer --workflow=install --mode=pre --AcrobatTransforms=AcroPro.mst
  24. :ACROBATXI_END
  25. cd ..
  26.  
  27.  
  28. :AcrobatDC
  29. REM to specify the language, use the additional parameter: /sl "%INSTALLLANGUAGE%"
  30. REM e.g. Setup.exe /sAll /extUI /rs /l /sl "fr_FR"
  31. REM otherwise the operating system language will be used
  32.  
  33. cd Exceptions
  34. IF NOT EXIST "APRO15*" GOTO ACROBATDC_END
  35.  echo Installing Acrobat DC...
  36.  cd APRO15*
  37.  cd "Adobe Acrobat"
  38.  start /wait Setup.exe /sAll /extUI /rs /l
  39.  cd ..\..
  40. :ACROBATDC_END
  41. cd ..
  42.  
  43.  
  44. :BUILD
  45. echo Installing license from package and any applications in the "Build" directory
  46. cd Build
  47. for %%f in (*.msi) do set "BUILDMSI=%%f"
  48. start /wait msiexec.exe /i "%BUILDMSI%" /qn /lv* "%TEMP%\%BUILDMSI%.log"
  49. cd ..
  50.  
  51.  
  52. :PostExceptions
  53. echo Installing any remaining applications from the "Exceptions" directory
  54. REM Note: Acrobat DC will not be installed by this step, as it is installed earlier on
  55. cd Exceptions
  56.  ExceptionDeployer.exe --workflow=install --mode=post
  57. cd ..
  58.  
  59. REM uncomment the next line to not close the window after completion in case of any problems
  60. REM pause
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement