Feb 13, 2013 - 6 Comments - App-V, App-V 5.0 -

Connection Groups – DSC improved for App-V 5.0

App-V 5.0 Connection Groups build on the success of Dynamic Suite Composition (DSC) in App-V 4.x and presents a much more manageable experience.

Let’s take an example, below I have published NetBeans, it’s an IDE application which relies on the Java Development Kit (JDK) being present. I have also packaged JDK separately and delivered it.

individualHere we can see that both applications have been published to my client.

individualpublished

Due to the default isolation we have with App-V packages the fact that NetBeans fails to find JDK shouldn’t surprise us…

error

So we need to make these two packages share the same virtual environment, we need to use Connection Groups. In the management console I have created added a new Connection Group and named it JDK-NetBeans:

congroup1

I then specified the packages contained within the group by clicking EDIT next to CONNECTED PACKAGES:

congroup2

I then added a group to publish this out to under AD ACCESS:congroup3

Finally I published it:

congroup4

After a refresh on my client we can see we now have a Connection Group published.

congrouppublished

Now when we launch NetBeans it can see JDK and launches without error.

netbeans

What if want to add more members into this same connection group? For example I have a plugin which I also want to include in this group, in this case it is a timer called SimpleTimer and shows itself under the Window menu.

netbeans1

Simple! I just add it into the Connection Group in the console.

simpletimer

I then refresh the client, as we can see the plugin package has been delivered:

congrouppublished1

Next time we launch NetBeans we now find that we have the plugin available for use!

congrouppublished2

Connection groups can be viewed in more depth by hitting the Publishing server URL:

publishingserver

Or by looking at the PackageGroupDescriptor.xml on the client machine:

PackageGroupDescriptorxml

For more on Connection Groups check out the following:

Connection Group Conflicts in App-V 5.0

Deploying Connection Groups in Microsoft App-V v5

Connection Groups Internals (App-V 5.0)

Sequencing for Connection Groups