none
Silent install of Photoshop Elements 10 via SCCM fails RRS feed

  • Question

  • Hi all, hoping someone can help. I'm trying to push out deployment of Adobe Photoshop Elements 10 via SCCM. From Adobe's site I found details on adding an XML file to preconfigure various default settings and perform a silent install.  I can push out the package to my test PC's cache folder no problem, but the advertisement fails with "Failed (bad environment)" message ID 10003. The system cannot find the file specified."

    However, I can install the program manually, running the same code from the command line. So, on my test PC, if I go to c:\windows\system32\cache\(package) from the command line, I can type the following "start /wait Setup.exe /UL1033 /V"SERIALNUMBER=xxxx-xxxx-xxxx-xxxx-xxxx-xxxx" (as per Adobe's instructions) and Photoshop Elements 10 will silently install just fine.

    I've read elsewhere that SCCM can have issues with server paths and making use of the %~dp0 variable but I'm unsure if that applies here. In SCCM, in the program properties for PE10, the drive mode is set to "Runs with UNC name." I tried changing to 'requires drive letter" but it still failed. I'm guessing I'm dealing with some sort of environment issue but I'm stuck as to how to fix. Any suggestions?

    Thanks in advance,

    Sir_Timbit

    Monday, August 13, 2012 6:09 PM

Answers

  • Error code 0x80009106 = "Failed to verify the executable file is valid or to construct the associated command line."

    As mentioned, get rid of the start /wait, it's not doing anything for you except complicating any issues and there simply is no reason to use it regardless of Adobe's recommendation (an intern at Adobe probably wrote that how-to).


    Jason | http://blog.configmgrftw.com

    • Marked as answer by Sir_Timbit Tuesday, August 14, 2012 6:29 PM
    Tuesday, August 14, 2012 12:17 AM

