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   [ - ] Hide Comments


Please log in to comment

Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
Answer this question or Comment on this question for clarity


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".


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.
Answered 02/20/2007 by: turbokitty
Sixth Degree Black Belt

Please log in to comment