A Microsoft Outlook email forum. Outlook Banter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » Outlook Banter forum » Microsoft Outlook Email Newsgroups » Add-ins for Outlook
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Outlook Add-in only loading on my development machine



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old October 11th 07, 08:11 AM posted to microsoft.public.outlook.program_addins
bernat
external usenet poster
 
Posts: 3
Default Outlook Add-in only loading on my development machine

Hello,

I'm currently developing an Outlook Add-in with Visual C# 2005 Express. It
loads and run on my development machine but it does not on any other machine,
and Outlook changes LoadBehavior property on my registry from 3 to 2.
I've coded an Add-in from scratch (on another machine) , an empty Outlook
Add-in that shows a popup box on OnConnect method, but it also loads and run
on the development machine.
Basically, I think that the problem is that any Add-in only runs on the
development machine.

Has anyone the same problem?
Any suggestions?

Regards,

Bernat.
  #2  
Old October 11th 07, 08:19 AM posted to microsoft.public.outlook.program_addins
bernat
external usenet poster
 
Posts: 3
Default Outlook Add-in only loading on my development machine

Oh, I installed the following in the client machine and development machine.

* Windows XP
* Microsoft Office 2003
* MS PIA
* lockbackRegKey.msi
* extensibilityMSM.msi

And yes, I've written all the registry entries needed for the Add-in to work
and on the development machine I'm installing the Add-in using NSIS
installing software, i mean that i'm not running it through the debugger.
  #3  
Old October 11th 07, 02:14 PM posted to microsoft.public.outlook.program_addins
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default Outlook Add-in only loading on my development machine

Did you make sure to deploy any other dependencies you might be using? The
most common missing one on a machine that doesn't have VS installed is
stdole.dll.

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Professional Programming Outlook 2007
Reminder Manager, Extended Reminders, Attachment Options
http://www.slovaktech.com/products.htm


"bernat" wrote in message
...
Oh, I installed the following in the client machine and development
machine.

* Windows XP
* Microsoft Office 2003
* MS PIA
* lockbackRegKey.msi
* extensibilityMSM.msi

And yes, I've written all the registry entries needed for the Add-in to
work
and on the development machine I'm installing the Add-in using NSIS
installing software, i mean that i'm not running it through the debugger.


  #4  
Old October 11th 07, 03:27 PM posted to microsoft.public.outlook.program_addins
bernat
external usenet poster
 
Posts: 3
Default Outlook Add-in only loading on my development machine

I've deployed all dependencies on my client machine, including stdole.dll but
the add-in doesn't load.
When I open Outlook on my client machine, the Add-in doesn't execute the
OnConnection method and changes the LoadBehavior from 3 to 2 on the registry.
Every time I change the LoadBehavior to 3 and then execute Outlook, it
changes the property to 2.
I'm not using VSTO, instead, I've written the Add-in from scratch,
implementing Extensibility.IDTExtensibility2 and writing all registry keys
needed for the add-in to work.
Today i've been developing a simple/dummy outlook addin on the client
machine, the add-in shows a popup box when outlook starts, and it works! but
it works only on the developing machine. If I put this simple/dummy addin on
my original machine, it doesn't load nor run.
No matter the complexity of the add-in, for me, an outlook add-in only runs
on the development machine.


"Ken Slovak - [MVP - Outlook]" wrote:

Did you make sure to deploy any other dependencies you might be using? The
most common missing one on a machine that doesn't have VS installed is
stdole.dll.

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Professional Programming Outlook 2007
Reminder Manager, Extended Reminders, Attachment Options
http://www.slovaktech.com/products.htm


"bernat" wrote in message
...
Oh, I installed the following in the client machine and development
machine.

* Windows XP
* Microsoft Office 2003
* MS PIA
* lockbackRegKey.msi
* extensibilityMSM.msi

And yes, I've written all the registry entries needed for the Add-in to
work
and on the development machine I'm installing the Add-in using NSIS
installing software, i mean that i'm not running it through the debugger.



  #5  
Old October 11th 07, 06:41 PM posted to microsoft.public.outlook.program_addins
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default Outlook Add-in only loading on my development machine

I'm wondering if that's due to using VS Express rather than the full-blown
version. I recall something about limitations of VS Express. According to
the feature comparisons at
http://msdn2.microsoft.com/en-us/express/aa700921.aspx addins aren't
supported by VS Express, so that might be the problem.

FWIW, I've never had any problems deploying extensibility addins for Outlook
as long as the requirements were installed on the target computer. It's not
like with VSTO, which can make deployment a real chore.

If OnConnection isn't being fired it's one of 2 things:
missing prerequisites or requirements or limitations in the Express
package.

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Professional Programming Outlook 2007
Reminder Manager, Extended Reminders, Attachment Options
http://www.slovaktech.com/products.htm


