Quantcast
Channel: TechNet Blogs
Viewing all articles
Browse latest Browse all 34890

Understanding the PVAD

$
0
0

The Primary Virtual Application Directory, more efficiently called the PVAD has been a topic of much discussion ever since the advent of App-V 5.0. I guess although we complained about the Q: mount drive we had in App-V 4.6 it did make things really easy to understand. The PVAD is an altogether more mysterious animal.

At the most simplistic level the PVAD is the location you tell your sequencer that you are intending to install your application. This then becomes your root directory, everything written outside that location gets put into VFS.

Let’s zoom out a bit and look at the PVAD in terms of the bigger picture and how our app sees the world.

PVAD in the Virtual File System?

Now here’s something not everyone knows about the PVAD, even though it physically resides in the cache as shown above, we actually create a mapping to the original location we specified at sequencing time. In other words the App-V 5 client honours the original PVAD location used at sequencing time and presents it to the virtual application.

Take ExcelViewer in this case:

Looking into the FilesystemMetadata.xml we can see this package was sequenced to C:\Program Files\Microsoft Office as the PVAD. Therefore most of the files are captured under the package root and anything that got written outside that root got put under VFS.

When we use the Open menu within Excel Viewer to look at the file system we do not see the PVAD reflected into its original location, that’s not because it’s not there, it’s because it’s hidden!

If we sneakily manually type in the path that we think is there but can’t see…

Magically it is there and accessible! So what does this show us? It shows that the PVAD is infact a hidden VFS. This allows our applications to make calls to exactly where they expect to find themselves, in the original PVAD location not the physical location in cache.

So that explains the PVAD and the phases it goes through from sequencer to client. What about permissions to change things inside the PVAD? Hmmmmmmm read here…..


Viewing all articles
Browse latest Browse all 34890

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>