HP Software Package Builder (SPB) manual Structural Elements Functions and Relationships

Page 23

Software Packaging

Software Package Structure

The difference between a containment relationship and a reference relationship can be illustrated by the notion that a bundle can be removed without actually removing the software elements that it references. However, removing a product always removes the filesets it contains, and the files contained in the filesets.

Table 2-1 provides a summary of a software package's structural elements, their functions, and their relationship to other elements. The structural elements are numbered to correspond with Figure 2-2 on page 22:

Table 2-1

Structural Elements: Functions and Relationships

 

 

 

 

 

Structural

Function

Relationship

 

Element

 

 

 

 

 

 

 

 

Installed

A delivered and

The installed software is a

 

Software (1)

installed software

valid and complete

 

 

package.

software package.

 

 

 

 

 

Product (2)

A collection of related

A product is a container

 

 

filesets and optionally,

for filesets, subproducts,

 

 

subproducts and

and optionally, control

 

 

control scripts.

scripts.

 

 

 

 

 

Bundle (3)

A collection of related

A bundle is a reference

 

 

filesets, subproducts,

for groups of filesets,

 

 

and/or products.

subproducts, or products.

 

 

 

 

 

Fileset (4)

A grouping of related

A fileset is a container

 

 

files and control

for files and control

 

 

scripts.

scripts.

 

 

 

Filesets are contained in

 

 

 

products.

 

 

 

 

 

Subproduct (5)

A grouping of related

A subproduct is a

 

 

filesets.

reference for groups of

 

 

 

related filesets within a

 

 

 

single product.

 

 

 

 

 

Control File (6)

A control file performs

Control files (scripts) are

 

 

checks and other tasks

contained in one or more

 

 

in the software

filesets and/or products.

 

 

package.

 

 

 

 

 

Chapter 2

23

Image 23
Contents Manufacturing Part Number December EditionTrademark Notices WarrantyGovernment License Copyright NoticePublication History Typographic Conventions Contents Glossary Index Introduction to Software Software Package Builder Overview FeaturesFeatures Benefits Distributor Software Package Builder and HP-UX SoftwareSoftware Package Builder Overview Optimizing Java To access Java configuration informationSystem Requirements To download SPB from the Web Installation OverviewInstallation Specifying Packaging Policy Rules File Starting Software Package BuilderPage Software Packaging Software Packaging Overview Software Packaging Lifecycle Software Packaging LifecycleSoftware packaging lifecycle is displayed in Figure TIP Organizing Filesystems Software Package StructureSoftware Elements Software Package Structure Software Package Hierarchy Software Package HierarchyStructural Function Relationship Element Structural Elements Functions and RelationshipsSoftware Package Structure Attributes Product Specification FileSoftware Element Recommended Attribute Required Attribute ValuesSoftware Element Required Attribute Recommended Attribute ValuesPackaging Policies Page Software Package Builder Introduction Attribute Table Screen RegionsPackage Structure PSF View Messages TabPolicy Help Tab Additional Information MenusTool Bar Page Getting Started with Software To create a product and add filesets Getting Started Using the SPB GUICreating a New PSF To create a PSFStep Click Add Directory Managing Fileset ContentStep From the Structure menu, select Add Elements Files To create a destination filesystemTo set file or directory permissions Validating a PSFTo set attributes Setting AttributesTo filter the attribute display You enter new data into the PSF, SPB re-validates the file Example Using the SPB Command Line InterfaceEditing from the CLI Validating from the CLIReturn Values Incorporating SPB into Automated ProcessesAdditional Information Advanced Features Managing Fileset Content Manage Fileset Content Dialog Box Options Using Advanced FeaturesRegions File MappingTo set the recursive option Setting FileMapping Options To set the file * or include option Permissions Mode field of the Directory Attributes and File AttributesFile Mode Access AddAttributes table To apply a mode to all filesStep Select Apply to All Permissions Selections To change the default representation of the Mode fieldStep Select the Advanced Options button Managing Fileset Content Subproduct Creating and Using a SubproductTo create a subproduct To create a bundle Creating and Using a BundleAttribute Table Creating and Using a Vendor or CategoryTo add a vendor or category Attributes Creating and Using Vendor Defined AttributesTo create a vendor defined attribute To edit a vendor defined attributeDependency Attributes Overview of Software Specification AttributesSoftware Specification Attributes SPB SpecificationsResolving SoftwareSPB will not Software Specification StatusWorking with Dependency Attributes To add a dependency attribute using the and relationship Click Add To add a dependency attribute using the or relationshipSelect Structure Add Elements Corequisites Click Add SetStep Select Structure Add Elements Corequisites To add remote content as a dependency attributeClick Add Content Using Control Scripts Using Control Scripts Additional Information Page Glossary GlossaryMultiple architecture Optional attribute Tag Unconfigure script Unconfigure script Glossary Index Software elements, 20 bundle, 21 category Index