Software Package Builder 5.0 User's Guide

Software Packaging Lifecycle
The software packaging lifecycle is displayed in the figure below.
Figure 2-1 Software Packaging Lifecycle
1. Identify the software package contents - Determine what files and directories you want to
include in your software package. Your software package can consist of products, filesets,
files, and other, optional software elements as discussed in “Software Elements” (page 17).
2. Identify the software package structure - Design the software package structure and plan
the organization of the source and destination filesystems.
3. Create a Product Specification File (PSF) - Use SPB to create a PSF to define the software
package. SPB provides a GUI for creating the PSF.
4. Validate the PSF - Determine that the PSF is valid prior to creating the software package.
SPB uses a packaging policy rules file to validate the PSF.
5. Create the software package - Use the SD-UX swpackage command to create your software
package. This can be done from the SPB GUI or the command line.
6. Install the software package - Use the SD-UX swinstall command to install the contents
of your software package.
NOTE: Before installing the package, you can validate and preview installation errors. For
more information about validating and previewing installation errors, see Validating a Depot
for Installation Errors
7. Produce distribution media - Determine the appropriate method of distribution.You can
use the SD-UX swcopy command to create copies of the package.
8. Test the installation - Test the installation of the software package using the SD-UX
swverify command.
16 Software Packaging