Previous Topic: Add and Change Internal ProceduresNext Topic: Installation Dialog Editor Usage


Add and Change Package Parameters

Package parameters configure the package installation. They exchange information between scripts and the installation process.

To add a package parameter

  1. Select the package in the project pane.
  2. Select a parameter set on the Parameter tab in the subproject pane.
  3. Right-click in the parameter list in the work pane and select Add from the context menu.

    The Add/change parameter dialog appears.

  4. Specify the following properties:
    Parameter

    Indicates the name of the parameter. The parameter name must start with the dollar sign ($) and consists of a maximum of 64 characters, including the dollar sign. The following characters are not allowed within a parameter name:
    .   ;   :   \t   \n   \\   \"   /

    Parameter type

    Indicates the type of the parameter. Select one of the following types from the drop-down list:

    • Standard—The value assigned to the parameter is static, or a combination of static values and texts.
    • Command—The parameter value is dynamically evaluated at product installation time. The value is retrieved from the result of the command (standard output channel).
    Value

    Specifies a value (static or combined) or a command, depending on the parameter type.

    Comment

    Specifies a comment about the parameter. This comment will appear in a response file in the line above the parameter entry.

  5. Click Add.

    The new parameter appears in the parameter list, but is not added to the package (prototype file) until you save the package.

To change a package parameter

  1. Select the package in the project pane.
  2. Select the parameter set on the Parameter tab in the subproject pane.
  3. Select the parameter to modify in the parameter list in the work pane.
  4. Right-click the selected parameter and choose Properties from the context menu.

    The Add/change parameter dialog appears.

  5. Modify the parameter type, value, or comment on the General tab
  6. Modify the parameter access control on the Advanced tab by selecting one of the following buttons:
    Private

    Specifies that the parameter is valid only for the package itself. Private parameters can be modified by package-specific installation scripts only.

    Published

    Specifies that the parameter is valid for the package and all its required packages. In the required packages the access is restricted to read-only. Published parameters can be modified by the main package only.

    Global

    Specifies that the parameter is valid for all package installations. Once set a global parameter cannot be changed again unless all packages using this parameter are removed. A global parameter can be removed only if no other user references it.

  7. Click Change.

    The changes made to the parameters are visible in the parameter list, but they are not saved in the prototype file until you save the package.