Video Screencast Help
Symantec to Separate Into Two Focused, Industry-Leading Technology Companies. Learn more.

Custom folders in virtual layer properties

Created: 29 Aug 2013 | 6 comments

Hi Guys,

I'd like to know, if it's possible to create a custom folder in Layer Properties > Files > Read Only Layer > System. Let's call it APPLICATION, so it will be right between [ALLUSERSPROFILE] and [COMMONADMINTOOLS].

One guy from our team found a way how we can modify existing variables on Variables tab in Layer Properties, now we need to create thisspecific folder as I mentioned above.

Below is a screenshot of the place where we want to put custom folder (root of System)

Thank you for your help.

Tom.

HVD 2.0 with Office Standard (CAS)_2013-08-29_18-40-21.png

Operating Systems:

Comments 6 CommentsJump to latest comment

ksreek's picture

Hmmm. Interesting !.  Those folders you see out there relates to some commonly used/default folders in Windows..There could be a internal/ Programmatic folder mapping to a windows structure behind it. For e.g Folder 'Fonts' in that list might relate to C:\Windows\Fonts. I don't know if you can create a custom folder in that list and do your actual mapping behind the scene.

But in your case,  i assume there should be a specific location in your machine where you intend to create this folder named "Application". Lets assume you wanted to create it as C:\TEST\Application . Now to achieve this,  you might want to create a folder named 'TEST' under the hive [SYSTEMDRIVE] under 'System' , then a sub-folder in it called "Application" under 'TEST' . This will enumerate a virtual folder C:\test\application when the layer is activated. System drive denotes your C drive\System drive by default.

Tomas Iskra's picture

Hi Ksreek,

thank you for your response but it wasn't very helpful.

Of course we knew about the option to create folder manually in [SYSTEMDRIVE].

We'd like to have this folder in Layer Properties for all packages so we don't need to create it every time we start packaging the applications.

Do you know if there is way how to add this folder there so when we open Layer Properties, the folder will be there?

Thanks.

Tom.

ksreek's picture

I don't know at this point . Anyhow am trying to crack this and will let you know if i find anything interesting.

That list you see in there might be immobile while the values are dynamically handled depending upon what values are available in the below location i feel. A simple variable created in those locations does not help reflect in the way we intend for.

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session
Manager\Environment

User Path Variables @ HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders.

Tomas Iskra's picture

Hi Ksreek,

do you have any update regarding this topic?

Thank you so much for your effort!

Tom.

ksreek's picture

No postive update so far . But here is what it progressed. It appears that these variables cannot be created and our VzService (Gatekeeper service between user and driver) will simply ignore these new variables. The values are still dynamic depending upon what you have set in your machine. I was able to create one called "APPLICATIONS" under 'User-Specific' but these folders will remain non-operational because the transactions on this are ignored. As a worst case, when the layer is deleted the VzService will not delete that folder.

180px_SWV_test1_0.JPG

So long story short, it is by design that we cannot modify that list and even if we tamper it there are potential functionality issues. At this point, the best thing i can do for you is to raise an Product Enhancement/Feature request and let the Product Mgmt/Architect teams determine the feasility and provide this as a straight forward feature if possible. Let me know if you want to do so.

Tomas Iskra's picture

Hi Ksreek,

thanks for an update.

If you can do such a thing, it would be great and I beleive beneficial as well.

Tom.