Extensibility install not working

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Richard

    #1

    Extensibility install not working

    All,

    I have coded an Outlook automation Addin in C# and .NET.
    I created the project using the Extensibility wizard. The
    Addin installs and runs Ok on my machine.

    However I am unable to succsefully install the Addin on
    other machines. The install runs without error, it does
    unpack necessary files, and it does create many Addin
    related registry keys - but Outlook does not seem to be
    aware that the Addin is installed.

    The target machine is another developer's machine and it
    is configured correctly with all .NET framework components
    etc. The user account doing the install is a local
    machine administrator.

    Any ideas on how to fix a .NET extensibility install?

    --Richard
  • Jeffrey Tan[MSFT]

    #2
    RE: Extensibility install not working


    Hi Richard,

    I think you can check if the add-in component was successfully installed by
    checking the COM addin dialogbox.(you can get it out by invoke the tools
    customize dialog and add the "COM addin command")
    Also, in the addin's every step, you can write some log into the system
    log, then when the outlook open, you can check which step goes wrong.
    What is the version on his machine, is it the same with you?

    Best regards,
    Jeffrey Tan
    Microsoft Online Partner Support
    Get Secure! - www.microsoft.com/security
    This posting is provided "as is" with no warranties and confers no rights.

    --------------------
    | Content-Class: urn:content-classes:message
    | From: "Richard" <richardn@amgen .com>
    | Sender: "Richard" <richardn@amgen .com>
    | Subject: Extensibility install not working
    | Date: Wed, 1 Oct 2003 14:26:47 -0700
    | Lines: 20
    | Message-ID: <1f1001c38862$b 7f2efb0$a001280 a@phx.gbl>
    | MIME-Version: 1.0
    | Content-Type: text/plain;
    | charset="iso-8859-1"
    | Content-Transfer-Encoding: 7bit
    | X-Newsreader: Microsoft CDO for Windows 2000
    | X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4910.0300
    | Thread-Index: AcOIYrfwTxGBYGR YTWCt83HJcSvUeQ ==
    | Newsgroups: microsoft.publi c.dotnet.langua ges.csharp
    | Path: cpmsftngxa06.ph x.gbl
    | Xref: cpmsftngxa06.ph x.gbl microsoft.publi c.dotnet.langua ges.csharp:1884 41
    | NNTP-Posting-Host: TK2MSFTNGXA08 10.40.1.160
    | X-Tomcat-NG: microsoft.publi c.dotnet.langua ges.csharp
    |
    | All,
    |
    | I have coded an Outlook automation Addin in C# and .NET.
    | I created the project using the Extensibility wizard. The
    | Addin installs and runs Ok on my machine.
    |
    | However I am unable to succsefully install the Addin on
    | other machines. The install runs without error, it does
    | unpack necessary files, and it does create many Addin
    | related registry keys - but Outlook does not seem to be
    | aware that the Addin is installed.
    |
    | The target machine is another developer's machine and it
    | is configured correctly with all .NET framework components
    | etc. The user account doing the install is a local
    | machine administrator.
    |
    | Any ideas on how to fix a .NET extensibility install?
    |
    | --Richard
    |

    Comment

    • Richard

      #3
      RE: Extensibility install not working


      All versions between machines are identical - they are
      ghosted from a corporate standard setup. I know that the
      addin is not loading because I am showing a message box in
      the "Connect()" method. The message box shows on my
      machine but not on anyone elses...

      --Richard
      [color=blue]
      >-----Original Message-----
      >
      >Hi Richard,
      >
      >I think you can check if the add-in component was[/color]
      successfully installed by[color=blue]
      >checking the COM addin dialogbox.(you can get it out by[/color]
      invoke the tools[color=blue]
      >customize dialog and add the "COM addin command")
      >Also, in the addin's every step, you can write some log[/color]
      into the system[color=blue]
      >log, then when the outlook open, you can check which step[/color]
      goes wrong.[color=blue]
      >What is the version on his machine, is it the same with[/color]
      you?[color=blue]
      >
      >Best regards,
      >Jeffrey Tan
      >Microsoft Online Partner Support
      >Get Secure! - www.microsoft.com/security
      >This posting is provided "as is" with no warranties and[/color]
      confers no rights.[color=blue]
      >
      >--------------------
      >| Content-Class: urn:content-classes:message
      >| From: "Richard" <richardn@amgen .com>
      >| Sender: "Richard" <richardn@amgen .com>
      >| Subject: Extensibility install not working
      >| Date: Wed, 1 Oct 2003 14:26:47 -0700
      >| Lines: 20
      >| Message-ID: <1f1001c38862$b 7f2efb0$a001280 a@phx.gbl>
      >| MIME-Version: 1.0
      >| Content-Type: text/plain;
      >| charset="iso-8859-1"
      >| Content-Transfer-Encoding: 7bit
      >| X-Newsreader: Microsoft CDO for Windows 2000
      >| X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4910.0300
      >| Thread-Index: AcOIYrfwTxGBYGR YTWCt83HJcSvUeQ ==
      >| Newsgroups: microsoft.publi c.dotnet.langua ges.csharp
      >| Path: cpmsftngxa06.ph x.gbl
      >| Xref: cpmsftngxa06.ph x.gbl[/color]
      microsoft.publi c.dotnet.langua ges.csharp:1884 41[color=blue]
      >| NNTP-Posting-Host: TK2MSFTNGXA08 10.40.1.160
      >| X-Tomcat-NG: microsoft.publi c.dotnet.langua ges.csharp
      >|
      >| All,
      >|
      >| I have coded an Outlook automation Addin in C#[/color]
      and .NET.[color=blue]
      >| I created the project using the Extensibility wizard.[/color]
      The[color=blue]
      >| Addin installs and runs Ok on my machine.
      >|
      >| However I am unable to succsefully install the Addin on
      >| other machines. The install runs without error, it[/color]
      does[color=blue]
      >| unpack necessary files, and it does create many Addin
      >| related registry keys - but Outlook does not seem to be
      >| aware that the Addin is installed.
      >|
      >| The target machine is another developer's machine and[/color]
      it[color=blue]
      >| is configured correctly with all .NET framework[/color]
      components[color=blue]
      >| etc. The user account doing the install is a local
      >| machine administrator.
      >|
      >| Any ideas on how to fix a .NET extensibility install?
      >|
      >| --Richard
      >|
      >
      >.
      >[/color]

      Comment

      • Jeffrey Tan[MSFT]

        #4
        RE: Extensibility install not working


        Hi Richard,

        As you said, I think it is a strange problem.
        I think you should first check the "COM addin" dialog to see if you addin
        existed in this dialog.
        If your add in does not exist, it indicates your registry does not create
        correct.
        If your add in exists, you can attach into the outlook process when your
        outlook application lauch your addin dll, then you can check where the
        problem is step by step.

        Hope this helps,
        Best regards,
        Jeffrey Tan
        Microsoft Online Partner Support
        Get Secure! - www.microsoft.com/security
        This posting is provided "as is" with no warranties and confers no rights.

        --------------------
        | Content-Class: urn:content-classes:message
        | From: "Richard" <richardn@amgen .com>
        | Sender: "Richard" <richardn@amgen .com>
        | References: <1f1001c38862$b 7f2efb0$a001280 a@phx.gbl>
        <WRwmJgLiDHA.26 76@cpmsftngxa06 .phx.gbl>
        | Subject: RE: Extensibility install not working
        | Date: Thu, 2 Oct 2003 10:53:42 -0700
        | Lines: 83
        | Message-ID: <065a01c3890e$1 def37f0$a301280 a@phx.gbl>
        | MIME-Version: 1.0
        | Content-Type: text/plain;
        | charset="iso-8859-1"
        | Content-Transfer-Encoding: 7bit
        | X-Newsreader: Microsoft CDO for Windows 2000
        | X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4910.0300
        | Thread-Index: AcOJDh3v2jYNDwV OT9+k708SYaur5Q ==
        | Newsgroups: microsoft.publi c.dotnet.langua ges.csharp
        | Path: cpmsftngxa06.ph x.gbl
        | Xref: cpmsftngxa06.ph x.gbl microsoft.publi c.dotnet.langua ges.csharp:1886 07
        | NNTP-Posting-Host: TK2MSFTNGXA11 10.40.1.163
        | X-Tomcat-NG: microsoft.publi c.dotnet.langua ges.csharp
        |
        |
        | All versions between machines are identical - they are
        | ghosted from a corporate standard setup. I know that the
        | addin is not loading because I am showing a message box in
        | the "Connect()" method. The message box shows on my
        | machine but not on anyone elses...
        |
        | --Richard
        |
        | >-----Original Message-----
        | >
        | >Hi Richard,
        | >
        | >I think you can check if the add-in component was
        | successfully installed by
        | >checking the COM addin dialogbox.(you can get it out by
        | invoke the tools
        | >customize dialog and add the "COM addin command")
        | >Also, in the addin's every step, you can write some log
        | into the system
        | >log, then when the outlook open, you can check which step
        | goes wrong.
        | >What is the version on his machine, is it the same with
        | you?
        | >
        | >Best regards,
        | >Jeffrey Tan
        | >Microsoft Online Partner Support
        | >Get Secure! - www.microsoft.com/security
        | >This posting is provided "as is" with no warranties and
        | confers no rights.
        | >
        | >--------------------
        | >| Content-Class: urn:content-classes:message
        | >| From: "Richard" <richardn@amgen .com>
        | >| Sender: "Richard" <richardn@amgen .com>
        | >| Subject: Extensibility install not working
        | >| Date: Wed, 1 Oct 2003 14:26:47 -0700
        | >| Lines: 20
        | >| Message-ID: <1f1001c38862$b 7f2efb0$a001280 a@phx.gbl>
        | >| MIME-Version: 1.0
        | >| Content-Type: text/plain;
        | >| charset="iso-8859-1"
        | >| Content-Transfer-Encoding: 7bit
        | >| X-Newsreader: Microsoft CDO for Windows 2000
        | >| X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4910.0300
        | >| Thread-Index: AcOIYrfwTxGBYGR YTWCt83HJcSvUeQ ==
        | >| Newsgroups: microsoft.publi c.dotnet.langua ges.csharp
        | >| Path: cpmsftngxa06.ph x.gbl
        | >| Xref: cpmsftngxa06.ph x.gbl
        | microsoft.publi c.dotnet.langua ges.csharp:1884 41
        | >| NNTP-Posting-Host: TK2MSFTNGXA08 10.40.1.160
        | >| X-Tomcat-NG: microsoft.publi c.dotnet.langua ges.csharp
        | >|
        | >| All,
        | >|
        | >| I have coded an Outlook automation Addin in C#
        | and .NET.
        | >| I created the project using the Extensibility wizard.
        | The
        | >| Addin installs and runs Ok on my machine.
        | >|
        | >| However I am unable to succsefully install the Addin on
        | >| other machines. The install runs without error, it
        | does
        | >| unpack necessary files, and it does create many Addin
        | >| related registry keys - but Outlook does not seem to be
        | >| aware that the Addin is installed.
        | >|
        | >| The target machine is another developer's machine and
        | it
        | >| is configured correctly with all .NET framework
        | components
        | >| etc. The user account doing the install is a local
        | >| machine administrator.
        | >|
        | >| Any ideas on how to fix a .NET extensibility install?
        | >|
        | >| --Richard
        | >|
        | >
        | >.
        | >
        |

        Comment

        • Sunny

          #5
          RE: Extensibility install not working

          In article <065a01c3890e$1 def37f0$a301280 a@phx.gbl>, richardn@amgen. com
          says...

          Hi Richard,
          It depends how the addin is installed. If the addin is installed for all
          users during the install, you can't see it in the COM addin windows of
          outlook.

          Btw, you are not specifying what ver. of Outlook. With XP/2003 there are
          some security issues, so you may try to look in msdn about "shims".
          There is very nice article there about creating addins for
          Office/Outlook XP.

          The other thing is, you may look at Outlook\Addins\ YourAddin registry
          keys. There is a "LoadBehavi or" key, which value should be (3) in order
          addin to be load at every start of outlook. If for some reason the first
          try was unsuccessful, outlook changes this value to 2 (as I remember),
          and never tries to load the addin again. So, you may try to change it to
          3 and to see what happens.

          Sunny
          [color=blue]
          >
          > All versions between machines are identical - they are
          > ghosted from a corporate standard setup. I know that the
          > addin is not loading because I am showing a message box in
          > the "Connect()" method. The message box shows on my
          > machine but not on anyone elses...
          >
          > --Richard
          >[color=green]
          > >-----Original Message-----
          > >
          > >Hi Richard,
          > >
          > >I think you can check if the add-in component was[/color]
          > successfully installed by[color=green]
          > >checking the COM addin dialogbox.(you can get it out by[/color]
          > invoke the tools[color=green]
          > >customize dialog and add the "COM addin command")
          > >Also, in the addin's every step, you can write some log[/color]
          > into the system[color=green]
          > >log, then when the outlook open, you can check which step[/color]
          > goes wrong.[color=green]
          > >What is the version on his machine, is it the same with[/color]
          > you?[color=green]
          > >
          > >Best regards,
          > >Jeffrey Tan
          > >Microsoft Online Partner Support
          > >Get Secure! - www.microsoft.com/security
          > >This posting is provided "as is" with no warranties and[/color]
          > confers no rights.[color=green]
          > >
          > >--------------------
          > >| Content-Class: urn:content-classes:message
          > >| From: "Richard" <richardn@amgen .com>
          > >| Sender: "Richard" <richardn@amgen .com>
          > >| Subject: Extensibility install not working
          > >| Date: Wed, 1 Oct 2003 14:26:47 -0700
          > >| Lines: 20
          > >| Message-ID: <1f1001c38862$b 7f2efb0$a001280 a@phx.gbl>
          > >| MIME-Version: 1.0
          > >| Content-Type: text/plain;
          > >| charset="iso-8859-1"
          > >| Content-Transfer-Encoding: 7bit
          > >| X-Newsreader: Microsoft CDO for Windows 2000
          > >| X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4910.0300
          > >| Thread-Index: AcOIYrfwTxGBYGR YTWCt83HJcSvUeQ ==
          > >| Newsgroups: microsoft.publi c.dotnet.langua ges.csharp
          > >| Path: cpmsftngxa06.ph x.gbl
          > >| Xref: cpmsftngxa06.ph x.gbl[/color]
          > microsoft.publi c.dotnet.langua ges.csharp:1884 41[color=green]
          > >| NNTP-Posting-Host: TK2MSFTNGXA08 10.40.1.160
          > >| X-Tomcat-NG: microsoft.publi c.dotnet.langua ges.csharp
          > >|
          > >| All,
          > >|
          > >| I have coded an Outlook automation Addin in C#[/color]
          > and .NET.[color=green]
          > >| I created the project using the Extensibility wizard.[/color]
          > The[color=green]
          > >| Addin installs and runs Ok on my machine.
          > >|
          > >| However I am unable to succsefully install the Addin on
          > >| other machines. The install runs without error, it[/color]
          > does[color=green]
          > >| unpack necessary files, and it does create many Addin
          > >| related registry keys - but Outlook does not seem to be
          > >| aware that the Addin is installed.
          > >|
          > >| The target machine is another developer's machine and[/color]
          > it[color=green]
          > >| is configured correctly with all .NET framework[/color]
          > components[color=green]
          > >| etc. The user account doing the install is a local
          > >| machine administrator.
          > >|
          > >| Any ideas on how to fix a .NET extensibility install?
          > >|
          > >| --Richard
          > >|
          > >
          > >.
          > >[/color]
          >[/color]

          Comment

          Working...