Skip to main content
Participant
October 1, 2014
Answered

Deploy Lightroom with CCP

  • October 1, 2014
  • 2 replies
  • 909 views

Has anyone attempted to deploy Lightroom 5 using CCP?

It is not working for me, just silently dies.

    This topic has been closed for replies.
    Correct answer  HVS

    Hi Ric,

    I too got this working using the same method Petri Riihikallio used to deploy Adobe Acrobat Pro XI and a batch file, I did modify it ever so slightly but take no credit other than to say it works for this application too!

    file name: SetupCC.bat

    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 LightroomLang=en_US

    echo Lightroom installation language is %LightroomLang%

    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=%LightroomLang%

    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

    2 replies

    Ric5
    Inspiring
    October 3, 2014

    HVS,

    Yes. I got it working, but not without some grief. I have a batch file that runs the msi in the Exceptions folder. That's the last thing I tried and it seems to work. The syntax I'm using is:

    start /wait msiexec.msi /i "Exceptions\LTRM5.6en_US\[my-package-name].msi" /qb

    (I'm using the /qb rather than /qn for my own peace of mind)

    There's also an msi and a setup.exe in the Build folder but neither of them work. There's no LTRM5.6en_US folder there and that breaks it. (You'll see a very ambiguous return code if you turn of the /n option.)

    There is one problem I discovered with deploying Lightroom 5: the application does not respect the update selection I made in the application builder. The "update" option in the Help menu remains enabled. Updating Lightroom from the Help menu will cause it to loose its serialization and it will need to be reinstalled. Basically, rather than updating I have to tell our techs to install the latest version of the program from the packages I create. I'm hoping this is a but that Adobe will eventually fix.

    Ric

     HVSAuthorCorrect answer
    Participant
    October 3, 2014

    Hi Ric,

    I too got this working using the same method Petri Riihikallio used to deploy Adobe Acrobat Pro XI and a batch file, I did modify it ever so slightly but take no credit other than to say it works for this application too!

    file name: SetupCC.bat

    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 LightroomLang=en_US

    echo Lightroom installation language is %LightroomLang%

    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=%LightroomLang%

    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

    PetriRiihikallio
    Known Participant
    December 27, 2014

    The --InstallLanguage is needed just for Acrobat. You can just omit it if you are only installing LightRoom. AFAIK it doesn't hurt, either.

    Jeffrey_A_Wright
    Legend
    October 2, 2014

    Moving this discussion to the Enterprise Deployment for Creative Cloud, Creative Suite forum.