PMPC Scripts
Applies to: Patch My PC Cloud
For certain applications in the Patch My PC (PMPC) App Catalog, we include scripts to enhance the installation and configuration of the app, based on our experience. By default, if an app includes one of our recommended scripts, these are automatically executed at the time the app is installed.
However, this default behavior can cause issues for some customers who are not aware of the scripts and their contents.
To give you better visibility and to allow you to customize the deployment process, for those apps that include our recommended scripts, you will now see the Customer Scripts | PMPC Scripts toggle on the Scripts tool page of the Configurations tab of the PMPC Cloud Deployment Wizard.

Contrast this to an app that does not include any recommended scripts.

Viewing PMPC Scripts
To view the PMPC scripts, click the PMPC Scripts toggle.

Any recommended scripts included with the app are shown.

Once you have clicked PMPC Scripts, you can:
Hover over the script’s name to see its location.
Click the script, which will open it in a new browser tab so you can see its contents.
Click Edit to open the script in the relevant script editor window.

Disable a PMPC Script
If you do not want to use our recommended scripts in your deployments, you can disable them (although we’d recommend you do not do this unless you have a genuine reason for doing so).
To disable a PMPC script:
Either deploy or edit an existing deployment for the relevant app.
Navigate to the Configurations tab.

Click the Scripts tool if it is not already selected.

Click PMPC Scripts

Click Edit beside the relevant script.

If the app includes a recommended Post-Install script, go to Step 9.
If the app includes a recommended Pre-Install script, you have the option of checking either or both of the following checkboxes:
Don’t attempt software update if the pre script returns an exit code other than 0 or 3010
Disable the Patch My PC Recommended Pre-Install scripts for this product

Goto Step 10.
If the app includes a recommended Post-Install script, check the Disable the Patch My PC Recommended Post-Install scripts for this product checkbox.

Click Save
The Configurations tab is displayed.
If either a Pre or Post-Install script has been disabled, a red circle is shown beside the script to indicate this and that it will not be included as part of the deployment.

Enable a PMPC Script
If you have previously disabled a PMPC Script, you can re-enable it by editing the deployment and following the Disable a PMPC Script section, but uncheck the Disable the Patch My PC Recommended <script_type> for this product checkbox.
When you click Save to save the deployment, a new deployment will be created that includes the script.
How new versions are handled
If you create a deployment for an app and disable the PMPC Scripts, when your Sync Schedule runs and creates a new deployment for the new version, we check the existing deployment, and if you have disabled any scripts, we will also disable them for the new deployment of the new version.
Last updated
Was this helpful?