
Signature
Phil Wilson
[Microsoft MVP-Windows Installer]
Definitive Guide to Windows Installer
http://apress.com/book/bookDisplay.html?bID=280
> What you should see in the registry is an entry in HKCR\CLSID\{Your class
> guid}\InprocServer32 that points to mscoree.dll and with the assembly name,
[quoted text clipped - 9 lines]
> I'm referring to is in your setup project. Select the assembly, F4 and look
> at properties.
Funny, I just blogged this exact thing:
http://www.scottcreynolds.com/PermaLink.aspx?guid=82d984cf-c9c1-4231-aa51-e3f213
5065e1
for a full description. But you also need to add the ClassInterface
attribute, and depending on the binding you want to support, set it to
AutoDispatch or AutoUnknown.
Scott.

Signature
____________________________________________
Scott C. Reynolds - Tales From the SharpSide
http://www.scottcreynolds.com
scott@scottcreynolds.com
*****Get your SharpSide Swag!******
http://www.cafepress.com/sharpside/
***********************************
Miro - 30 Dec 2004 09:53 GMT
Thanks for all your help.
It seems like strong-naming the assembly and running regasm with the
/codebase parameter made the difference.
I found the registry property and it was set to vsdrfCOM. I'm going to try
out the vsdrfCOMSelfReg. If I'm right, this would save me from running Regasm
after installation?
Thanks again
Miro
> > What you should see in the registry is an entry in HKCR\CLSID\{Your class
> > guid}\InprocServer32 that points to mscoree.dll and with the assembly name,
[quoted text clipped - 17 lines]
>
> Scott.
Phil Wilson - 30 Dec 2004 16:58 GMT
That self-reg setting won't work. It's intended for traditional COM servers
that have a DllRegisterServer entrypoint - your assembly doesn't.
You shouldn't need to run regasm after the installation. The register
property should have a setting vsdraCOM that should do the equivalent of
running regasm.

Signature
Phil Wilson
[Microsoft MVP-Windows Installer]
Definitive Guide to Windows Installer
http://apress.com/book/bookDisplay.html?bID=280
> Thanks for all your help.
>
[quoted text clipped - 38 lines]
>>
>> Scott.