--- title: About the Connection Group File description: About the Connection Group File author: jamiejdt ms.assetid: bfeb6013-a7ca-4e36-9fe3-229702e83f0d ms.pagetype: mdop, appcompat, virtualization ms.mktglfcycl: deploy ms.sitesec: library ms.prod: w10 ms.date: 06/16/2016 --- # About the Connection Group File **In this topic:** - [Connection group file purpose and location](#bkmk-cg-purpose-loc) - [Structure of the connection group XML file](#bkmk-define-cg-5-0sp3) - [Configuring the priority of packages in a connection group](#bkmk-config-pkg-priority-incg) - [Supported virtual application connection configurations](#bkmk-va-conn-configs) ## Connection group file purpose and location
Connection group purpose |
A connection group is an App-V feature that enables you to group packages together to create a virtual environment in which the applications in those packages can interact with each other. Example: You want to use plug-ins with Microsoft Office. You can create a package that contains the plug-ins, and create another package that contains Office, and then add both packages to a connection group to enable Office to use those plug-ins. |
How the connection group file works |
When you apply an Application Virtualization 5.0 connection group file, the packages that are enumerated in the file will be combined at runtime into a single virtual environment. Use the Microsoft Application Virtualization (App-V) 5.0 connection group file to configure existing Application Virtualization 5.0 connection groups. |
Example file path |
%APPDATA%\Microsoft\AppV\Client\Catalog\PackageGroups\{6CCC7575-162E-4152-9407-ED411DA138F4}\{4D1E16E1-8EF8-41ED-92D5-8910A8527F96}. |
Field | Description |
---|---|
Schema name |
Name of the schema. Applicable starting in App-V 5.0 SP3: If you want to use the new “optional packages” and “use any version” features that are described in this table, you must specify the following schema in the XML file:
|
AppConnectionGroupId |
Unique GUID identifier for this connection group. The connection group state is associated with this identifier. Specify this identifier only when you create the connection group. You can create a new GUID by typing: [Guid]::NewGuid(). |
VersionId |
Version GUID identifier for this version of the connection group. When you update a connection group (for example, by adding or updating a new package), you must update the version GUID to reflect the new version. |
DisplayName |
Display name of the connection group. |
Priority |
Optional priority field for the connection group. “0” - indicates the highest priority. If a priority is required, but has not been configured, the package will fail because the correct connection group to use cannot be determined. |
Field | Description |
---|---|
PackageId |
Unique GUID identifier for this package. This GUID doesn’t change when newer versions of the package are published. |
VersionId |
Unique GUID identifier for the version of the package. Applicable starting in App-V 5.0 SP3: If you specify “*” for the package version, the GUID of the latest available package version is dynamically inserted. |
IsOptional |
Applicable starting in App-V 5.0 SP3: Parameter that enables you to make a package optional within the connection group. Valid entries are:
See [How to Use Optional Packages in Connection Groups](how-to-use-optional-packages-in-connection-groups.md). |
Configuration | Example scenario | ||||||
---|---|---|---|---|---|---|---|
An. exe file and plug-in (.dll) |
|
||||||
An. exe file and a middleware application |
|
||||||
An. exe file and an .exe file |
You have an application that relies on another application, and you want to keep the packages separate for operational efficiencies, licensing restrictions, or rollout timelines. Example: If you are deploying Microsoft Lync 2010, you can use three packages:
You can manage the deployment using the following connection groups:
When the deployment has completed, you can either create a single new Microsoft Office 2010 + Microsoft Lync 2010 package, or keep and maintain them as separate packages and deploy them by using a connection group. |