After adding a Package to an Application, you must select a packaging machine and build the package to finish the packaging process.

To understand some of the best practices that can be followed while packaging an application, see Best Practices for Packaging Applications.

When App Volumes and VMware Dynamic Environment Manager are used together and a Dynamic Environment Manager condition references file or registry data on an App Volumes volume, the All AppStacks Attached trigger must be selected. This ensures that the Dynamic Environment Manager evaluates the condition after all volumes are attached.

For information about the All AppStacks Attached trigger, see Configure Triggered Tasks in the VMware Dynamic Environment Manager Administration Guide.

Prerequisites

  • Ensure that the status of the Package you want to build is Unpackaged.
  • Ensure that the packaging machine meets the criteria as mentioned in Preparing a Packaging Virtual Machine.
  • Ensure that you have created a clean snapshot of this virtual machine as part of the App Volumes agent installation.

Procedure

  1. From the App Volumes Manager, click INVENTORY > Packages.
  2. Click the Package with an Unpackaged status.
  3. Click Package.
  4. On the Packages page, search for the computer on which you want to perform the packaging process.
    A list of computers is displayed.
  5. Select the computer you want to use as the packaging machine and click Package.
  6. Build the Package on the packaging machine.
    1. Log in to the packaging or capture machine.
    2. Locate the installer for the program you want to capture in the Package.
    3. Install and configure the program.
      If necessary, reboot the machine.
    4. Click Finalize.
      The agent machine reboots.
    5. After the packaging machine restarts, click OK on the Packaging is Succesful dialog box.
      The capture process is now complete.
    6. Revert to the virtual machine's clean snapshot.
  7. In App Volumes Manager, click INVENTORY > Packages and review the Package information to ensure that the packaging is successful.
    Package status must be Enabled.

What to do next

It is recommended that you test and validate the application package on a clean virtual machine different from the machine used for packaging the application.