Interface InstallShieldUniversalRegistry

  • All Known Subinterfaces:
    InstallShieldUniversal10AndOlderRegistry

    public interface InstallShieldUniversalRegistry

    This class provides access to the Installshield database for product querying to Custom Actions, Panels, and Consoles.

    The InstallShieldUniversalRegistry object is obtained through the InstallerProxy, CustomCodePanelProxy, and CustomCodeConsoleProxy objects by a request for the InstallShieldUniversalRegistry class, as follows:

    Given an instance of CustomCodePanelProxy proxy,

    InstallShieldUniversalRegistry isuReg = (InstallShieldUniversalRegistry)proxy.getService(InstallShieldUniversalRegistry);
    InstallShieldUniversalSoftwareObject[] objs = isuReg.getSoftwareObjects("00000000000000000000000000000002", "1.0.0"); InstallShieldUniversalRegistry isuVer10Reg = (InstallShieldUniversalRegistry)proxy.getService(InstallShieldUniversal10AndOlderRegistry);
    InstallShieldUniversalSoftwareObject[] objs = isuVer10Reg.getSoftwareObjects("00000000000000000000000000000002", "1.0.0");
    • Method Detail

      • setVpdLocation

        void setVpdLocation​(java.lang.String vpd)

        This method sets the VPD location of an InstallShield Universal product

        Parameters:
        vpd - This path can be either relative or absolute. This value can be found in the InstallShield Universl project's VPD Location property.
      • getVpdLocation

        java.lang.String getVpdLocation()

        This method returns the absolute path to the InstallShield Universal VPD location.

        Returns:
        Absolute path to the InstallShield Universal VPD location.
      • getSoftwareObjects

        InstallShieldUniversalSoftwareObject[] getSoftwareObjects​(java.lang.String uuid)

        This method allows the user to search in the InstallShield Universal registry for a list of InstallShield Universal Software Objects that match the query.

        Parameters:
        uuid - The UUID of InstallShield Universal installed software.
        Returns:
        An array of software objects that matched your query.
      • getSoftwareObjects

        InstallShieldUniversalSoftwareObject[] getSoftwareObjects​(java.lang.String uuid,
                                                                  java.lang.String version,
                                                                  int compareType)

        This method allows the user to search in the InstallShield Universal registry for a list of InstallShield Universal Software Objects that match the query.

        Parameters:
        uuid - The UUID of InstallShield Universal installed software.
        version - The version of InstallShield Universal installed software.
        compareType - options are LOWER_THAN, LOWER_THAN_OR_EQUAL_TO, EQUAL_TO, HIGHER_THAN_OR_EQUAL_TO, HIGHER_THAN
        Returns:
        An array of software objects that match your query.
      • getDependedSoftwareObjects

        InstallShieldUniversalSoftwareObject[] getDependedSoftwareObjects​(InstallShieldUniversalSoftwareObject isuSoftwareObject)

        This method queries for a list of software objects that depend upon the given software object.

        Parameters:
        isuSoftwareObject - The InstallShield Universal Software Object.
        Returns:
        An array of software objects that match your query.
      • getSoftwareObjectParents

        InstallShieldUniversalSoftwareObject[] getSoftwareObjectParents​(InstallShieldUniversalSoftwareObject isuSoftwareObject)

        This method allows the user to query for a list of parent software objects that requires the given software object.

        Parameters:
        isuSoftwareObject - The InstallShield Universal Software Object.
        Returns:
        An array software objects that are parents of your software object.
      • getSoftwareObject

        InstallShieldUniversalSoftwareObject getSoftwareObject​(java.lang.String uuid,
                                                               java.lang.String installLocation,
                                                               java.lang.String version,
                                                               int compareType)

        This method allows the user to search in the InstallShield Universal registry for an InstallShield Universal Software Object that match the query.

        Parameters:
        uuid - The UUID of InstallShield Universal installed software.
        installLocation - The location where the software object is installed to.
        version - The version of InstallShield Universal installed software.
        compareType - options are LOWER_THAN, LOWER_THAN_OR_EQUAL_TO, EQUAL_TO, HIGHER_THAN_OR_EQUAL_TO, HIGHER_THAN
        Returns:
        A software objects that matched your query, null if nothing is found.
      • getSoftwareObject

        InstallShieldUniversalSoftwareObject getSoftwareObject​(java.lang.String uuid,
                                                               java.lang.String installLocation)

        This method allows the user to search in the InstallShield Universal registry for an InstallShield Universal Software Object that match the query.

        Parameters:
        uuid - The UUID of InstallShield Universal installed software.
        installLocation - The location where the software object is installed to.
        Returns:
        A software objects that matched your query, null if nothing is found.
      • isVpdAvailable

        boolean isVpdAvailable()

        This method allows the user to query whether a vpd is available

        Returns:
        true if vpd is available and false if it is not.