The selection of the 64-bit product is marked as Required because the 64-bit OE has been selected.

If you placed the init before the sw_sel, the Ignite-UX GUI would allow you to change the software selection. The software would then be marked with Yes or No to indicate whether it will be installed. This is not recommended because it allows users to install the 64-bit version with a

32-bit installation; this should be avoided and is illustrated in the following example:

(sw_sel "HPUXBase64") {

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

}

(sw_sel "HPUXBase32") {

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

}

Since the examples presented are installing onto HP-UX B.11.11, you do not have to worry about issues resulting from code compiled for PA-RISC or Itanium-based systems. If this is a consideration as it is with HP-UX B.11.23 and later revisions of HP-UX, you must use the following test to determine the system type. For more information, see instl_adm(4).

is_hppa is_ia64

Boolean values that indicate if a system is PA-RISC or Itanium®-based architecture, respectively.

Additional system hardware tests are explained in the following section.

182