"bernat" wrote in message
...
I've deployed all dependencies on my client machine, including stdole.dll
but
the add-in doesn't load.
When I open Outlook on my client machine, the Add-in doesn't execute the
OnConnection method and changes the LoadBehavior from 3 to 2 on the
registry.
Every time I change the LoadBehavior to 3 and then execute Outlook, it
changes the property to 2.
I'm not using VSTO, instead, I've written the Add-in from scratch,
implementing Extensibility.IDTExtensibility2 and writing all registry keys
needed for the add-in to work.
Today i've been developing a simple/dummy outlook addin on the client
machine, the add-in shows a popup box when outlook starts, and it works!
but
it works only on the developing machine. If I put this simple/dummy addin
on
my original machine, it doesn't load nor run.
No matter the complexity of the add-in, for me, an outlook add-in only
runs
on the development machine.


  #6  
Old October 11th 07, 07:32 PM posted to microsoft.public.outlook.program_addins
Helmut Obertanner
external usenet poster
 
Posts: 4
Default Outlook Add-in only loading on my development machine

Hello,

as I know you should create a COM Shim for a .Net Extensibility AddIn.
Thats a native COM wrapper for your .Net AddIn.

See
http://blogs.msdn.com/mshneer/archiv...udio-2005.aspx
Download:
http://www.microsoft.com/downloads/d...displaylang=en

Also make sure that on the Target machine there is no other .Net Addin wich
maybe causes problems by referencing another framework version (1.1)

Hope this helps,
greets, Helmut




"bernat" schrieb im Newsbeitrag
...
I've deployed all dependencies on my client machine, including stdole.dll
but
the add-in doesn't load.
When I open Outlook on my client machine, the Add-in doesn't execute the
OnConnection method and changes the LoadBehavior from 3 to 2 on the
registry.
Every time I change the LoadBehavior to 3 and then execute Outlook, it
changes the property to 2.
I'm not using VSTO, instead, I've written the Add-in from scratch,
implementing Extensibility.IDTExtensibility2 and writing all registry keys
needed for the add-in to work.
Today i've been developing a simple/dummy outlook addin on the client
machine, the add-in shows a popup box when outlook starts, and it works!
but
it works only on the developing machine. If I put this simple/dummy addin
on
my original machine, it doesn't load nor run.
No matter the complexity of the add-in, for me, an outlook add-in only
runs
on the development machine.


"Ken Slovak - [MVP - Outlook]" wrote:

Did you make sure to deploy any other dependencies you might be using?
The
most common missing one on a machine that doesn't have VS installed is
stdole.dll.

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Professional Programming Outlook 2007
Reminder Manager, Extended Reminders, Attachment Options
http://www.slovaktech.com/products.htm


"bernat" wrote in message
...
Oh, I installed the following in the client machine and development
machine.

* Windows XP
* Microsoft Office 2003
* MS PIA
* lockbackRegKey.msi
* extensibilityMSM.msi

And yes, I've written all the registry entries needed for the Add-in to
work
and on the development machine I'm installing the Add-in using NSIS
installing software, i mean that i'm not running it through the
debugger.




  #7  
Old October 11th 07, 08:42 PM posted to microsoft.public.outlook.program_addins
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default Outlook Add-in only loading on my development machine

Hi Helmut

Although if there are no other addins or none creating a problem the addin
should load and run with no problems even without a shim.

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Professional Programming Outlook 2007
Reminder Manager, Extended Reminders, Attachment Options
http://www.slovaktech.com/products.htm


"Helmut Obertanner" wrote in message
...
Hello,

as I know you should create a COM Shim for a .Net Extensibility AddIn.
Thats a native COM wrapper for your .Net AddIn.

See
http://blogs.msdn.com/mshneer/archiv...udio-2005.aspx
Download:
http://www.microsoft.com/downloads/d...displaylang=en

Also make sure that on the Target machine there is no other .Net Addin
wich maybe causes problems by referencing another framework version (1.1)

Hope this helps,
greets, Helmut


 




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Can MS outlook be use for software development bug tracking- Carol Outlook and VBA 1 July 9th 07 06:31 PM
Best Outlook Add-In development companies? Mark B Add-ins for Outlook 5 June 21st 07 12:06 PM
Importing pst file from Outlook 2003 (XP Machine) to Outlook 2007 (Vista Machine) - having problems Outish Outlook - General Queries 4 February 7th 07 04:06 PM
Moving NK2 File from XP machine to Vista machine Darrin Outlook - Using Contacts 5 February 2nd 07 09:53 PM
Outlook Web Access Development AaronTJ Outlook - General Queries 1 February 16th 06 02:25 AM


All times are GMT +1. The time now is 08:43 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2025 Outlook Banter.
The comments are property of their posters.