Create a connection group with user-published and globally published packages
You can create user-entitled connection groups that contain both user-published and globally published packages, using either of the following methods:
How to use PowerShell cmdlets to create the user-entitled connection groups
How to use the App-V Server to create the user-entitled connection groups
What to know before you start
Unsupported scenarios and potential issues | Result |
---|---|
You cannot include user-published packages in globally entitled connection groups. | The connection group will fail. |
If you publish a package globally and then create a user-published connection group in which you've made that package non-optional, you can still run Unpublish-AppvClientPackage <package> -global to unpublish the package, even when that package is being used in another connection group. |
If any other connection groups are using that package, the package will fail in those connection groups. To avoid inadvertently unpublishing a non-optional package that is being used in another connection group, we recommend that you track the connection groups in which you've used a non-optional package. |
How to use PowerShell cmdlets to create user-entitled connection groups
Add and publish packages by using the following commands:
Add-AppvClientPackage Package1_AppV_file_Path
Add-AppvClientPackage Package2_AppV_file_Path
Publish-AppvClientPackage -PackageId Package1_ID -VersionId Package1_Version ID -Global
Publish-AppvClientPackage -PackageId Package2_ID -VersionId Package2_ID
Create the connection group XML file. For more information, see About the Connection Group File.
Add and publish the connection group by using the following commands:
Add-AppvClientConnectionGroup Connection_Group_XML_file_Path
Enable-AppvClientConnectionGroup -GroupId CG_Group_ID -VersionId CG_Version_ID
How to use the App-V Server to create user-entitled connection groups
Open the App-V 5.1 Management Console.
Follow the instructions in How to Publish a Package by Using the Management Console to publish packages globally and to the user.
Follow the instructions in How to Create a Connection Group to create the connection group, and add the user-published and globally published packages.