Symantec 14541094 Implementation Guide - Page 57

Building and testing custom commands, Building custom commands

Page 57 highlights

Configuring custom commands 57 Building and testing custom commands Building and testing custom commands After you define the command-line parameters and optional files for a custom command, you must build it. When the custom command build process is complete, it is crucial that you test the custom command before you include it in an installation package. Symantec Packager stores testable self-extracting executable files in the folder that is specified for the Deploy Packages tab in Symantec Packager Preferences. Building custom commands During the build process, Symantec Packager retrieves information from the custom command .pcg file to determine which files to include in the custom command as well as the command-line parameters, installation options, and custom settings. Symantec Packager then performs basic error checking. If Symantec Packager encounters an error, the build process stops. You must resolve the conflict and repeat the build process. After you complete the validation process, Symantec Packager creates a selfextracting executable (.exe) file and places it in the folder that is specified for the Deploy Packages tab. The command .exe file is supplied for testing purposes and is not supported for deployment. To build custom commands 1 In the Symantec Packager window, on the Configure Products tab, select the custom command that you want to build. 2 On the File menu, click Build. A Build Status window appears, which provides information about the progress of the build and logs any problems that have occurred. If the build is successful, the last line in the Build Status window reads as follows: Command was built successfully. 3 In the Build Status window, click Close. Testing custom commands Custom commands are powerful tools that let you customize a product installation beyond the confines of what a product template allows. However, with custom commands, you are responsible for defining the information that Symantec Packager requires to install and run the custom command. Because of the unlimited possibilities for which you can use a custom command, Symantec Packager does not ensure that you have typed a command correctly and does not perform error checking during the build or installation processes. Therefore, it

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96

57
Configuring custom commands
Building and testing custom commands
Building and testing custom commands
After you define the command-line parameters and optional files for a custom
command, you must build it. When the custom command build process is
complete, it is crucial that you test the custom command before you include it in
an installation package. Symantec Packager stores testable self-extracting
executable files in the folder that is specified for the Deploy Packages tab in
Symantec Packager Preferences.
Building custom commands
During the build process, Symantec Packager retrieves information from the
custom command .pcg file to determine which files to include in the custom
command as well as the command-line parameters, installation options, and
custom settings. Symantec Packager then performs basic error checking. If
Symantec Packager encounters an error, the build process stops. You must
resolve the conflict and repeat the build process.
After you complete the validation process, Symantec Packager creates a self-
extracting executable (.exe) file and places it in the folder that is specified for the
Deploy Packages tab. The command .exe file is supplied for testing purposes and
is not supported for deployment.
To build custom commands
1
In the Symantec Packager window, on the Configure Products tab, select the
custom command that you want to build.
2
On the File menu, click
Build
.
A Build Status window appears, which provides information about the
progress of the build and logs any problems that have occurred. If the build
is successful, the last line in the Build Status window reads as follows:
Command was built successfully.
3
In the Build Status window, click
Close
.
Testing custom commands
Custom commands are powerful tools that let you customize a product
installation beyond the confines of what a product template allows. However,
with custom commands, you are responsible for defining the information that
Symantec Packager requires to install and run the custom command. Because of
the unlimited possibilities for which you can use a custom command, Symantec
Packager does not ensure that you have typed a command correctly and does not
perform error checking during the build or installation processes. Therefore, it