/build/static/layout/Breadcrumb_cap_w.png

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.

0 Comments   [ + ] Show comments

Answers (1)

Posted by: Ilikebananas 18 years ago
Purple Belt
0
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
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.

Don't be a Stranger!

Sign up today to participate, stay informed, earn points and establish a reputation for yourself!

Sign up! or login

Share

 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