Creating a Package Accelerator from some applications may fail in Microsoft App-V 4.6 SP1

Applies to: Microsoft Application Virtualization 4.6 SequencerVisual Studio Premium 2010Visual Studio Professional 2010

Symptoms


Creating a Package Accelerator from some applications, such as Visual Studio 2008, may fail in Microsoft Application Virtualization 4.6 SP1 when the code that creates the CAB file hits a max path issue.

Cause


Windows has a maximum path length limitation of 256 characters and this issue can occur when this limit is exceeded. For example, when sequencing Microsoft Visual Studio 2008 to "Q:\Visual Studio 2008", the additional characters added in the Package Accelerator process exceeds the maximum path length. This path specifically causes the Visual Studio 2008 Package Acclerator creation to fail:

Q:\tfm\pc\Visual Studio 2008\VFS\CSIDL_WINDOWS\Microsoft.Net\assembly\GAC_32\Policy.10.2.Microsoft.TeamFoundation.WorkItemTracking.Client.RuleEngine\v4.0_10.0.0.0__b03f5f7f11d50a3a\Policy.10.2.Microsoft.TeamFoundation.WorkItemTracking.Client.RuleEngine.dll.config

Resolution


Sequencing to a shorter package root, such as "VS2008", should resolve the issue and allow the Package Accelerator to be created.

NOTE: This only applies to creating Package Accelerators


More Information