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
- :
- Having to create HKEY_CURRENT_USER keys
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
‎Dec 15, 2009
09:16 AM
Having to create HKEY_CURRENT_USER keys
We have this one app that that now requires a bunch of HKEY_CURRENT_USER keys to be created during the install, but the application has to be installed on meeting room machines where any user can be logging into.
So what is the best way to handle this for all users that log onto the machine. I know that if I just set each of these registry keys as the key file that when a new user logs onto the machine it will trigger the auto-repair of the install so that the keys are re-created, but is this the best way to handle this situation? I know some people will simply cancel the auto-repair if they do not know why it is popping up.
If this is the best way to handle this then fine I'll go with it, but I just wanted to see what other options there are.
thanks,
So what is the best way to handle this for all users that log onto the machine. I know that if I just set each of these registry keys as the key file that when a new user logs onto the machine it will trigger the auto-repair of the install so that the keys are re-created, but is this the best way to handle this situation? I know some people will simply cancel the auto-repair if they do not know why it is popping up.
If this is the best way to handle this then fine I'll go with it, but I just wanted to see what other options there are.
thanks,
(5) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Dec 15, 2009
06:35 PM
Hi Tim,
Try Active Setup -> http://www.appdeploy.com/articles/activesetup.asp. This way you could run a repair as soon as another user logs in and you can configure the repair to run silently, so that the user cannot cancel the repair operation.
Thanks,
Alpesh
Try Active Setup -> http://www.appdeploy.com/articles/activesetup.asp. This way you could run a repair as soon as another user logs in and you can configure the repair to run silently, so that the user cannot cancel the repair operation.
Thanks,
Alpesh
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Dec 16, 2009
08:20 AM
Okay that looks like it can handle this situation. So just to make sure I get it the install should create, on inital install, both the HKLM and HKCU Active Setup registry, for the currently logged in user entries, using a GUID. And that GUID should be project Product Code GUID?
Thanks,
Thanks,
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Dec 16, 2009
11:59 AM
You can just create the key under HKLM and only create the StubPath value. This should work. Yes, the GUID can be product guid.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Dec 17, 2009
07:27 AM
Question:
Why don´t you create keys and values (I guess default values) at HKEY_USERS/.DEFAULT/Software/xxxx and the Application reads values from there if HKEY_CURRENT_USER items do not exist and writes itself to HKEY_CURRENT_USER? Would that be an option?
Why don´t you create keys and values (I guess default values) at HKEY_USERS/.DEFAULT/Software/xxxx and the Application reads values from there if HKEY_CURRENT_USER items do not exist and writes itself to HKEY_CURRENT_USER? Would that be an option?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jun 30, 2010
11:40 AM
Holger_G wrote:
Question:
Why don´t you create keys and values (I guess default values) at HKEY_USERS/.DEFAULT/Software/xxxx and the Application reads values from there if HKEY_CURRENT_USER items do not exist and writes itself to HKEY_CURRENT_USER? Would that be an option?
Hi there,
.DEFAULT is not quite what you think it is:
The .Default user is not the default user
http://blogs.msdn.com/b/oldnewthing/archive/2007/03/02/1786493.aspx
ActiveSetup is the best way to go, since it fires during user login. Outside of this, for instance of a user is already logged in when the package is pushed, you'll want to rely on AutoRepair.