![]() |
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. |
|
|
|
Thread Tools | Search this Thread | Display Modes |
#1
|
|||
|
|||
![]()
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 |
Ads |
#2
|
|||
|
|||
![]()
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" wrote in message ... 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 |
#3
|
|||
|
|||
![]()
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]" schrieb im Newsbeitrag ... 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" wrote in message ... 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 |
#4
|
|||
|
|||
![]()
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" wrote in message ... 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 |
#5
|
|||
|
|||
![]()
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]" schrieb im Newsbeitrag ... 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" wrote in message ... 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 |
#6
|
|||
|
|||
![]()
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" wrote in message ... 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. |
#7
|
|||
|
|||
![]()
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]" schrieb im Newsbeitrag ... 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" wrote in message ... 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. |
#8
|
|||
|
|||
![]()
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" wrote in message ... 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 |
#9
|
|||
|
|||
![]()
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]" schrieb im Newsbeitrag ... 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" wrote in message ... 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 |
#10
|
|||
|
|||
![]()
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" wrote in message ... 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 |
|
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Outlook 2003 wants to start install every time I start Outlook. | Steve Allen | Outlook - Installation | 2 | August 10th 07 03:42 AM |
VBA Addin | Mark Ivey | Outlook and VBA | 1 | June 9th 07 04:23 PM |
C# or C++ Addin | Alan | Add-ins for Outlook | 1 | June 8th 07 07:06 PM |
addin tab | Roy | Add-ins for Outlook | 11 | September 29th 06 12:09 AM |
Help with AddIn | nickdu | Add-ins for Outlook | 3 | September 28th 06 03:35 PM |