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

Install VSTO Add-in for OL2003 For All Users (including non-Admin)



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old September 8th 08, 08:58 AM posted to microsoft.public.outlook.program_addins
AlanGlover
external usenet poster
 
Posts: 11
Default Install VSTO Add-in for OL2003 For All Users (including non-Admin)

I want to install my addin to HKLM rather than HKCU so that all users can use
it. I can make the necessary registry changes to the setup project and
install it as administrator and it works OK for all users - but only if they
are administrators.

There is conflicting evidence on the web: this MS article tells you how to
do it - so you would figure it was supported:

http://msdn.microsoft.com/en-us/libr...nf orAllUsers

but I have seen Ken Slovak responses suggesting this is not supported...eg:

http://help.lockergnome.com/office/V...ict942994.html

Can anyone give me a definitive answer on this? Is there any way out?

I hope so because it will cost me a 6 figure sale - not to mention the six
months of work thats gone into it. Help!
  #2  
Old September 8th 08, 02:06 PM posted to microsoft.public.outlook.program_addins
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default Install VSTO Add-in for OL2003 For All Users (including non-Admin)

That answer was provided before that MSDN article or the blog posts Misha
made telling how to deploy a VSTO addin for all users. At that point the
official word was that VSTO addins only could be deployed for current user.

So yes, following all the steps in that deployment article should allow your
addin to work when installed for all users.

For more explicit information on the problem you're having I'd suggest
posting to the VSTO forum on MSDN, the VSTO team answers questions there and
should be able to provide answers for you:
http://forums.microsoft.com/MSDN/Sho...ID=16&SiteID=1

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


"AlanGlover" wrote in message
...
I want to install my addin to HKLM rather than HKCU so that all users can
use
it. I can make the necessary registry changes to the setup project and
install it as administrator and it works OK for all users - but only if
they
are administrators.

There is conflicting evidence on the web: this MS article tells you how to
do it - so you would figure it was supported:

http://msdn.microsoft.com/en-us/libr...nf orAllUsers

but I have seen Ken Slovak responses suggesting this is not
supported...eg:

http://help.lockergnome.com/office/V...ict942994.html

Can anyone give me a definitive answer on this? Is there any way out?

I hope so because it will cost me a 6 figure sale - not to mention the six
months of work thats gone into it. Help!


  #3  
Old September 8th 08, 06:22 PM posted to microsoft.public.outlook.program_addins
AlanGlover
external usenet poster
 
