description = "My Application version 1.0" sw_source = "my application archive" sw_category = "SiteApps"

archive_type = gzip tar

archive_path = "myapps64-1.0.tar.gz"

impacts = "/opt"

160154Kb

impacts

=

"/tmp"

500Kb

impacts

=

"/var"

450334Kb

exrequisite="MyApp,v=1.0,32bit"

post_load_cmd="/opt/myapp/bin/initialize"

}

You must ensure that only one version of the application is installed and that the user cannot change it. For example, allowing a user to install the 64-bit version with 32-bit HP-UX. The following example automatically selects the version based upon the HP-UX Base OS bundle has been selected.

sw_sel "MyApp,v=1.0,32bit" {

description = "My Application version 1.0" sw_source = "my application archive" sw_category = "SiteApps"

archive_type = gzip tar

archive_path = "myapps32-1.0.tar.gz"

impacts = "/opt"

165154Kb

impacts

=

"/tmp"

500Kb

impacts

=

"/var"

450334Kb

exrequisite="MyApp,v=1.0,64bit"

post_load_cmd="/opt/myapp/bin/initialize"

}

The software selection of MyApp was not created using init so the user cannot change the selection. It cannot be deselected nor can the version be changed.

(sw_sel "HPUXBase64") {

sw_sel "MyApp,v=1.0,64bit"=TRUE

}

(sw_sel "HPUXBase32") {

sw_sel "MyApp,v=1.0,32bit"=TRUE

}

The new software selection you created, MyApp, appears on the Software tab of the Ignite-UX GUI:

181