RE: Repost - Unable to run Outlook 2000 com addin built via .NET/V

Tech-Archive recommends: Fix windows errors by optimizing your registry



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.
>
>
.



Relevant Pages

  • Re: Making changes to the registry during setup
    ... ) that you can use in the setup? ... > assuming the database is being installed to the Application Folder. ... I could do this by creating an entry ... >> in the registry with the setup of the application. ...
    (microsoft.public.vstudio.general)
  • RE: Repost - Unable to run Outlook 2000 com addin built via .NET/V
    ... load addin just for the current user, but the localmachine will load addin ... You may try to use the regasm tool to registry it. ... the addin setup project(It is created when we create an ...
    (microsoft.public.dotnet.framework)
  • Re: I cant reinstall IE
    ... "Terry" wrote: ... Setup cannot continue. ... I am not too good at modifying my registry, ... I should find an entry called IsInstalled and change the value from a 1 ...
    (microsoft.public.windows.inetexplorer.ie6.browser)
  • Re: Registry entries, Licence Page in VS 2003 Setup Project
    ... have created a Setup Project using Visual Studio .NET 2003. ... deleting that entry during uninstall. ... Yes, in the installer project, you can select the registry options for ...
    (microsoft.public.dotnet.framework)
  • Re: I cant reinstall IE
    ... When I try to install it again I ... Setup cannot continue. ... I am not too good at modifying my registry, ... I should find an entry called IsInstalled and change the value from a 1 ...
    (microsoft.public.windows.inetexplorer.ie6.browser)