PC Review


Reply
Thread Tools Rate Thread

AddIn do not start

 
 
Hahn, Thomas
Guest
Posts: n/a
 
      30th Apr 2008
Hallo NG!

I write an Addin for Outlook 2002. On the development maschine the addin is
start with outlook.

Now the development is completed and I would deploy the addin to each
clients. For this I have create an Setup, which install the AddIn on the
target machine. All the file and regiytry values are wrote by the setup
correctly.

If I start Outlook the AddIn will not runing. I do not get any errors or
something else

I use
Windows XP SP2 with Outlook 2002

to developing
Visual Studios 2008

Thanks for your answer

TH


 
Reply With Quote
 
 
 
 
Ken Slovak - [MVP - Outlook]
Guest
Posts: n/a
 
      30th Apr 2008
Did you look in the COM Add-Ins dialog to see if your addin is listed and
checked?

If it's there but not checked does it start up when you check it?

Is it listed in the Disabled Items dialog (Help, About Microsoft Office
Outlook, Disabled Items button)?

Did you make sure to deploy all requirements and pre-requisites such as the
VSTO runtime, any required VSTO language pack, Framework, etc?

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


"Hahn, Thomas" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Hallo NG!
>
> I write an Addin for Outlook 2002. On the development maschine the addin
> is start with outlook.
>
> Now the development is completed and I would deploy the addin to each
> clients. For this I have create an Setup, which install the AddIn on the
> target machine. All the file and regiytry values are wrote by the setup
> correctly.
>
> If I start Outlook the AddIn will not runing. I do not get any errors or
> something else
>
> I use
> Windows XP SP2 with Outlook 2002
>
> to developing
> Visual Studios 2008
>
> Thanks for your answer
>
> TH
>


 
Reply With Quote
 
Hahn, Thomas
Guest
Posts: n/a
 
      1st May 2008
Hallo Ken,

The Add-In is not listen in the COM Add-Ins dialog. The dialog ist eamty.
So I can not activate my Add-In, because I do not see it.
It is also not in the list of deactived items. -- I can't see my Add-In in
outlook.
The registry values are all right - they are the same about the developer
machine.

I deployed all the needed files (components) The test pc and the developer
pc have the same version of XP and Outlook. The .net framework are
different. on the developer pc is the version 3.5 installed and on the test
pc the version 2. But the Add-In is develop for the .net framework 2.


Thomas

"Ken Slovak - [MVP - Outlook]" <(E-Mail Removed)> schrieb im Newsbeitrag
news:%(E-Mail Removed)...
> Did you look in the COM Add-Ins dialog to see if your addin is listed and
> checked?
>
> If it's there but not checked does it start up when you check it?
>
> Is it listed in the Disabled Items dialog (Help, About Microsoft Office
> Outlook, Disabled Items button)?
>
> Did you make sure to deploy all requirements and pre-requisites such as
> the VSTO runtime, any required VSTO language pack, Framework, etc?
>
> --
> 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
>
>
> "Hahn, Thomas" <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed)...
>> Hallo NG!
>>
>> I write an Addin for Outlook 2002. On the development maschine the addin
>> is start with outlook.
>>
>> Now the development is completed and I would deploy the addin to each
>> clients. For this I have create an Setup, which install the AddIn on the
>> target machine. All the file and regiytry values are wrote by the setup
>> correctly.
>>
>> If I start Outlook the AddIn will not runing. I do not get any errors or
>> something else
>>
>> I use
>> Windows XP SP2 with Outlook 2002
>>
>> to developing
>> Visual Studios 2008
>>
>> Thanks for your answer
>>
>> TH
>>

>



 
Reply With Quote
 
Ken Slovak - [MVP - Outlook]
Guest
Posts: n/a
 
      1st May 2008
An addin developed for Framework 2 shouldn't have any problems with
Framework 3 or 3.5.

If the addin is not listed in the COM Add-Ins dialog then it's one of 2
things. Either it's registered in HKLM and is an admin installation, or it's
not registered at all and therefore will never be started by Outlook.

Look at HKLM\Software\Microsoft\Office\Outlook\Addins and see if your addin
is registered there. Look also at HKCU with the same path and see if it's
registered there. You should see an entry for your addin using the ProgID
you set for your addin in the project.

