/build/static/layout/Breadcrumb_cap_w.png

Add registry entry to MSI and populate?

I would like to modify an MSI to add a registry key that will get deployed when the program installs. I have this part working perfectly except that this registry entry has to be deployed to HKCU so when someone else logs in that registry key is not there thus the program does not work right. I'm sure there is a way to make the MSI populate the HKCU registry when a new person logs into the workstation and launches the app for the first time. How is this done?

0 Comments   [ + ] Show comments

Answers (1)

Posted by: turbokitty 17 years ago
6th Degree Black Belt
0
You're basically using MSI's repair feature.

Just pick a component and put your HKCU registry key in there. Then make that registry key a "key file".

Done.

When the shortcut is run, the MSI will check to make sure all the "key files" or "key paths" are populated. If they aren't, the MSI repairs itself and populates them.
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
 
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