How to make a connection group ignore the package version
Applies to:
- Windows 10
- Windows 11
You can use Application Virtualization (App-V) to configure a connection group to use any version of a package, simplifying package upgrades and reducing the number of connection groups you need to create.
You can also configure a connection group to accept any version of a package, so that you can upgrade the package without having to disable the connection group.
If the connection group has access to multiple versions of a package, App-V will use the latest version.
If the connection group contains an optional package with an incorrect version, App-V ignores the package 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, App-V won't be able to create the connection group's virtual environment.
Make a connection group ignore the package version with the App-V Server Management Console
In the Management Console, select Connection Groups.
Select the correct connection group from the Connection Groups library.
Select Edit in the Connected Packages pane.
Select the Use Any Version check box next to the package name, then select Apply.
For more about adding or upgrading packages, see How to add or upgrade packages by using the Management Console.
Make a connection group ignore the package version from the App-V client on a stand-alone computer
Create the connection group XML document.
Set the Package tag attribute VersionID to an asterisk (*) to upgrade the package.
Enter the following cmdlet (including the path to the connection group XML document) to add the connection group:
Add-AppvClientConnectionGroup
For more information about how to use the Add-AppvClientConnectionGroup cmdlet, see Add-AppvClientConnectionGroup.
When you upgrade a package, use the following cmdlets to remove the old package, add the upgraded package, and publish the upgraded package:
For more information, see How to manage App-V packages running on a stand-alone computer by using Windows PowerShell.