3.9 KiB
title, description, author, ms.assetid, ms.reviewer, manager, ms.author, ms.pagetype, ms.mktglfcycl, ms.sitesec, ms.prod, ms.date
title | description | author | ms.assetid | ms.reviewer | manager | ms.author | ms.pagetype | ms.mktglfcycl | ms.sitesec | ms.prod | ms.date |
---|---|---|---|---|---|---|---|---|---|---|---|
How to Create a Connection Group with User-Published and Globally Published Packages | How to Create a Connection Group with User-Published and Globally Published Packages | dansimp | 82f7ea7f-7b14-4506-8940-fdcd6c3e117f | dansimp | dansimp | mdop, appcompat, virtualization | deploy | library | w10 | 11/01/2016 |
How to 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.0 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.
Got a suggestion for App-V? Add or vote on suggestions here. Got an App-V issue? Use the App-V TechNet Forum.
Related topics
How to Use Optional Packages in Connection Groups