Custom Script Detection Methods

The final detection method to discuss is a custom script. The possibilities are endless when using a custom script. Most of your applications need standard detection methods (Windows Installer product code, file, or registry), but eventually you will encounter an application requiring a more complex way to determine installation state.

You write a custom script that ConfigMgr can use to determine if the software is installed. Be sure to return text from the script to confirm that the software is installed. If no text is returned, ConfigMgr understands that to be “not installed.” The next two sections provide sample scripts for leveraging a custom script detection method.

Custom Detection Method Script with PowerShell ...

Get System Center 2012 Configuration Manager Unleashed now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.