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



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old June 13th 08, 02:21 PM posted to microsoft.public.outlook.program_addins
Brian Nicholson
external usenet poster
 
Posts: 1
Default Outlook Add-In Loading Problems

Hello,

We have recently developed a simple add-in for Outlook developed in VSTO for
a number of our users, but with a few of the users, the add-in simply doesn't
load.

Currently, we have a setup package that installs the necessary keys in HKLM
and the necessary FullTrust code group in My_Computer_Zone. The add-in
creates a simple 2-button toolbar in Outlook. We tested the add-in on a
number of machines before pushing it, and it worked on all of them. After
pushing to approximately 30 users, however, we found that add-in toolbar did
not appear for several people (at least 4-5 that we are aware of).

Here’s where we are stuck: we attempted to fix the issue by installing the
add-in manually for each user. After installation, the add-in works as
expected under the Administrator account used for installation. If we log on
to a test account which has normal user permissions, the add-in also appears
as it should. However, when the computer’s main user attempts to load the
add-in, it still doesn’t load. We’ve tried completely uninstalling and
reinstalling to no avail. We’ve also tried logging to a file when the add-in
loads, but even this entry doesn’t show up, so it seems there must be some
setting/program on the user’s account which prevents the add-in from even
beginning the load process.

Our initial reaction was that VSTO or some other necessary dependencies
didn’t exist on the users’ computers, but the fact that the add-in works on
all accounts except for a single user has killed that theory. What could be
the cause of this?

Thanks,
Brian
  #2  
Old June 13th 08, 02:30 PM posted to microsoft.public.outlook.program_addins
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default Outlook Add-In Loading Problems

What version of Windows are the problem users using? Are they under UAC if
this is with Vista? Did you look at the information about what you have to
do for VSTO addins to get them to correctly install and run when registering
to HKLM?

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


"Brian Nicholson" Brian wrote in
message ...
Hello,

We have recently developed a simple add-in for Outlook developed in VSTO
for
a number of our users, but with a few of the users, the add-in simply
doesn't
load.

Currently, we have a setup package that installs the necessary keys in
HKLM
and the necessary FullTrust code group in My_Computer_Zone. The add-in
creates a simple 2-button toolbar in Outlook. We tested the add-in on a
number of machines before pushing it, and it worked on all of them. After
pushing to approximately 30 users, however, we found that add-in toolbar
did
not appear for several people (at least 4-5 that we are aware of).

Here’s where we are stuck: we attempted to fix the issue by installing the
add-in manually for each user. After installation, the add-in works as
expected under the Administrator account used for installation. If we log
on
to a test account which has normal user permissions, the add-in also
appears
as it should. However, when the computer’s main user attempts to load the
add-in, it still doesn’t load. We’ve tried completely uninstalling and
reinstalling to no avail. We’ve also tried logging to a file when the
add-in
loads, but even this entry doesn’t show up, so it seems there must be some
setting/program on the user’s account which prevents the add-in from even
beginning the load process.

Our initial reaction was that VSTO or some other necessary dependencies
didn’t exist on the users’ computers, but the fact that the add-in works
on
all accounts except for a single user has killed that theory. What could
be
the cause of this?

Thanks,
Brian


  #3  
Old June 13th 08, 02:41 PM posted to microsoft.public.outlook.program_addins
Brian Nicholson[_2_]
external usenet poster
 
Posts: 2
Default Outlook Add-In Loading Problems

Most of the users have Windows XP, but a few have 2000 -- none have Vista.
Also, I forgot to mention that this is for Microsoft Outlook 2003. As far as
I know, for Office 2003, all you have to do is put the same HKCU keys into
HKLM, correct? It seems like this would be set up correctly since the
problem only occurs for a single user on the machine.

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

What version of Windows are the problem users using? Are they under UAC if
this is with Vista? Did you look at the information about what you have to
do for VSTO addins to get them to correctly install and run when registering
to HKLM?

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


"Brian Nicholson" Brian wrote in
message ...
Hello,

We have recently developed a simple add-in for Outlook developed in VSTO
for
a number of our users, but with a few of the users, the add-in simply
doesn't
load.

Currently, we have a setup package that installs the necessary keys in
HKLM
and the necessary FullTrust code group in My_Computer_Zone. The add-in
creates a simple 2-button toolbar in Outlook. We tested the add-in on a
number of machines before pushing it, and it worked on all of them. After
pushing to approximately 30 users, however, we found that add-in toolbar
did
not appear for several people (at least 4-5 that we are aware of).

