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)
Please log in to answer
Posted by:
turbokitty
17 years ago
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.
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.
so that the conversation will remain readable.