Under that registry key you should see LoadBehavior, Description,
FriendlyName and CommandLineSafe. If those entries are not there the addin
is not correctly registered as an addin for Outlook.

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


"Hahn, Thomas" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Hallo Ken,
>
> The Add-In is not listen in the COM Add-Ins dialog. The dialog ist eamty.
> So I can not activate my Add-In, because I do not see it.
> It is also not in the list of deactived items. -- I can't see my Add-In in
> outlook.
> The registry values are all right - they are the same about the developer
> machine.
>
> I deployed all the needed files (components) The test pc and the developer
> pc have the same version of XP and Outlook. The .net framework are
> different. on the developer pc is the version 3.5 installed and on the
> test pc the version 2. But the Add-In is develop for the .net framework 2.
>
>
> Thomas


 
Reply With Quote
 
Hahn, Thomas
Guest
Posts: n/a
 
      2nd May 2008
I have installed the Add-In with a user account who have administration
rights.
The installation was finished without any error. In the eventlog is an
entry, that the installation was finished with out any errors.

I have checked the regitry entries. All of the entries can I found on the
named path. But only one entry, the 'CommandLineSafe" entry, I don't find
them in the registry. The commandlinesafe entry is also not on my developer
pc.


"Ken Slovak - [MVP - Outlook]" <(E-Mail Removed)> schrieb im Newsbeitrag
news:O$(E-Mail Removed)...
> An addin developed for Framework 2 shouldn't have any problems with
> Framework 3 or 3.5.
>
> If the addin is not listed in the COM Add-Ins dialog then it's one of 2
> things. Either it's registered in HKLM and is an admin installation, or
> it's not registered at all and therefore will never be started by Outlook.
>
> Look at HKLM\Software\Microsoft\Office\Outlook\Addins and see if your
> addin is registered there. Look also at HKCU with the same path and see if
> it's registered there. You should see an entry for your addin using the
> ProgID you set for your addin in the project.
>
> Under that registry key you should see LoadBehavior, Description,
> FriendlyName and CommandLineSafe. If those entries are not there the addin
> is not correctly registered as an addin for Outlook.
>
> --
> 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
>
>
> "Hahn, Thomas" <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed)...
>> Hallo Ken,
>>
>> The Add-In is not listen in the COM Add-Ins dialog. The dialog ist eamty.
>> So I can not activate my Add-In, because I do not see it.
>> It is also not in the list of deactived items. -- I can't see my Add-In
>> in outlook.
>> The registry values are all right - they are the same about the developer
>> machine.
>>
>> I deployed all the needed files (components) The test pc and the
>> developer pc have the same version of XP and Outlook. The .net framework
>> are different. on the developer pc is the version 3.5 installed and on
>> the test pc the version 2. But the Add-In is develop for the .net
>> framework 2.
>>
>>
>> Thomas

>



 
Reply With Quote
 
Ken Slovak - [MVP - Outlook]
Guest
Posts: n/a
 
      2nd May 2008
So where is the addin registered, in HKLM or in HKCU? What value does
LoadBehavior show, is it 3?

Do you have any error logging or other logging in the OnConnection event
handler that would tell you if you are at least getting that event?

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


"Hahn, Thomas" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
>I have installed the Add-In with a user account who have administration
>rights.
> The installation was finished without any error. In the eventlog is an
> entry, that the installation was finished with out any errors.
>
> I have checked the regitry entries. All of the entries can I found on the
> named path. But only one entry, the 'CommandLineSafe" entry, I don't find
> them in the registry. The commandlinesafe entry is also not on my
> developer pc.


 
Reply With Quote
 
Hahn, Thomas
Guest
Posts: n/a
 
      3rd May 2008
The add in is registered in HKCU and the LoadBehavior has the value 3.

The first line in the OnConnection event is "MsgBox(Hallo World")". But the
add doesn't show the msgbox..
So the event doesn't fired

