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
- :
- Re: Vista Registry Permissions
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
Anonymous
Not applicable
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Sep 16, 2007
12:50 PM
Vista Registry Permissions
My installer puts some values under a subkey in HKEY_LOCAL_MACHINE\Software.
It was my understanding that everyone can read HKLM, and with IS2008 running with elevated priviledges, my setup is successfully able to create the subkey and values.
One user reports that one of our applications displays an error message re. "access denied" trying to access our subkey/values. I'm not able to reproduce the problem.
The application is a Sync Service Provider DLL running under Windows Mobile Device Center.
Have others encountered this? What's the best workaround?
I see that IS2008 allows me to specify permissions on registry keys. I imagine I could use this to specify "read only" permission for [%USERDOMAIN]\Users, but I read in another thread that changing the "Lock Permissions Table" is to be avoided.
Regards,
David
It was my understanding that everyone can read HKLM, and with IS2008 running with elevated priviledges, my setup is successfully able to create the subkey and values.
One user reports that one of our applications displays an error message re. "access denied" trying to access our subkey/values. I'm not able to reproduce the problem.
The application is a Sync Service Provider DLL running under Windows Mobile Device Center.
Have others encountered this? What's the best workaround?
I see that IS2008 allows me to specify permissions on registry keys. I imagine I could use this to specify "read only" permission for [%USERDOMAIN]\Users, but I read in another thread that changing the "Lock Permissions Table" is to be avoided.
Regards,
David
(2) Replies
Anonymous
Not applicable
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Sep 17, 2007
08:03 AM
dkendall wrote:
The application is a Sync Service Provider DLL running under Windows Mobile Device Center.
The same user reports that another of our applications runs successfully. It needs to access the same registry key/values.
I wonder if WMDC is somehow running with reduced priviledges (in some cases, that is... I'm unable to reproduce the problem)?
Anonymous
Not applicable
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Sep 17, 2007
09:17 AM
It turns out there was a... ahem... bug in my code. It was attempting to open the HKLM subkey with full access. 😮
Nevertheless, it's worth noting that it succeeded from an application launched from the Start menu (which does not have a manifest), but not from within our WMDC DLL.
Nevertheless, it's worth noting that it succeeded from an application launched from the Start menu (which does not have a manifest), but not from within our WMDC DLL.