All replies

  • What failed?

    What does execmgr.log say on a clinet where it ran?

    Why use "start /wait"? That's essentially the exact same as just calling setup.exe.


    Jason | http://blog.configmgrftw.com

    Monday, August 13, 2012 7:25 PM
  • I used "start /wait" as that was what was listed on Adobe's silent install instructions at http://helpx.adobe.com/photoshop-elements/kb/silent-install-instructions-photoshop-elements-1.html

    Again, it installs fine manually, *if* I point a command prompt to c:\windows\system32\ccm\cache\(cache folder)\ and run the start /wait setup.exe line below. But through SCCM, the advertisement report shows:

    Message ID:10003. Failed (bad environment)

    An error occurred while preparing to run the program for advertisement "ABC20074" ("ABC00041" - "Install Photoshop Elements 10"). The operating system reported error -2147024894: The system cannot find the file specified. Additional program properties: Command line: start /wait Setup.exe /UL1033 /V"SERIALNUMBER=xxxx-xxxx-xxxx-xxxx-xxxx-xxxx" Working directory: Drive letter (? = any): Possible cause: This message most commonly occurs when the program's command-line executable file could not be found, when a required drive letter connection to a distribution point could not be established, or when the program is configured to use the SMS Software Installation Account but the account is not specified, could not be found, or does not have the appropriate permissions. Solution: Check each of the items listed above.

    Execmgr.log on the client shows the following:

    <![LOG[Successfully selected content location C:\WINDOWS\system32\CCM\Cache\ABC00041.1.System]LOG]!><time="12:01:25.056+360" date="08-13-2012" component="execmgr" context="" type="1" thread="3860" file="executioncontext.cpp:1703">
    <![LOG[GetFileVersionInfoSize failed for file C:\WINDOWS\system32\CCM\Cache\ABC00041.1.System\start, error 1812]LOG]!><time="12:01:25.071+360" date="08-13-2012" component="execmgr" context="" type="2" thread="3860" file="executioncontext.cpp:119">
    <![LOG[Executing program as a script]LOG]!><time="12:01:25.071+360" date="08-13-2012" component="execmgr" context="" type="1" thread="3860" file="executionengine.cpp:103">
    <![LOG[Invalid executable file start]LOG]!><time="12:01:25.071+360" date="08-13-2012" component="execmgr" context="" type="3" thread="3860" file="scriptexecution.cpp:511">
    <![LOG[Raising event:
    [SMS_CodePage(437), SMS_LocaleID(1033)]
    instance of SoftDistProgramBadEnvironmentEvent
    {
        AdvertisementId = "ABC20074";
        ClientID = "GUID:8892F324-A104-4E4B-A3A1-0F2571233B59";
        CommandLine = "start /wait Setup.exe /UL1033 /V\"SERIALNUMBER=xxxx-xxxx-xxxx-xxxx-xxxx-xxxx\"";
        DateTime = "20120813180125.087000+000";
        DriveLetter = "";
        MachineName = "PCAB31";
        PackageName = "ABC00041";
        ProcessID = 268;
        ProgramName = "Install Photoshop Elements 10";
        SiteCode = "ABC";
        ThreadID = 3860;
        Win32ErrorCode = 2147942402;
        WorkingDirectory = "";
    };
    ]LOG]!><time="12:01:25.087+360" date="08-13-2012" component="execmgr" context="" type="1" thread="3860" file="event.cpp:525">
    <![LOG[Raised Program Bad Environment Event for Ad:ABC20074, Package:ABC00041, Program: Install Photoshop Elements 10]LOG]!><time="12:01:25.087+360" date="08-13-2012" component="execmgr" context="" type="1" thread="3860" file="executioncontext.cpp:739">
    <![LOG[EnterRsRuningState failed to run script start /wait Setup.exe /UL1033 /V"SERIALNUMBER=xxxx-xxxx-xxxx-xxxx-xxxx-xxxx" 0x80009106]LOG]!><time="12:01:25.087+360" date="08-13-2012" component="execmgr" context="" type="2" thread="3860" file="executionrequest.cpp:3318">
    <![LOG[Fatal error 0x80009106 enountered for program Install Photoshop Elements 10. This program will not retry.]LOG]!><time="12:01:25.165+360" date="08-13-2012" component="execmgr" context="" type="1" thread="3860" file="executionrequest.cpp:3477">
    <![LOG[CreateMandatoryRequestRecursively Install Photoshop Elements 10 failed at EvaluateRequestForExecution]LOG]!><time="12:01:25.227+360" date="08-13-2012" component="execmgr" context="" type="2" thread="3860" file="execreqmgr.cpp:3765">
    <![LOG[Policy is updated for Program: Install Photoshop Elements 10, Package: ABC00041, Advert: ABC20074]LOG]!><time="12:01:25.243+360" date="08-13-2012" component="execmgr" context="" type="1" thread="3968" file="execreqmgr.cpp:6711">

    Thanks in advance for any help you can provide,

    Sir_timbit


    • Edited by Sir_Timbit Monday, August 13, 2012 8:44 PM
    Monday, August 13, 2012 8:40 PM
  • Are you deploying an app the old fashioned way with packages ?

    If so go into your package, double click the program.

    Once it opens hit browse, do you see the exe once you have configured the drop down in the bottom right to show all files? if you don't see it that's why it's not working.

    change the path to point to the setup.exe and update the dist point, it will work fine.

    Your setup.exe for that app isn't referencing an XML to install at all. the application.xml.override is used in most Adobe apps.

    I don't think it's related to your issue.

    A few of the older creative suites reference an XML and i'd use something like:

    SETLOCAL
    SET WORKING=%~dp0
    %WORKING%Setup.exe --mode=silent --deploymentFile=%WORKING%Install.xml --skipProcessCheck=1

    You can use UNC name or even run from a share directly with no issues.

    Hope that sorts your issue.

    Regards

    Rich.

    Monday, August 13, 2012 9:52 PM
  • Error code 0x80009106 = "Failed to verify the executable file is valid or to construct the associated command line."

    As mentioned, get rid of the start /wait, it's not doing anything for you except complicating any issues and there simply is no reason to use it regardless of Adobe's recommendation (an intern at Adobe probably wrote that how-to).


    Jason | http://blog.configmgrftw.com

    • Marked as answer by Sir_Timbit Tuesday, August 14, 2012 6:29 PM
    Tuesday, August 14, 2012 12:17 AM
  •  start /wait” is MS-DOS command and ConfigMgr will interpret the command line expecting start to be an executable file (hence the error message you are seeing about “program's command-line executable file could not be found”). It works fine manually because you were running from a command prompt (and so have access to other internal dos commands).
    To make the Adobe's silent install instructions you link to work (and for other dos commands such as copy, md, etc) you need to preface the command with cmd /c “start /wait …” but as said earlier this just complicates troubleshooting (and makes getting the correct double-quotes more tricky) so the best option would be to drop "start /wait" and begin the command setup.exe

    This page at IT Ninja may provide some more help on getting the command line correct http://www.itninja.com/software/adobe/photoshop-elements/10-612

    Tuesday, August 14, 2012 9:14 AM
  • I think the issue is the package isn't pointing to the source exe.
    Tuesday, August 14, 2012 10:43 AM
  • Here's something I do, after reading logs and whatnot.

    If the package was successfully downloaded to the client, I run the application manually to attempt to see where the installation fails. I usually get an idea as to what may be going on with the process. Look in c:\windows\ccmcache\<package ID>\ for the source files of your application. Your log files should be in c:\windows\ccm\logs\appenf.log

    Tuesday, August 14, 2012 1:28 PM
  • Yep, that did the trick. I removed the start / wait and reran the advertisement successfully. PSE10 showed up about 10 mins later. Thanks for your help everyone.

    Sir_Timbit

    Tuesday, August 14, 2012 6:34 PM
  • I was getting this same error message while trying to deploy Adobe Lightroom.   After reading this thread I went and looked closely at the packages.  I found a type on one of my commands.  msiexec.exe should not be msiexex.exe.

    Still waiting for my test run to complete.

    Thanks to all the posters.

    WD.

    Thursday, June 12, 2014 10:06 PM