Here’s where we are stuck: we attempted to fix the issue by installing the
add-in manually for each user. After installation, the add-in works as
expected under the Administrator account used for installation. If we log
on
to a test account which has normal user permissions, the add-in also
appears
as it should. However, when the computer’s main user attempts to load the
add-in, it still doesn’t load. We’ve tried completely uninstalling and
reinstalling to no avail. We’ve also tried logging to a file when the
add-in
loads, but even this entry doesn’t show up, so it seems there must be some
setting/program on the user’s account which prevents the add-in from even
beginning the load process.

Our initial reaction was that VSTO or some other necessary dependencies
didn’t exist on the users’ computers, but the fact that the add-in works
on
all accounts except for a single user has killed that theory. What could
be
the cause of this?

Thanks,
Brian



  #4  
Old June 13th 08, 03:29 PM posted to microsoft.public.outlook.program_addins
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default Outlook Add-In Loading Problems

No, it's not that simple. Out of the box VSTO does not support installation
in HKLM, only in HKCU. There are articles about how to get VSTO to support
installation in HKLM.

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


"Brian Nicholson" wrote in
message ...
Most of the users have Windows XP, but a few have 2000 -- none have Vista.
Also, I forgot to mention that this is for Microsoft Outlook 2003. As far
as
I know, for Office 2003, all you have to do is put the same HKCU keys into
HKLM, correct? It seems like this would be set up correctly since the
problem only occurs for a single user on the machine.


  #5  
Old June 13th 08, 04:05 PM posted to microsoft.public.outlook.program_addins
Brian Nicholson[_2_]
external usenet poster
 
Posts: 2
Default Outlook Add-In Loading Problems

I've been trying to find articles on HKLM in Office 2003, but most of the
articles I find seem to address only Office 2007. One of the first articles
I came across when developing the add-in was the following,

http://blogs.msdn.com/mshneer/archiv...rs-part-i.aspx

where the author says:

Office 2003 does not have a native notion of managed add-ins. So all COM
add-ins (even VSTO add-ins for Office 2003) can be registered under HKLM hive
(e.g. HKLM\Software\Microsoft\Office\Excel\AddIns\MyAdd) which will work for
machine-wide deployment - and this is how machine wide deployment of add-ins
has been done in the past.

If this is incorrect, could you perhaps point me in the right direction?

Thanks.

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

No, it's not that simple. Out of the box VSTO does not support installation
in HKLM, only in HKCU. There are articles about how to get VSTO to support
installation in HKLM.

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


"Brian Nicholson" wrote in
message ...
Most of the users have Windows XP, but a few have 2000 -- none have Vista.
Also, I forgot to mention that this is for Microsoft Outlook 2003. As far
as
I know, for Office 2003, all you have to do is put the same HKCU keys into
HKLM, correct? It seems like this would be set up correctly since the
problem only occurs for a single user on the machine.



  #6  
Old June 13th 08, 09:16 PM posted to microsoft.public.outlook.program_addins
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default Outlook Add-In Loading Problems

Misha's blog posts were what I was thinking of. There are comments below the
blog posts about how all that he said relates to Outlook 2003. Make sure to
read everything and follow it very closely.

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


"Brian Nicholson" wrote in
message ...
I've been trying to find articles on HKLM in Office 2003, but most of the
articles I find seem to address only Office 2007. One of the first
articles
I came across when developing the add-in was the following,

http://blogs.msdn.com/mshneer/archiv...rs-part-i.aspx

where the author says:

Office 2003 does not have a native notion of managed add-ins. So all COM
add-ins (even VSTO add-ins for Office 2003) can be registered under HKLM
hive
(e.g. HKLM\Software\Microsoft\Office\Excel\AddIns\MyAdd) which will work
for
machine-wide deployment - and this is how machine wide deployment of
add-ins
has been done in the past.

If this is incorrect, could you perhaps point me in the right direction?

Thanks.


 




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
Errors - Loading Outlook and to-do bar Stuart Outlook - Calandaring 1 October 9th 07 07:16 PM
Outlook Hanging up and not loading Davet102 Outlook - Installation 1 April 16th 07 03:28 AM
Outlook Out of Office not loading cooperdude Outlook - General Queries 1 September 8th 06 03:13 PM
Outlook-Addin is not loading AtulSureka Outlook - Using Forms 0 August 3rd 06 02:53 PM
Outlook add-ins stop loading [email protected] Add-ins for Outlook 0 May 16th 06 11:24 PM


All times are GMT +1. The time now is 12:36 PM.


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.