Why dont we mark User Specific file as a keypath
Now this is a very basic question , but bugs most of the packagers and i bet, most dont know the exact reason.
It is well know fact, when we mark user specific file as a keypath and suppose an application makes use of this file, on first launch in user it will repair. now when in admin , if we launch the shortcut, it will repair(the file was already present in admin, but still it repaired). now again go to user and launch the shortcut again, and the application heals(remember the file was already present in user after first launch in user). Here i m presuming , the location of the file gets hardcoded somewhere in registry , mostly machine specific location HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\Folders\<Path of file>. Can somebody please elaborate why is this so.....what exactly happens during this whole process.
I would really appreciate if somebody doesnt ask me to mark registry keypath for user specific file. I m really tired with those answers