Patch for SCCM
Creating a New Update Template
You can create one or more Update Templates. To create a new template:
1.Click the Template Library toolbar icon.
The Template Library dialog is displayed.
2.Click Add Template.
3.Use the tabs to define the template.
Template Details Tab
Use this tab to specify the name and description that will be displayed in the Template Library dialog.
•Name: The name you want to assign this template. A template name is required. It is recommended that you provide a unique name for each template to avoid confusion when administrating the template.
•Description: Provide a detailed description that explains the purpose of the template.
Pre-Install Script and Post-Install Script Tabs
You can define custom batch commands that will be executed before or after the updates in the supersedence chain are installed. The process is the same for both tabs.
You must define a script on at least one of these two tabs.
You can define the batch file commands by typing them in the space provided, or you can copy and paste commands to and from your computer’s clipboard. The following environment variables are available for use in the commands:
•%PATHTOFIXES%: Contains the full path to the current folder, with a trailing backslash.
•%LSFN%:The Language-Specific File Name variable provides a reference to the update file name and extension; the full path to the file is not included.
Custom Files Tab
The Custom Files tab is used to specify the location of any files required by your custom installation scripts. Files specified here will be added to the published package and will be written to the working directory of the target machines when the patch is installed.
To add a required file, click Browse and locate the file. Each file you specify must be located in the same folder or share that is accessible to the account that is used to publish the update. The file path must be in UNC format.
Was this article useful?
Copyright © 2019, Ivanti. All rights reserved.