Dummy detections

Hi,

  I have a powershell script that I want to distribute as an application (cant do a package as this has to be a dependency for another application). The Deployment type needs a detection method. When a script does not produce a file or registry setting, how do you set a dummy detection method? It cannot be an existing file cause the app wont run as it thinks it is detected. Do I have no choice but to generate a blank file or dummy reg setting from the script?

Thanks

David Z

September 11th, 2015 12:06am

The recommended approach for deploying scripts in ConfigMgr is to use packages.

If as you've stated you need to use an application, then you do need a detection method. Does your script make any system changes? Can't you perform a detection on the change that the script is performing?

Otherwise, you are correct you would need to create something in the script for the detection method to detect.

Free Windows Admin Tool Kit Click here and download it now
September 11th, 2015 12:31am

dummy reg entry it is then....
September 11th, 2015 12:36am

Is there a reason you are stuck on using an application?

If you are having to do something artificial to get a function to work, that would generally indicate you have not chosen the best path to achieving your

Free Windows Admin Tool Kit Click here and download it now
September 11th, 2015 7:49am

Do you know how to make a package a dependency for an application?
September 11th, 2015 6:00pm

If all you are doing is running a script, why not call the installation command-line from your script also? There's no reason for them to be two different applications.
Free Windows Admin Tool Kit Click here and download it now
September 12th, 2015 4:18pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics