HP Software Package Builder (SPB) manual Tip

Page 18

Software Packaging

Software Packaging Overview

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.

6.Install the software package - Use the SD-UX swinstall command to install the contents of your software package.

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.

TIP

For detailed information on SD-UX commands, refer to the manpage for

 

individual commands or the Software Distributor Administration Guide

 

which can be found at:

 

http://www.software.hp.com/products/SD_AT_HP/

 

 

18

Chapter 2

Image 18
Contents Edition Manufacturing Part Number DecemberCopyright Notice WarrantyGovernment License Trademark NoticesPublication History Typographic Conventions Contents Glossary Index Introduction to Software Features Features BenefitsSoftware Package Builder Overview Software Package Builder and HP-UX Software DistributorSoftware Package Builder Overview To access Java configuration information System RequirementsOptimizing Java Installation Overview InstallationTo download SPB from the Web Starting Software Package Builder Specifying Packaging Policy Rules FilePage Software Packaging Software Packaging Overview Software Packaging Lifecycle Software packaging lifecycle is displayed in FigureSoftware Packaging Lifecycle TIP Software Package Structure Organizing FilesystemsSoftware Elements Software Package Structure Software Package Hierarchy Software Package HierarchyStructural Elements Functions and Relationships Structural Function Relationship ElementSoftware Package Structure Product Specification File AttributesRecommended Attribute Values Required Attribute ValuesSoftware Element Required Attribute Software Element Recommended AttributePackaging Policies Page Software Package Builder Introduction Screen Regions Package StructureAttribute Table Messages Tab Policy Help TabPSF View Menus Tool BarAdditional Information Page Getting Started with Software To create a PSF Getting Started Using the SPB GUICreating a New PSF To create a product and add filesetsTo create a destination filesystem Managing Fileset ContentStep From the Structure menu, select Add Elements Files Step Click Add DirectoryValidating a PSF To set file or directory permissionsSetting Attributes To filter the attribute displayTo set attributes You enter new data into the PSF, SPB re-validates the file Validating from the CLI Using the SPB Command Line InterfaceEditing from the CLI ExampleIncorporating SPB into Automated Processes Return ValuesAdditional Information Advanced Features Managing Fileset Content Manage Fileset Content Dialog Box File Mapping Using Advanced FeaturesRegions OptionsSetting File Mapping OptionsTo set the recursive option To set the file * or include option Add Mode field of the Directory Attributes and File AttributesFile Mode Access PermissionsTo apply a mode to all files Step Select Apply to AllAttributes table To change the default representation of the Mode field Step Select the Advanced Options buttonPermissions Selections Managing Fileset Content Creating and Using a Subproduct To create a subproductSubproduct Creating and Using a Bundle To create a bundleCreating and Using a Vendor or Category To add a vendor or categoryAttribute Table To edit a vendor defined attribute Creating and Using Vendor Defined AttributesTo create a vendor defined attribute AttributesOverview of Software Specification Attributes Software Specification AttributesDependency Attributes Software SpecificationsResolving SPBSoftware Specification Status Working with Dependency AttributesSPB will not To add a dependency attribute using the and relationship Click Add Set To add a dependency attribute using the or relationshipSelect Structure Add Elements Corequisites Click AddTo add remote content as a dependency attribute Click Add ContentStep Select Structure Add Elements Corequisites 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