sgh915
Posts: 18
Joined: Fri Jul 18, 2008 5:28 pm

problem registry in vista

hi,

I have a problem for my product in Vista System.
I write the key and value in HKEY_CURRENT_USER registry.

I installed my product and I can see this key and value...(at regedit, of course my product works fine.)

Problem is following:
I created another account (with Administrator permission) in OS. And I switched off this user and run my product.
But my product doesn't work. Problem is that it can't read the key and value in Registry.

So, I run regedit and find the key and value, but i can't find.

Problem is that registry value is registered for current user only.(So if i switch off user, then i can't see registry key and value)

What is the problem? How can I set the registry key and value so that all users(with admin permission) can read registry value in Advanced installer?

Using HKEY_CURRENT_USER is wrong?

Please help me asap... This is urgent.

Thanks
Regards
So
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: problem registry in vista

Hi,

Please note that the HKEY_CURRENT_USER registry hive is unique for each user. Therefore, a new user account cannot have access to the HKEY_CURRENT_USER hive of another user. If you want all users to access your registry value, you can place it in the HKEY_LOCAL_MACHINE hive.

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Feature Requests”