"Ken Slovak - [MVP - Outlook]" <(E-Mail Removed)> schrieb im Newsbeitrag
news:(E-Mail Removed)...
> So where is the addin registered, in HKLM or in HKCU? What value does
> LoadBehavior show, is it 3?
>
> Do you have any error logging or other logging in the OnConnection event
> handler that would tell you if you are at least getting that event?
>
> --
> 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
>
>
> "Hahn, Thomas" <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed)...
>>I have installed the Add-In with a user account who have administration
>>rights.
>> The installation was finished without any error. In the eventlog is an
>> entry, that the installation was finished with out any errors.
>>
>> I have checked the regitry entries. All of the entries can I found on the
>> named path. But only one entry, the 'CommandLineSafe" entry, I don't
>> find them in the registry. The commandlinesafe entry is also not on my
>> developer pc.

>



 
Reply With Quote
 
Ken Slovak - [MVP - Outlook]
Guest
Posts: n/a
 
      5th May 2008
The only times I've seen that are either if there's a load error when the
addin is loaded and/or if the addin dll isn't registered correctly for COM
(not the addin registration but the class registration of the addin dll). Is
your addin dll set to be vsdrpCOM in the register property of the output of
the dll as shown in the setup project? Does the COM Add-Ins dialog show the
addin at all and if so if you check it do you see a load error from mscorlib
or other source?

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


"Hahn, Thomas" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> The add in is registered in HKCU and the LoadBehavior has the value 3.
>
> The first line in the OnConnection event is "MsgBox(Hallo World")". But
> the add doesn't show the msgbox..
> So the event doesn't fired


 
Reply With Quote
 
Hahn, Thomas
Guest
Posts: n/a
 
      9th May 2008
The register property of the dll is set to 'vsdrpCOM'. The com add-in dialog
dosn't show the add-in at all. So I can't check the add in.

Thomas


"Ken Slovak - [MVP - Outlook]" <(E-Mail Removed)> schrieb im Newsbeitrag
news:(E-Mail Removed)...
> The only times I've seen that are either if there's a load error when the
> addin is loaded and/or if the addin dll isn't registered correctly for COM
> (not the addin registration but the class registration of the addin dll).
> Is your addin dll set to be vsdrpCOM in the register property of the
> output of the dll as shown in the setup project? Does the COM Add-Ins
> dialog show the addin at all and if so if you check it do you see a load
> error from mscorlib or other source?
>
> --
> 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
>
>
> "Hahn, Thomas" <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed)...
>> The add in is registered in HKCU and the LoadBehavior has the value 3.
>>
>> The first line in the OnConnection event is "MsgBox(Hallo World")". But
>> the add doesn't show the msgbox..
>> So the event doesn't fired

>



 
Reply With Quote
 
Ken Slovak - [MVP - Outlook]
Guest
Posts: n/a
 
      9th May 2008
The only reasons that the COM Add-Ins dialog doesn't show an addin are if
it's not registered or if it's registered for all users in the HKLM hive of
the registry instead of in HKCU (current user). Since you said that the
addin is registered only in HKCU (it's not there at all in HKLM, is it?) the
only thing left is that for whatever reason the addin is not being
registered.

When I say that I mean the class isn't being registered, not the addin
registration at \Software\Microsoft\Office\Outlook\Addins. The registration
I'm talking about is the COM registration in HKCR.

If that's the case then there's something wrong with your installer.

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


"Hahn, Thomas" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> The register property of the dll is set to 'vsdrpCOM'. The com add-in
> dialog dosn't show the add-in at all. So I can't check the add in.
>
> Thomas


 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
RowLiner addin How to Start and Stop mrmikegun@hotmail.com Microsoft Excel Programming 3 8th Dec 2010 03:00 PM
VSTO SE + Outlook 2003 on Vista -> Addin does not start after upda BillyD Microsoft Outlook Program Addins 6 12th Sep 2008 04:57 PM
prevent all addin loads on start? =?Utf-8?B?VmFjYXRpb24ncyBPdmVy?= Microsoft Excel Programming 1 4th Aug 2005 10:01 PM
Addin Error message on start up Norma Microsoft Outlook Program Addins 2 6th Jan 2004 02:30 PM
howtofix excel 2000 says invalid AddIn for valid excel97 AddIn robm Microsoft Excel Discussion 0 24th Sep 2003 06:06 PM


Features
 

Advertising
 

Newsgroups
 


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