Forum Discussion
SCCM is not detecting installed applications
Bigair-Mifi I did and its there. I've also tried %programfiles(x86)% and neither work. I'll check the log file and see if it can provide any insight.
We use the product code for detection: {E57F8E37-C7DB-3CF8-82E4-98423E05EF63} . Check yours that you want to deploy.
This is plain and simple. Maybe you add the printscreen of the detection rule you use so we can help?
Good luck!
- danielkalielJun 15, 2020Copper Contributor
- Michiel OverweelJun 22, 2020Iron Contributor
danielkaliel If you're enabling the "This file or folder is associated with a 32-bit application on 64-bit systems" option for the Detection Rule, then you should use the "%ProgramFiles%" environment variable in the path. Enabling that option will cause the ConfigMgr client to use the actual "%ProgramFiles%" variable on 64-bit systems, and the "%ProgramFiles(x86)%" variable on 32-bit systems.
It doesn't matter if the application is deployed as Available or Required. In both cases, the Detection Method is used to determine if the application is installed or not. If the application is not detected after the installation command line is completed successfully (based on the return code), that will result in an error along the lines of "Application not detected after enforcement". This is an indication that the Detection Method is incorrect.
- Bigair-MifiJun 16, 2020Copper Contributor
I was expecting the section of the AppDiscovery.log. Please provide a link or past it in the message. Have you try the MSI product code like in my example?
- danielkalielJun 16, 2020Copper Contributor
Bigair-Mifi Well.. i feel dumb. But I'll ask this question, does SCCM only check the detected if installed rule if the Application Deployment is set to "Required"? I realized in looking at the AppDiscovery log, as my screenshot shows, that it could not find Chrome within it. So my thought then was, maybe it's not checking for it because it is not required. I changed the deployment to required and ran the steps again and it is now discovered as installed.
- Bigair-MifiJun 15, 2020Copper Contributor
BTW, Your AppDiscovery.log file will tell you something like :
Performing detection of app deployment type Chrome_new(ScopeId_D75955BF-1EDF-4334-875E-7D398518EB42/DeploymentType_7ff83dad-ac6b-404d-b100-d3bfac8f8e8c, revision 7) for system. AppDiscovery 2020-06-15 14:38:47 19452 (0x4BFC)
+++ Discovered application [AppDT Id: ScopeId_D75955BF-1EDF-4334-875E-7D398518EB42/DeploymentType_7ff83dad-ac6b-404d-b100-d3bfac8f8e8c, Revision: 7] AppDiscovery 2020-06-15 14:38:47 19452 (0x4BFC)