all groups > visual studio .net setup > april 2005 >
You're in the

visual studio .net setup

group:

registry entries for COM registration of an assembly have improper permissions


registry entries for COM registration of an assembly have improper permissions Max Power
4/12/2005 8:45:34 PM
visual studio .net setup:
I am trying to create an MSI install with vs.net 2003. I need to deploy an
assembly and
have it installed in the GAC, and registered as a com component so it can be
called from a VB6 app. I set the registration property to COM, and when I
run the install, the registry entries required, are created, but the
permissions won't allow most users to create the object.

I would have thought these registry entries would have inherited the
permissions of their parents, is there any way to make this work?


Re: registry entries for COM registration of an assembly have improper permissions Phil Wilson
4/14/2005 8:10:51 AM
Could you be more explicit about which registry keys/items and which user
groups can't access them? The HKCR COM registration entries are usually
installed so that they can be read by everyone in the Users group. Perhaps
you have a situation with ASP users running under Guest? Is that what you
mean by "most users"? What do the permissions say on those registry keys for
the CLSID and InprocServer32 keys - that should list the user permissions.
I think you could also get into an odd situation if you did a "Just me"
install, but used a custom action to register your assembly, or otherwise
got into a disconnect between "Just me" and the registration entries
(because if you run Regasm from your setup, it doesn't know if you're doing
an Everyone or a Just me).
--
Phil Wilson
[Microsoft MVP-Windows Installer]
Definitive Guide to Windows Installer
http://apress.com/book/bookDisplay.html?bID=280

[quoted text, click to view]

AddThis Social Bookmark Button