RPM Install Test Condition Properties

InstallShield 11 Universal

Available in InstallShield Universal Premier Only

After an RPM Install Test condition has been added to a software object, set its properties as described below.

Notes

Properties that are common to all conditions are described in Common Condition Properties. The properties described below are specific to this condition type.

Property Description
Sequence This property represents the sequence during which this condition should execute, which determines what type of test should be performed. Its default value represents where in the Sequences view the RPM Install Test dialog, which automatically contains this condition, is located. If this condition passes, which means that either the package already exists on the target machine and the Fail Install On Already Installed property is set to "True," or RPM's test installation fails, the Next button on the RPM Install Test dialog is disabled.

  • "Install"—A test RPM installation or upgrade is performed. The test will fail for any of the reasons described above. First, a comparison is made of the RPM package names, which consist of their Name and Version properties. If that query fails, a second comparison is made of just the Name property. If that comparison returns true, then the installation is presumed to be an upgrade to the package.
  • "Uninstall"—A test uninstallation is performed. If any dependencies on the package exist or the -rpm -e --test <package name> fails, the uninstallation fails.
Fail Install On Already Installed By default, this property is set to "True" when this condition is located in the Product Sequences/ Installation/Preinstall group to prevent the installation of duplicate packages. When this condition is located in the Assembly Sequences/Assembly Post-Selection group, however, it is set to "False" because this package could be pre-existing on the machine.
  • "True"—The installation stops, and the Next button on the RPM Install Test dialog becomes disabled.
  • "False"—If this is an RPM assembly and it already exists on the machine (was installed by some means other than Universal), a warning is received in the Post-Install Summary dialog, uninstallation data is created for the assembly, it is logged in the VPD, and the installation continues. If this a product (was built with a non-assembly build configuration) and is set to be installed to a location that is different from the same product that exists on the machine, then the duplicate product is installed, two instances of the product are logged in the VPD, but only one instance of the product is registered in RPM.
Note

If this RPM Installer will be built as an RPM assembly and included in a Universal Dynamic Suite, this property should be set to "True."