Posts: 11
Default Install VSTO Add-in for OL2003 For All Users (including non-Ad

Thanks Ken - its very hard to know which advice is still current and which
has been superseded by later releases or service packs.

The article says for Outlook 2003 I just need to modify the setup procedure
to put keys into HKLM instead of HKCU but it doesn't work for me.

I wonder if the author means for "COM Add-ins for OL2003" ?

VSTO 2005 SE produces managed code add-ins for OL 2003 and thats what I'm
trying to deploy - but the other deployment instructions which involve
writing code to create the Keys in HKCU during application start-up say they
are for OL 2007 - the instructions also leave a lot for me to work out for
myself which will be difficult and time consuming and then possibly not
relevant. I'm concerned they rely on features only available in OL2007.

I've tried the other forum as you suggested.

thanks

Alan

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

That answer was provided before that MSDN article or the blog posts Misha
made telling how to deploy a VSTO addin for all users. At that point the
official word was that VSTO addins only could be deployed for current user.

So yes, following all the steps in that deployment article should allow your
addin to work when installed for all users.

For more explicit information on the problem you're having I'd suggest
posting to the VSTO forum on MSDN, the VSTO team answers questions there and
should be able to provide answers for you:
http://forums.microsoft.com/MSDN/Sho...ID=16&SiteID=1

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


"AlanGlover" wrote in message
...
I want to install my addin to HKLM rather than HKCU so that all users can
use
it. I can make the necessary registry changes to the setup project and
install it as administrator and it works OK for all users - but only if
they
are administrators.

There is conflicting evidence on the web: this MS article tells you how to
do it - so you would figure it was supported:

http://msdn.microsoft.com/en-us/libr...nf orAllUsers

but I have seen Ken Slovak responses suggesting this is not
supported...eg:

http://help.lockergnome.com/office/V...ict942994.html

Can anyone give me a definitive answer on this? Is there any way out?

I hope so because it will cost me a 6 figure sale - not to mention the six
months of work thats gone into it. Help!



  #4  
Old September 8th 08, 09:24 PM posted to microsoft.public.outlook.program_addins
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default Install VSTO Add-in for OL2003 For All Users (including non-Ad

I believe the author meant for Outlook 2003 COM addins.

Outlook 2003 doesn't care about whether managed code addins are registered
in HCKU or HKLM. It's only Outlook 2007 that cares about that. So if all you
need to support is Outlook 2003 and don't need to support Outlook 2007 at
all you could probably just register in HKLM and not try to echo the
settings to HKCU per the articles.

This is all theoretical for me though, I've never tried to deploy a VSTO
addin to HKLM or for all users.

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


"AlanGlover" wrote in message
...
Thanks Ken - its very hard to know which advice is still current and which
has been superseded by later releases or service packs.

The article says for Outlook 2003 I just need to modify the setup
procedure
to put keys into HKLM instead of HKCU but it doesn't work for me.

I wonder if the author means for "COM Add-ins for OL2003" ?

VSTO 2005 SE produces managed code add-ins for OL 2003 and thats what I'm
trying to deploy - but the other deployment instructions which involve
writing code to create the Keys in HKCU during application start-up say
they
are for OL 2007 - the instructions also leave a lot for me to work out for
myself which will be difficult and time consuming and then possibly not
relevant. I'm concerned they rely on features only available in OL2007.

I've tried the other forum as you suggested.

thanks

Alan


  #5  
Old September 9th 08, 02:13 PM posted to microsoft.public.outlook.program_addins
Dave [MSFT][_2_]
external usenet poster
 
Posts: 2
Default Install VSTO Add-in for OL2003 For All Users (including non-Admin)

Hi Alan,

Installing a VSTO solution to HKLM will "work" in Outlook 2003 but is not
supported. As Ken already noted in Outlook 2007, VSTO solutions will _NOT_
work if they are registered in the HKLM hive (i.e.
HKLM\SW\Microsoft\Office\Outlook\Addins\).

Here is more information that may be helpful (at least for Outlook 2007)

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

http://blogs.msdn.com/mshneer/archiv...s-part-ii.aspx

HTH,

Dave Vespa


"AlanGlover" wrote:

I want to install my addin to HKLM rather than HKCU so that all users can use
it. I can make the necessary registry changes to the setup project and
install it as administrator and it works OK for all users - but only if they
are administrators.

There is conflicting evidence on the web: this MS article tells you how to
do it - so you would figure it was supported:

http://msdn.microsoft.com/en-us/libr...nf orAllUsers

but I have seen Ken Slovak responses suggesting this is not supported...eg:

http://help.lockergnome.com/office/V...ict942994.html

Can anyone give me a definitive answer on this? Is there any way out?

I hope so because it will cost me a 6 figure sale - not to mention the six
months of work thats gone into it. Help!

 




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
Making Addins installable by non-admin users Mark J. McGinty Add-ins for Outlook 1 July 28th 07 06:55 AM
VSTO Outlook Addin doesn't get loaded for non-admin user Piyush Gupta Add-ins for Outlook 5 May 9th 07 07:24 PM
Install Outlook Calendar Update Tool as NON-Admin? Aaron Outlook - General Queries 1 March 8th 07 07:12 PM
Can WSUS update an Admin install of Office 2003? TLMPLHou66 Outlook - Installation 1 November 16th 06 01:46 AM
Users accts must be admin? eL D Outlook - Installation 2 March 12th 06 05:15 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.