54 Configuring custom commands
Configuring custom commands
6
Click
OK
.
7
In the Command Editor dialog box, do one of the following:
■
Click
OK
to save your changes and close the Command Editor dialog
box.
■
Click
Apply
to save your changes and continue configuring the
command.
8
If prompted, type a file name, and then click
Save
.
Including files in a command
Symantec Packager lets you include additional files, such as batch files, scripts,
or executable files, in a custom command. Examples include updated virus
definitions, software patches, registry keys, self-extracting executable files, or
.msi files. To include an additional file, you must add the file to the custom
command and specify a target location. During package installation, Symantec
Packager copies the file to the specified folder on the target computer.
Symantec Packager lets you copy files in the Program Files folder, the root of the
system drive, or a custom path. If you select the Program Files folder or the root
of the system drive, Symantec Packager automatically completes the full path.
You only have to type the subfolder name to place the files in a subfolder of the
Program Files or root directory. If you select a custom path, you must type the
full path.
To include files in a command
1
In the Symantec Packager window, on the Configure Products tab, do one of
the following:
■
Create a new custom command.
■
Double-click an existing command to edit it.
2
In the Command Editor dialog box, on the Parameters tab, click
Add
.
Ignore return code
for package rollback
Ensures that the return codes that are generated by the
installation or execution of a custom command are ignored by
the package installation process. The return codes that are
generated by custom commands can be interpreted as errors
and can trigger the package rollback functionality.
The Ignore return code for package rollback check box is
selected by default. Unless you are confident that all return
codes should trigger a rollback, keep this check box selected.
Summary of Contents for Packager
Page 1: ...Symantec Packager Implementation Guide ...
Page 6: ...6 Contents ...
Page 18: ...18 Introducing Symantec Packager Where to find more information ...
Page 24: ...24 Installing Symantec Packager Uninstalling Symantec Packager ...
Page 30: ...30 Symantec Packager basics Accessing commands in Symantec Packager ...
Page 34: ...34 Importing products in Symantec Packager Deleting products from Symantec Packager ...
Page 46: ...46 Configuring custom products Building and testing custom products ...
Page 98: ...98 Index ...