How to Make a Connection Group Ignore the Package Version

Microsoft Application Virtualization (App-V) 5.0 SP3 enables you to configure a connection group to use any version of a package, which simplifies package upgrades and reduces the number of connection groups you need to create.

To upgrade a package in earlier versions of App-V, you had to perform several steps, including disabling the connection group and modifying the connection group’s XML definition file.

Task description with App-V 5.0 SP3 How to perform the task with App-V 5.0 SP3

You can configure a connection group to accept any version of a package, which enables you to upgrade the package without having to disable the connection group.

How the feature works:

  • If the connection group has access to multiple versions of a package, the latest version is used.

  • If the connection group contains an optional package that has an incorrect version, the package is ignored and won’t block the connection group’s virtual environment from being created.

  • If the connection group contains a non-optional package that has an incorrect version, the connection group’s virtual environment cannot be created.

Method Steps

App-V Server – Management Console

  1. In the Management Console, select PACKAGES > CONNECTION GROUPS.

  2. Select the correct connection group from the Connection Groups library.

  3. Click EDIT in the CONNECTED PACKAGES pane.

  4. Select Use Any Version check box next to the package name, and click Apply.

For more about adding or upgrading packages, see How to Add or Upgrade Packages by Using the Management Console.

App-V Client on a Stand-alone computer

  1. Create the connection group XML document.

  2. For the package to be upgraded, set the Package tag attribute VersionID to an asterisk (*).

  3. Use the following cmdlet to add the connection group, and include the path to the connection group XML document:

    Add-AppvClientConnectionGroup

  4. When you upgrade a package, use the following cmdlets to remove the old package, add the upgraded package, and publish the upgraded package:

    • RemoveAppvClientPackage

    • Add-AppvClientPackage

    • Publish-AppvClientPackage

For more information, see:

Got a suggestion for App-V?

Add or vote on suggestions here. For App-V issues, use the App-V TechNet Forum.

Managing Connection Groups