Scripts
Last updated
Last updated
© Patch My PC 2024
Applies to: Patch My PC Cloud
The Scripts tab allows you to configure settings for install and uninstall scripts.
To add a script:
Click the Scripts tab to expose the configurable settings.
Configure the required settings in the relevant sections as detailed below.
Scripts that be run as part of the installation process, either before or after the installer.
Note
Scripts will be run in the same context as the application.
Each install script is limited to 1 MB per script, with a total size limit of 4 MB for all scripts.
There is a limit of 50,000 characters per script.
Pre Install
A script that can be run before the installer. You can either create your own script by typing it directly into the editor or click Import to import an existing script.
Supported file types are:
o .BAT
o .CMD
o .PS1
o .VBS
Post Install
A script that can be run after the installer. You can either create your own script by typing it directly into the editor or click Import to import an existing script.
Supported file types are the same as pre-install scripts.
Scripts that be run as part of the uninstall process, either before or after the uninstaller.
Note
Scripts will be run in the same context as the application.
Each install script is limited to 1 MB per script, with a total size limit of 4 MB for all scripts.
There is a limit of 50,000 characters per script.
Pre Uninstall
A script that can be run before the uninstaller. You can either create your own script by typing it directly into the editor or click Import to import an existing script.
Supported file types are:
o .BAT
o .CMD
o .PS1
o .VBS
Post Uninstall
A script that can be run after the uninstaller. You can either create your own script by typing it directly into the editor or click Import to import an existing script.
Supported file types are the same as pre-install scripts.
Click Add beside the relevant script option to add a script.
Configure any other settings on the Configurations page as required, then click Next to move to the Assignments page.