RE: Repost - Unable to run Outlook 2000 com addin built via .NET/V
- From: Gary Bentley <garybentley@xxxxxxxxxxxxx>
- Date: Wed, 22 Jun 2005 17:21:01 -0700
Hi Peter,
Thank you for the response.
I checked the addin and the registry setup in the VS project didn't contain
the entry:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office\Outlook\Addins
although it did have an entry for (I presume because I configured the addin,
via the wizard,
to allow only the user that installs the addin to use it):
HKEY_LOCAL_USER\SOFTWARE\Microsoft\Office\Outlook\Addins
I added the HKLM entry to the registry settings and rebuilt. However when
installed onto a
machine other than where the addin is built the registry entry:
HKEY_CLASS_ROOT\CLSID\A.B
isn't being created (and I presume the subsequent CLSID entry isn't either,
although of course I can't check that).
Is this something you can provide further help on or should I now post to
the microsoft.public.vstudio.setup and microsoft.public.vsnet.setup groups?
Thanks,
Gary
""Peter Huang" [MSFT]" wrote:
> Hi
>
> When the outlook started, it will checked the subkeys under the registry
> key below.
> [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office\Outlook\Addins]
> e.g. a subkey is A.B
> Then it will check the A.B in the HKEY_CLASS_ROOT for the progid A.B to get
> the CLASSID
> Then it will check the HKEY_CLASS_ROOT\CLSID to get the correct location of
> the com dll.
> e.g.
> [HKEY_CLASSES_ROOT\CLSID\{10F9EBA7-4332-4BA2-9C79-59AC13621BD6}\InprocServer
> 32\1.0.1985.20452]
> "Class"="MyWordAddin1.Connect"
> "Assembly"="MyWordAddin1, Version=1.0.1985.20452, Culture=neutral,
> PublicKeyToken=null"
> "RuntimeVersion"="v1.1.4322"
> "CodeBase"="file:///<path>/MyWordAddin1.DLL"
>
>
> So I think you may try to use the Regmon to see if that is correct.
> http://www.sysinternals.com/Utilities/Regmon.html
>
> If setup project is not set the correct registry, I think you may try to
> rebuild one to have a test, if that still did not work.
> I think you may try to post in the .NET setup queue.
> microsoft.public.vstudio.setup
> microsoft.public.vsnet.setup
>
> If I have any misunderstanding, please feel free to post here.
>
> Best regards,
>
> Peter Huang
> Microsoft Online Partner Support
>
> Get Secure! - www.microsoft.com/security
> This posting is provided "AS IS" with no warranties, and confers no rights.
>
>
.
- Follow-Ups:
- RE: Repost - Unable to run Outlook 2000 com addin built via .NET/V
- From: "Peter Huang" [MSFT]
- RE: Repost - Unable to run Outlook 2000 com addin built via .NET/V
- References:
- Repost - Unable to run Outlook 2000 com addin built via .NET/VS 20
- From: Gary Bentley
- RE: Repost - Unable to run Outlook 2000 com addin built via .NET/VS 20
- From: "Peter Huang" [MSFT]
- Repost - Unable to run Outlook 2000 com addin built via .NET/VS 20
- Prev by Date: Re: managed C++ & NULL value
- Next by Date: How to use interfaces properly...
- Previous by thread: RE: Repost - Unable to run Outlook 2000 com addin built via .NET/VS 20
- Next by thread: RE: Repost - Unable to run Outlook 2000 com addin built via .NET/V
- Index(es):
Relevant Pages
|