Working applications fail in task sequence

Franz Schenk 336 Reputation points
2023-03-09T14:51:51.58+00:00

Have two applications that can be installed without error from the SW Center on an existing client. But when these two applications are installed from a task sequence, they fail. About 10 other applications are installed from the same TS without any errors. Have only one network, one boundary and one DP. The following lines are in smsts,log:

Unable to load profiler: 0x80004005

appState: DownloadFailed (several times)

Get app evaluation state returned 'Application download failed ', retrying ... (several times)

Execution status received: 24 (Application download failed )

Install application action failed: 'Adobe Creative Cloud - Excl 06.22 Light'. Error Code 0x80004005

Failed to run the action: Install Adobe Creative Cloud 06.22 Light. Error -2147467259

The Microsoft documentation https://learn.microsoft.com/en-us/troubleshoot/mem/configmgr/os-deployment/troubleshoot-install-application-step is once again really up to date and helpful, there are links pointing to nine years old SCCM 2012 R2 Hotfixes in the description of these problems.

Thank you in advance for any help!

Franz

Microsoft Configuration Manager
{count} votes

5 answers

Sort by: Most helpful
  1. CherryZhang-MSFT 6,481 Reputation points
    2023-03-10T02:31:12.4533333+00:00

    Hi @Franz Schenk

    Please try to re-distribute these apps to your DP to see if it works. Besides, please help upload the following logs for our reference:

    CAS.log, ContentTransfer.log, DataTransferService.log, smsts.log.

    Looking forward to your feedback.

    Best regards,
    Cherry

    0 comments No comments

  2. Franz Schenk 336 Reputation points
    2023-03-10T13:57:02.69+00:00

    Hi @CherryZhang-MSFT , have updated the content of the affected applications. That didn't help.

    The logfiles are attached (have only contenttrasfermanager.log, contenttransfer.log does not exist)Logs.zip.log.

    From what I can see in CAS.LOG, there is a problem with the Cache size, which can't be. Have configured the cache size in all client settings to 40GB and 40% of disk capacity.

    cache

    Thank you already, and thank you for your further support!
    Franz


  3. Franz Schenk 336 Reputation points
    2023-03-14T10:02:11.9033333+00:00

    Hi Cherry

    • Like I wrote in my initial post, the two applications do not install from the TS, but can be installed without any error from the SW Center after the TS is finished.
    • Integrating the apps in the image is not an option for us. We have to distribute the original Windows image and then install the applications. We do not have the administrative ressources for maintaining customized images.
    • The install command: setup.exe /configure configuration-BBC.xml

    I attach two versions of appenforce.log: One just after the TS has finished. From what I can see, there are no references to the applications that have failed to install. The other version is after one of the apllications, Visio 2016 has been installed successfully from the SW center.

    And below is one error message of the failed application from the task sequence monitor.

    ... 3e6c81a2554'=''
    Completed installation job.
    Step 2 out of 2 complete
    Sending error status message
       Setting URL = http://siteserver.domain.com, Ports = 80,443, CRL = false
       Setting Server Certificates.
       Setting Authenticator.
       Setting MediaCertificate.
    Sending StatusMessage
    App install failed.
    Install application action failed: 'Visio 365 BBC Test'. Error Code 0x80004005
    Setting the authenticator.
    CLibSMSMessageWinHttpTransport::Send: WinHttpOpenRequest - URL: siteserver.domain.com:80  CCM_POST /ccm_system/request
    Not in SSL.
    Request was successful.
    hrInstallation, HRESULT=80004005 (K:\dbs\sh\cmgm\0212_171523\cmd\7\src\client\OsDeployment\InstallApplication\installapplication.cpp,1086)
    pInstall->InstallApplications(saAppNames, sContinueOnError), HRESULT=80004005 (K:\dbs\sh\cmgm\0212_171523\cmd\7\src\client\OsDeployment\InstallApplication\main.cpp,361)
    Install application action cannot continue. ContinueOnErrorFlag is set to false.
    Install Static Applications failed, hr=0x80004005
    

    AppEnforce-after-ts.logAppEnforce-after-instt-from-sw-center.log


  4. Franz Schenk 336 Reputation points
    2023-03-20T14:55:55.7433333+00:00

    Hi @CherryZhang-MSFT One of the application is Visio 365, which is created right inside the Configuration Manager Console. Converting this application to a package is not a good solution for production.

    Our workaround at the moment is to assign these two applications to the OS deployment collection. They get installed automatically and without any problems after 24h (or earlier).

    0 comments No comments

  5. CherryZhang-MSFT 6,481 Reputation points
    2023-03-22T05:55:25.5666667+00:00

    Hi @Franz Schenk,

    Thanks for your feedback. We're glad that the question is fixed now. It's appreciated that you could click "Accept Answer" to the helpful reply, this will help other users to search for useful information more quickly. Here's a short summary for the problem.

    Problem/Symptom:
    Some applications (Visio 365, Adobe Creative Cloud) install fail in the task sequence.

    Solution/Workaround:
    Assign these applications to the OS deployment collection. They get installed automatically and without any problems after 24h (or earlier).

    Thanks again for your time! Have a nice day!

    Best regards,
    Cherry