Creating and Modifying Dynamic Properties for the MSI-Install Component

To Create and Modify Dynamic Properties

  1. Click the Components tab .
  2. Click the MSI-Component component. The Dynamic Properties view is automatically displayed.
  3. Click the Create button in the toolbar to create a new dynamic property. The Create Dynamic Property dialog is displayed.

  4. Enter the following values:
    • Namespace: /PackageName
    • Type: Single Line Text
    • Value: Static
    • Enter the following text: Application.msi.

    Note: This value will be referenced in the Workflow by the MSI Install Action. Remember that we defined the following prompset to source the value:

    • MSI Install (PCK.automic_MSI.PRV.PROMPSETS.INSTALL_MSI):
      • Package name: EXT:/PackageName (=Application.msi; this is the value we have added).

  5. Click Create.
  6. Modify the existing dynamic properties according to these values:

    Note: Depending on the Custom Type settings, some property values may be already defined. You can overwrite the expressions or use the existing ones.

    • Select source_files_dirs under the source section and click the Edit button. This dynamic property sets the name of a local file/directory where the downloaded file/directory is stored.  
    • Update the following values:
      • Type: Single Line Text
      • Value: Expression
      • Enter the following expression: {@Application/SourcePath}\{@deployment_Package/system/name}\{@component/system/name}

      Example of evaluated value: c:\\srv1\InstallationPackageRepository\MSI-Installation\1.0\MSI-Component. This value depends on the value specified for the Application source path.

    • Select working_files_dir under the staging section and click the Edit button. This dynamic property sets the files/directory on the staging server after they have been downloaded from the source. Update the following values:
      • Type: Single Line Text
      • Value: Expression
      • Enter the following expression: {/staging/working_base_dir}\{@Application/system/name}\{/system/name}-{@deployment_Package/system/name}

      Example of evaluated value: c:\temp\MSI-Installation\MSI-Component-1.0

    • Select working_base_dir under the staging section and click the Edit button. This dynamic property sets the base directory on the staging server where the Package should be downloaded. Update the following values:
      • Type: Single Line Text
      • Value: Expression
      • Enter the following expression:{@target/custom/staging_base_directory}

      Example of evaluated value: c:\temp.

    Next steps:

    1. Deploying the Application to a Test Environment
    2. DIY - Deploying an Application to a Production Environment
    3. Deploying a New Version of the Application

    Previous steps:

    1. Creating Entities with the Application Wizard
    2. Defining the Application Dynamic Properties
    3. Configuring Deployment Workflows