Application from layer can't save settings in a Excluded folder
SVSCMD version is 6.4.1711.
OS: Windows 7 x86
I'm trying to understand how to virtualize applications which have settings in the %USERPROFILE% when the %USERPROFILE% folder is in exclusion list.
For example I virtualized VideoLAN application and I want to disable autoupdates for users. I have to include file with this setting to Read-only part of the layer (USER_TEMPLATE\APPDATA\vlc folder). It works fine: application settings are delivered to users and application can change these settings. But I also want all files created by an application from the layer to be stored in a real OS file system, not in the layer. To achieve this I add %USERPROFILE% to the layer Exclude entries. Since folder with the application settings is in the %USERPROFILE% I got a problem. The VideoLAN can't change files. All changes are made to real file system and application from the layer can only see files inside the layer. I tried to add Data layer with Data capturing to APPDATA\vlc but with no luck - it did not solve the problem.
I can remove APPDATA\vlc form the read-only layer and after that I have no problem. But I will have to deliver initial application settings using ActiveSetup (by copying them from other folder to user profile). It's some sort of workaround. My question is there more natural solution to this problem?