Forum Discussion
Common Application Configuration File in WVD
- Jan 17, 2020
knowlite the original ini file will be in the place where the app expects it to be. It's just that based on which user is accessing the file, FSLogix will redirect the file open to the user's copy in their profile. It's like a fancy symlink, except that it will redirect to a different place based on which user is accessing the file. And if the target file doesn't exist, it can copy the original file to the target location before opening it.
FSLogix is a method to resolve the issues that come with roaming profiles (big Outlook OST files, OneDrive synced files, teams content etc) causing extensive login times. FSLogix also offers "application masking" which hides applications for certain security groups but this would only solve your issue if you want to hide other user's INI files from other users (maybe this is what you are looking for?) More information can be found on: https://docs.microsoft.com/en-us/fslogix/implement-application-masking-tutorial
The explanation for the recompile sounds like "let's use the magical LEGAL term to get rid of irritating requests", just like "GDPR" but those are just my two cents 😉
While application masking is generally intended to handle full applications, you can generate a rule file by hand that will do what you want.
Create a redirect for the ini file that redirects into the users profile somewhere. There is even a checkbox that will copy the original file if one does not exist at the target.
Start by creating a new, empty ruleset. Add a file redirection rule. Something like:
C:\badapp\badapp.ini -> __USER_PROFILE_PATH__\AppData\Roaming\badapp\badapp.ini
(Variables that can be used are described here: https://docs.microsoft.com/en-us/fslogix/application-masking-rules-ht#create-a-new-rule)
Next you will need to describe which users should get it. Maybe Everyone? See this for directions: https://docs.microsoft.com/en-us/fslogix/implement-application-masking-tutorial#make-assignments-for-your-rule-set
Then deploy.
- knowliteJan 17, 2020Iron ContributorHi Racook,
As far as I understood the initial poster, the ini should stay in the program folder so redirection cannot be done? Am I correct 40MB?- racookJan 17, 2020
Microsoft
knowlite the original ini file will be in the place where the app expects it to be. It's just that based on which user is accessing the file, FSLogix will redirect the file open to the user's copy in their profile. It's like a fancy symlink, except that it will redirect to a different place based on which user is accessing the file. And if the target file doesn't exist, it can copy the original file to the target location before opening it.
- FortyMegabytesJan 31, 2020Brass Contributor
Well, this may not be helpful to future people who search for solutions to this very peculiar problem, but here's the solution we came up with.
After discussion, we determined that there are only a couple of settings that actually need to be changed. So we created three host pools - MyApp Setting A, MyApp Setting B, and MyApp Setting C. So users launch the desktop of the host pools whose application settings match their needs.
Not elegant, and a bit wasteful, but unfortunately necessary because of the very peculiar way this application was written.
Thanks everyone for you very helpful comments and suggestions.