U
SING
V
ULNERABILITIES
AND
P
ACKAGES
- 68 -
The following scripts are listed by the order in which they execute within the package:
1)
Pre-Script
- Used to test for a machine condition or shutdown a service. For example you
can stop the package rollout in the pre-script by using the
SetReturnCode
in the
PLCCAgent script object.
2)
Command Line Script
- Used to launch executables. The format is the same as a
standard
.cmd
or
.bat
file.
3)
Post-Script
- Used for any clean-up operations such as the deletion of files, starting
services, or running an installed file.
A software package can have a maximum of one of each type of script. When all three
scripts are present, they will be executed in the order listed above.
NOTE
:
Unless the
Execution Directory
option is selected and a valid directory is defined, all
scripts run in the ROOT directory.
1.
Select the type of script to execute from the
Type of Script
drop-down list.
2.
Select the scripting type from the
Script Language
drop-down list.
3.
Click
Edit
.
S
TEP
R
ESULT
:
The
Script Editor
window opens.
4.
Type or copy the script to be added in the
Script
field.
5.
Click
Run
.
S
TEP
R
ESULT
:
The script is checked and the
Errors
box displays
Success
when the script
is validated.
6.
Click
OK
.
S
TEP
R
ESULT
:
The
Script Editor
window closes and returns to the
Package Editor
wizard.
7.
If needed, select
Script Execution Directory
if a different directory location is required.
S
TEP
R
ESULT
:
The
Script Execution Directory
field becomes active.
8.
Type the backup directory path, or click
Browse
.
S
TEP
R
ESULT
:
The location displays in the
Script Execution Directory
field.
9.
Click
Next
to continue with the
Package Editor
.
Summary of Contents for ZENWORKS PATCH MANAGEMENT 6.4 SP2 - SERVER
Page 1: ...User Guide ZENworks Patch Management 6 4 SP2 ...
Page 44: ...USING ZENWORKS PATCH MANAGEMENT 28 ...
Page 138: ...WORKING WITH DEPLOYMENTS 122 ...
Page 212: ...USING GROUPS 196 ...
Page 236: ...REPORTING 220 ...
Page 308: ...CONFIGURING DEFAULT BEHAVIOR 292 ...
Page 332: ...USING THE AGENT 316 The Agent Control Panel opens Figure 10 19 Agent Control Panel ...