Extensibility install not working

R

Richard

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
 
J

Jeffrey Tan[MSFT]

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" <[email protected]>
| Sender: "Richard" <[email protected]>
| Subject: Extensibility install not working
| Date: Wed, 1 Oct 2003 14:26:47 -0700
| Lines: 20
| Message-ID: <[email protected]>
| 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: AcOIYrfwTxGBYGRYTWCt83HJcSvUeQ==
| Newsgroups: microsoft.public.dotnet.languages.csharp
| Path: cpmsftngxa06.phx.gbl
| Xref: cpmsftngxa06.phx.gbl microsoft.public.dotnet.languages.csharp:188441
| NNTP-Posting-Host: TK2MSFTNGXA08 10.40.1.160
| X-Tomcat-NG: microsoft.public.dotnet.languages.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
|
 
R

Richard

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
 
J

Jeffrey Tan[MSFT]

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" <[email protected]>
| Sender: "Richard" <[email protected]>
| References: <[email protected]>
<[email protected]>
| Subject: RE: Extensibility install not working
| Date: Thu, 2 Oct 2003 10:53:42 -0700
| Lines: 83
| Message-ID: <[email protected]>
| 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: AcOJDh3v2jYNDwVOT9+k708SYaur5Q==
| Newsgroups: microsoft.public.dotnet.languages.csharp
| Path: cpmsftngxa06.phx.gbl
| Xref: cpmsftngxa06.phx.gbl microsoft.public.dotnet.languages.csharp:188607
| NNTP-Posting-Host: TK2MSFTNGXA11 10.40.1.163
| X-Tomcat-NG: microsoft.public.dotnet.languages.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" <[email protected]>
| >| Sender: "Richard" <[email protected]>
| >| Subject: Extensibility install not working
| >| Date: Wed, 1 Oct 2003 14:26:47 -0700
| >| Lines: 20
| >| Message-ID: <[email protected]>
| >| 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: AcOIYrfwTxGBYGRYTWCt83HJcSvUeQ==
| >| Newsgroups: microsoft.public.dotnet.languages.csharp
| >| Path: cpmsftngxa06.phx.gbl
| >| Xref: cpmsftngxa06.phx.gbl
| microsoft.public.dotnet.languages.csharp:188441
| >| NNTP-Posting-Host: TK2MSFTNGXA08 10.40.1.160
| >| X-Tomcat-NG: microsoft.public.dotnet.languages.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
| >|
| >
| >.
| >
|
 
S

Sunny

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 "LoadBehavior" 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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top