Software Distributor Administrator Guide (September 2010)

10.1.1 Prerequisites
Before you begin packaging software, ensure the following:
SD-UX is installed and configured on the system where you intend to create your
software package.
The software to package is installed on the packaging system, or that the necessary
files are available remotely.
10.2 Identifying the Products to Package
10.2.1 Determining Product Contents
The first step in packaging software is to determine what files and directories you want
included in the software product. These files and directories must follow certain
guidelines to support the configuration you want.
Key points in this structure are:
Where are shareable (for example, executables) and non-shareable (for example,
configuration) files installed?
How is configuration used to put non-shareable files in place?
10.2.2 Determining Product Structure
Determine the product structure that your software should follow. SD-UX provides
four levels of software objects:
Level Objects
Filesets (Required) Filesets include the actual product files, information that
describes those files (attributes) and separate control scripts that are
run before, during or after the fileset is installed, copied or removed.
Filesets are the smallest manageable (selectable) software object.
Files must be grouped into one or more filesets. Filesets must be
grouped into one or more products. (Filesets can be members of only
a single product.)
Subproducts (Optional) Subproducts are used to group related filesets within a
product if the product contains several filesets. Subproduct
definitions are optional.
Products (Required) Filesets (and/or subproducts) must be grouped into one
or more products. They are usually grouped into collections that
form a set of related software, or match the products that a customer
purchases. The SD-UX commands maintain a product focus, while
still allowing the flexibility to manage subsets of the products via
subproducts and filesets.
Bundles (Optional) Bundles are provided only by the HP factory. Customer
packaging of bundles is not supported.
222 Creating Software Packages