Application Status is Failed immediatly

Boopathi S 3,476 Reputation points
2021-08-30T18:27:13.273+00:00

Hi,

  1. Application is set as Available
  2. If the application is choose to Install then it fails immediately
  3. Application is installed and able to see the Detection Method defined is exist in the Registry
  4. If choose retry then status changed to Success

127620-1.jpg

127702-2.jpg
127703-3.jpg
127693-4.jpg

Please let me know why it says Failed for the first time and how do i check it.

Microsoft Configuration Manager Application
Microsoft Configuration Manager Application
Microsoft Configuration Manager: An integrated solution for for managing large groups of personal computers and servers.Application: A computer program designed to carry out a specific task other than one relating to the operation of the computer itself, typically to be used by end users.
498 questions
0 comments No comments
{count} votes

4 answers

Sort by: Most helpful
  1. AllenLiu-MSFT 46,291 Reputation points Microsoft Vendor
    2021-08-31T02:42:03.157+00:00

    Hi, @Boopathi S
    Thank you for posting in Microsoft Q&A forum.

    Please try to checking "Run installation and uninstall program as 32-bit process on 64-bit clients" to see if it can fix the issue.
    127763-1.jpg

    Here is a similar post for your reference:
    https://social.technet.microsoft.com/Forums/en-US/0634d877-08ee-4505-bc70-92f1be6fbbbc/deployment-always-fails-on-first-time-but-succeeds-on-retry?forum=configmanagerapps


    If the response is helpful, please click "Accept Answer" and upvote it.
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments

  2. Jason Sandys 31,311 Reputation points Microsoft Employee
    2021-08-31T14:42:15.843+00:00

    The most likely problem here is that the installation EXE is just a bootstrapper that exits before the installation is done. See https://home.memftw.com/command-synchronicity/

    0 comments No comments

  3. Boopathi S 3,476 Reputation points
    2021-09-02T19:27:25.413+00:00

    Hello All,
    thanks every one.

    Application is selected to install from "Application Catalog". It fails it chosen to RETRY then it succeeded.

    128808-1.jpg

    128845-2.jpg

    128738-3.jpg

    128832-4.jpg

    <![LOG[Entering ExecQueryAsync for query "select * from CCM_AppDeliveryType where (AppDeliveryTypeId = "ScopeId_DB382BB1-B9C8-45BF-B98F-3D683B6D9D3F/DeploymentType_d7c3f490-f322-4bf8-bc6b-cb91fa9a01c4" AND Revision = 9)"]LOG]!><time="12:07:15.597+300" date="09-02-2021" component="AppDiscovery" context="" type="1" thread="8184" file="appprovider.cpp:564">
    <![LOG[ Performing detection of app deployment type Dell Power Manager install(ScopeId_DB382BB1-B9C8-45BF-B98F-3D683B6D9D3F/DeploymentType_d7c3f490-f322-4bf8-bc6b-cb91fa9a01c4, revision 9) for user.]LOG]!><time="12:07:15.611+300" date="09-02-2021" component="AppDiscovery" context="" type="1" thread="8184" file="appprovider.cpp:2539">
    <![LOG[+++ Discovered application [AppDT Id: ScopeId_DB382BB1-B9C8-45BF-B98F-3D683B6D9D3F/DeploymentType_d7c3f490-f322-4bf8-bc6b-cb91fa9a01c4, Revision: 9]]LOG]!><time="12:07:15.624+300" date="09-02-2021" component="AppDiscovery" context="" type="1" thread="8184" file="localapphandler.cpp:287">
    <![LOG[+++ Detected app deployment type Dell Power Manager install(ScopeId_DB382BB1-B9C8-45BF-B98F-3D683B6D9D3F/DeploymentType_d7c3f490-f322-4bf8-bc6b-cb91fa9a01c4, revision 9) for S-1-5-21-2814231805-385068295-3557584887-131389.]LOG]!><time="12:07:15.629+300" date="09-02-2021" component="AppDiscovery" context="" type="1" thread="8184" file="appprovider.cpp:682">
    +++ Starting Install enforcement for App DT "Dell Power Manager install" ApplicationDeliveryType - ScopeId_DB382BB1-B9C8-45BF-B98F-3D683B6D9D3F/DeploymentType_d7c3f490-f322-4bf8-bc6b-cb91fa9a01c4, Revision - 9, ContentPath - C:\WINDOWS\ccmcache\15, Execution Context - System AppEnforce
    Performing detection of app deployment type Dell Power Manager install(ScopeId_DB382BB1-B9C8-45BF-B98F-3D683B6D9D3F/DeploymentType_d7c3f490-f322-4bf8-bc6b-cb91fa9a01c4, revision 9) for user. AppEnforce
    +++ Application not discovered. [AppDT Id: ScopeId_DB382BB1-B9C8-45BF-B98F-3D683B6D9D3F/DeploymentType_d7c3f490-f322-4bf8-bc6b-cb91fa9a01c4, Revision: 9] AppEnforce
    App enforcement environment:
    Prepared working directory: C:\WINDOWS\ccmcache\15 AppEnforce
    Prepared command line: "C:\WINDOWS\ccmcache\15\DPM_Setup64_3_6_0.exe" /S /v/qn AppEnforce
    Post install behavior is BasedOnExitCode AppEnforce
    Waiting for process 12388 to finish. Timeout = 120 minutes. AppEnforce
    Process 12388 terminated with exitcode: 0 AppEnforce
    Looking for exit code 0 in exit codes table... AppEnforce
    Matched exit code 0 to a Success entry in exit codes table. AppEnforce
    Performing detection of app deployment type Dell Power Manager install(ScopeId_DB382BB1-B9C8-45BF-B98F-3D683B6D9D3F/DeploymentType_d7c3f490-f322-4bf8-bc6b-cb91fa9a01c4, revision 9) for user. AppEnforce
    +++ Application not discovered. [AppDT Id: ScopeId_DB382BB1-B9C8-45BF-B98F-3D683B6D9D3F/DeploymentType_d7c3f490-f322-4bf8-bc6b-cb91fa9a01c4, Revision: 9] AppEnforce
    ++++++ App enforcement completed (1 seconds) for App DT "Dell Power Manager install" [ScopeId_DB382BB1-B9C8-45BF-B98F-3D683B6D9D3F/DeploymentType_d7c3f490-f322-4bf8-bc6b-cb91fa9a01c4], Revision: 9, User SID: S-1-5-21-2814231805-385068295-3557584887-131389] ++++++ AppEnforce
    ScopeId_DB382BB1-B9C8-45BF-B98F-3D683B6D9D3F/DeploymentType_d7c3f490-f322-4bf8-bc6b-cb91fa9a01c4/9 :- Current State = NotInstalled, Applicability = Applicable, ResolvedState = Available, ConfigureState = NotNeeded, Title = Dell Power Manager install AppIntentEval
    ScopeId_DB382BB1-B9C8-45BF-B98F-3D683B6D9D3F/Application_3233cbca-70de-4a00-a9b0-980477be15cb/9 :- Current State = NotInstalled, Applicability = Applicable, ResolvedState = Available, ConfigureState = NotNeeded, Title = Dell Power Manager AppIntentEval
    ScopeId_DB382BB1-B9C8-45BF-B98F-3D683B6D9D3F/RequiredApplication_3233cbca-70de-4a00-a9b0-980477be15cb/9 :- Current State = NonCompliant, Applicability = Applicable, ResolvedState = Compliant, ConfigureState = NotNeeded, Title = ApplicationIntentPolicy AppIntentEval
    No dependencies for DeploymentType ScopeId_DB382BB1-B9C8-45BF-B98F-3D683B6D9D3F/DeploymentType_d7c3f490-f322-4bf8-bc6b-cb91fa9a01c4/9. AppIntentEval
    * Evaluating Application policies for S-1-5-21-2814231805-385068295-3557584887-131389 AppIntentEval
    ScopeId_DB382BB1-B9C8-45BF-B98F-3D683B6D9D3F/DeploymentType_d7c3f490-f322-4bf8-bc6b-cb91fa9a01c4/9 :- Current State = Installed, Applicability = Applicable, ResolvedState = Available, ConfigureState = NotNeeded, Title = Dell Power Manager install AppIntentEval
    ScopeId_DB382BB1-B9C8-45BF-B98F-3D683B6D9D3F/Application_3233cbca-70de-4a00-a9b0-980477be15cb/9 :- Current State = Installed, Applicability = Applicable, ResolvedState = Available, ConfigureState = NotNeeded, Title = Dell Power Manager AppIntentEval
    ScopeId_DB382BB1-B9C8-45BF-B98F-3D683B6D9D3F/RequiredApplication_3233cbca-70de-4a00-a9b0-980477be15cb/9 :- Current State = Compliant, Applicability = Applicable, ResolvedState = Compliant, ConfigureState = NotNeeded, Title = ApplicationIntentPolicy AppIntentEval

    Will this issue resolved if the exe is converted as MSI? Please let me know.


  4. Boopathi S 3,476 Reputation points
    2021-09-09T19:34:48.707+00:00

    Hello All,

    I converted the exe as msi. Then created applicaition. It works fine,

    Thanks Everyone


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.