Reputation: 1363
According to this page it's possible to create an MSI installer to install an office add-in for all users: Deploying your VSTO add-ins to All Users (Saurabh Bhatia). It says what to do but skims on some of the how. I'm trying to create an MSI that creates registry keys under HKLM instead of HKCU. I have a setup project in Visual Studio. Under the registry section, I moved the keys from HKCU to HKLM, but when I run the installer it doesn't seem to create any keys, though there's also no sign of any errors. Is it possible to get visual studio to create keys under HKLM using the GUI or does it have to be coded in a custom action?
Upvotes: 1
Views: 2927
Reputation: 55581
Are you on a 32bit or 64bit windows? Odds are you need to look under HKEY_LOCAL_MACHINE\SYSTEM\SYSWOW64 to see the 32bit registry keys.
Upvotes: 2