This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Windows Vista/7 HKLM and HKCU
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎May 04, 2010
10:22 AM
Windows Vista/7 HKLM and HKCU
I know , i know this has been beat to death.... but humor me.
We have a plugin, that installs via the HKCU/software/microsoft/office/excel/addins/ key. We need this to install for all users. But HKLM is no longer allowed without elevation which is not possible for our user base.
So how does one apply a registry key amongst all user profiles on a given machine? Am i missing something here?
Please help an idiot. Thx.
We have a plugin, that installs via the HKCU/software/microsoft/office/excel/addins/ key. We need this to install for all users. But HKLM is no longer allowed without elevation which is not possible for our user base.
So how does one apply a registry key amongst all user profiles on a given machine? Am i missing something here?
Please help an idiot. Thx.
(5) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎May 04, 2010
03:10 PM
It sounds like you have mutually incompatible requirements. You'd best get that resolved at the source of these requirements. The only approach that comes close to being both limited user and applied for all of them is an HKCU key which gets installed for each user as he or she launches your application. However as an add-in you probably don't have an application that they launch directly, so this will not generally get installed.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎May 04, 2010
03:15 PM
Michael,
You mean wanting to place this reg key in all user profiles is incorrect? Someone else must have faced this before....
Back in the good ol XP days, you slapped it into HKLM and you were golden. I went looking for documentation and came up with nothing.
There has to be a way to distribute across HKCU's. I don't think it's a requirements problem. Please explain.
You mean wanting to place this reg key in all user profiles is incorrect? Someone else must have faced this before....
Back in the good ol XP days, you slapped it into HKLM and you were golden. I went looking for documentation and came up with nothing.
There has to be a way to distribute across HKCU's. I don't think it's a requirements problem. Please explain.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎May 04, 2010
03:24 PM
The way Windows Installer handles this, there are three scenarios. Unless I misunderstand, none of them are exactly what you want
- Install for all users, write directly to HKLM. Requires administrative privileges.
- Install for all users, write to HKCU for each user. Still requires administrative privileges for the install, and each user will have to trigger on-demand installation of the per-user components.
- Install for a single user, write to HKCU for one user. Doesn't require administrative privileges, but only that one user will be able to see it. Other users can also install it on the same computer.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎May 04, 2010
03:25 PM
MichaelU wrote:
The way Windows Installer handles this, there are three scenarios. Unless I misunderstand, none of them are exactly what you want
- Install for all users, write to HKCU for each user. Still requires administrative privileges for the install, and each user will have to trigger on-demand installation of the per-user components.
I see what you mean, yes. This is the one we'll need to deal with i suppose. How does one go about forcing this on each profile?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎May 04, 2010
05:07 PM
There's no good way to do that.