With the recent release of Hotfix 4 for App-V 5.0, Microsoft has now provided the ability to “Allow virtual applications full write permissions to the virtual file system”. This setting can be found in the sequencer under the “Advanced” tab as demonstrated in the screen shot below:
Should you wish to enable this setting as a default whenever you create a new package, then simply go ahead and add <FullVFSWriteMode>true<FullVFSWriteMode> into your sequencer template (.appvt), as you can see below. This setting is only valid where you have the App-V 5.0 SP2 Hotfix 4 sequencer installed.
<?xml version="1.0" encoding="utf-8"?> <SequencerTemplate xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <AllowMU>false</AllowMU> <AppendPackageVersionToFilename>false</AppendPackageVersionToFilename> <AllowLocalInteractionToCom>false</AllowLocalInteractionToCom> <AllowLocalInteractionToObject>false</AllowLocalInteractionToObject> <FullVFSWriteMode>true</FullVFSWriteMode> <ExcludePreExistingSxSAndVC>false</ExcludePreExistingSxSAndVC> <FileExclusions> <string>[{CryptoKeys}]</string> <string>[{Common AppData}]\Microsoft\Crypto</string> <string>[{Common AppData}]\Microsoft\Search\Data</string> <string>[{Cookies}]</string> <string>[{History}]</string> <string>[{Cache}]</string> <string>[{Local AppData}]</string> <string>[{Personal}]</string> <string>[{Profile}]\Local Settings</string> <string>[{Profile}]\NTUSER.DAT.LOG1</string> <string>[{Profile}]\NTUSER.DAT.LOG2</string> <string>[{Recent}]</string> <string>[{Windows}]\Debug</string> <string>[{Windows}]\Logs\CBS</string> <string>[{Windows}]\Temp</string> <string>[{Windows}]\WinSxS\ManifestCache</string> <string>[{Windows}]\WindowsUpdate.log</string> <string>[{AppVPackageDrive}]\$Recycle.Bin</string> <string>[{AppVPackageDrive}]\System Volume Information</string> <string>[{AppData}]\Microsoft\AppV</string> <string>[{Local AppData}]\Temp</string> <string>[{ProgramFilesX64}]\Microsoft Application Virtualization\Sequencer</string> </FileExclusions> <RegExclusions> <string>REGISTRY\MACHINE\SOFTWARE\Wow6432Node\Microsoft\Cryptography</string> <string>REGISTRY\MACHINE\SOFTWARE\Microsoft\Cryptography</string> <string>REGISTRY\USER\[{AppVCurrentUserSID}]\Software\Microsoft\Windows\CurrentVersion\Explorer\StreamMRU</string> <string>REGISTRY\USER\[{AppVCurrentUserSID}]\Software\Wow6432Node\Microsoft\Windows\CurrentVersion\Explorer\StreamMRU</string> <string>REGISTRY\USER\[{AppVCurrentUserSID}]\Software\Microsoft\Windows\CurrentVersion\Explorer\Streams</string> <string>REGISTRY\USER\[{AppVCurrentUserSID}]\Software\Wow6432Node\Microsoft\Windows\CurrentVersion\Explorer\Streams</string> <string>REGISTRY\MACHINE\SOFTWARE\Microsoft\AppV</string> <string>REGISTRY\MACHINE\SOFTWARE\Wow6432Node\Microsoft\AppV</string> <string>REGISTRY\USER\[{AppVCurrentUserSID}]\Software\Microsoft\AppV</string> <string>REGISTRY\USER\[{AppVCurrentUserSID}]\Software\Wow6432Node\Microsoft\AppV</string> </RegExclusions> <TargetOSes /> </SequencerTemplate>
And if you’re not currently using a template then I’d highly recommend you do. You’ll find a great article over at Rory Monaghan’s blog that explains the use of the sequencer template in more detail.
Nathan