Forum Discussion
SCCM is not detecting installed applications
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.