Component needs HKCU key
if you have a file going to appdata for example, why does that component need to have a hkcu key as a keypath. i dont understand the reason behind it?
any enlightenment is much appreciated.
any enlightenment is much appreciated.
0 Comments
[ + ] Show comments
Answers (1)
Please log in to answer
Posted by:
Ilikebananas
18 years ago
When an msi is installed, paths are resolved to their values at installtime. A file in the administrators Application data will be resolved to C:\documents and settings\administrator\foldername\filename and it will be registered as such.
When user1 (administrative rights) starts the app, keypaths are checked, the user has no acces to the file in the administrator profile and there will be a repair (the component is broken).
When user2 (administrative rights) starts the app, keypaths are checked and since the user now has acces to the file, there will be no repair!
When using a registrykey there will always be a repair
When user1 (administrative rights) starts the app, keypaths are checked, the user has no acces to the file in the administrator profile and there will be a repair (the component is broken).
When user2 (administrative rights) starts the app, keypaths are checked and since the user now has acces to the file, there will be no repair!
When using a registrykey there will always be a repair
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
so that the conversation will remain readable.