Novell ZENWORKS PATCH MANAGEMENT 6.4 SP2 User Manual page 84

Hide thumbs Also See for ZENWORKS PATCH MANAGEMENT 6.4 SP2:
Table of Contents

Advertisement

U
V
SING
ULNERABILITIES AND
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
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
4.
Type or copy the script to be added in the Script field.
5.
Click Run.
S
6.
Click OK.
S
7.
If needed, select Script Execution Directory if a different directory location is required.
S
8.
Type the backup directory path, or click Browse.
S
9.
Click Next to continue with the Package Editor.
P
ACKAGES
Unless the Execution Directory option is selected and a valid directory is defined, all
R
:
The Script Editor window opens.
TEP
ESULT
R
:
The script is checked and the Errors box displays Success when the script
TEP
ESULT
is validated.
R
:
The Script Editor window closes and returns to the Package Editor
TEP
ESULT
wizard.
R
:
The Script Execution Directory field becomes active.
TEP
ESULT
R
:
The location displays in the Script Execution Directory field.
TEP
ESULT
- 68 -

Advertisement

Table of Contents
loading

Table of Contents