Tag Archive: AppV_DeployNPublish


I haven’t posted a sequencing video in a while, so I was due. Then a customer queried me about dealing with a large package. When I looked into the question, I found that the way I used to deal with large packages isn’t supported by the sequencer any more (when did that change?).Sequencing With Tim Mangan

So I worked out a different way, and decided to document it for everyone else.

The Issue

The issue is that the SFT file has a 4GB size documented limit. The 4GB limit is after compression, so you can stuff more in as long as it compresses. As we have seen in the past, the 4GB limit seems to be somewhat of a soft limit; you can go over a little and the package seems to still work — but you are never sure if a user might eventually hit a piece of functionality that crashes the app. And we aren’t sure what “over a little” really means, because packages fail at some point. My friend Nicke has further determined that if you create a small feature block 1, you can create a much larger app that seems to work. But still we worry about those.

The solution to getting under the limit is in understanding that it is a per package limit of the SFT itself. The most common techniques to work around it are:

  • Reduce the size of the app. Often this means a custom install with less features, and/or cleaning files out that are not really needed.
  • Redirecting portions of the package to live on a file share as supported by the app. This requires an app that has some registry based path locations that you can modify.
  • Redirecting portions of the package to live on a file share using the Microsoft App Compat toolkit. This unfortunately involves developing a shim and then requires an external install of the shim at the client to work so it isn’t so popular of a method to use.
  • Moving portions of the package to live in a depdent package and using Dynmaic Suite Composition. This method always works and is supported.

The Universal Solution

The solution that seems to work for all apps is the last one. And this is what I show how to do in the video. When Dynamic Suite Composition (DSC) is used, the sum of all the assets may rise above the 4GB limit. To our knowlege, there is no limit on the sum size of all of the layers. As there is no known limit to the number of dependent packages that you can add. In a practical sense, the limit might just be disk space in the cache, followed by how much memory you have.

The video for lucky Episode 13 may be found here: Sequencing With Tim Mangan. It is about an 18 minute video, and if you pay attention to the system clocks in the VMs, you will see that I shot the two sequencings and client testing all in a single sitting in under 15 minutes.

When Microsoft release App-V 4.6 Sp1, which was all about the new sequencer, they also quietly put out an updated client.  You don’t need the updated client to use SP1 sequenced packages, but it is an option.  Supposedly the client was mostly about rolling up hotfixes, but we know that there must be changes to support the upcoming SCCM 2012 release (now in beta).

Today I discovered another small change in the SP1 client.  It is a relatively benign change that is behind the scenes in the Windows registry, but it happened to affect one of the tools in my AppV_DeployNPublish toolset.  I didn’t notice it right away because you have to install the SP1 client as a clean install (rather than an upgrade) to notice.  The change affected my command management replacement tool, which caused it to not show file type associations, and this post is to announce the new release of my tools to address this issue.

“Wait a minute”, I hear you say.  “What command management console replacement tool”?  Perhaps replacement is too stong of word, but this tool organizes the virtual application information into a more usable form – by package instead of application.  By package, it shows DSC dependencies, shortcuts, and file associations.  This allows you to delete an entire package from the client in one step, rather than have to hunt down all the application names in the package. 

Information on these free tools and the download found at:

                          http://www.tmurgent.com/AppVirt/AppV_DeployNPublish.aspx