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

VSTO Outlook Addin doesn't get loaded for non-admin user



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old March 6th 07, 07:21 PM posted to microsoft.public.outlook.program_addins
Piyush Gupta
external usenet poster
 
Posts: 9
Default VSTO Outlook Addin doesn't get loaded for non-admin user

Hi,

I am trying to deploy my VSTO Addin for Outlook 2003 for all users on
a machine by following these steps:

1. Change addin installer to add keys to HKLM instead of HKCU.
2. Build installation.
3. Install addin on target machine using user having Administrator
privileges.
4. Run MS Outlook 2003 and verify that addin has been loaded properly.
5. Login as a normal user on target machine.
6. Run MS Outlook 2003.
7. Outlook tries to install few things before showing up the UI.
8. Addin doesn't get loaded.

There is following error in the event log:
The description for Event ID ( 0 ) in Source ( .NET Runtime ) cannot
be found. The local computer may not have the necessary registry
information or message DLL files to display messages from a remote
computer. The following information is part of the event: Unable to
open shim database version registry key - v2.0.50727.00000.

and few warnings like:
Detection of product '{90110409-6000-11D3-8CFE-0150048383C9}', feature
'ProductFiles', component '{66CD2C91-2A15-4DA4-BBD2-5EC1075F3C0E}'
failed. The resource 'HKEY_CLASSES_ROOT\.pip\' does not exist.
Detection of product '{90110409-6000-11D3-8CFE-0150048383C9}', feature
'WORDFiles' failed during request for component '{1EBDE4BC-9A51-4630-
B541-2561FA45CCC5}'

But if I elevate normal user as admin and try logging again, addin
does get loaded. I think this must be pretty common requirement to
install addin for non-admin users on a target machine. Can you guys
suggest me any solution for this problem?

Appreciate your help,
Piyush.

  #2  
Old March 7th 07, 03:37 PM posted to microsoft.public.outlook.program_addins
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default VSTO Outlook Addin doesn't get loaded for non-admin user

You do know that VSTO does not support registering in HKLM don't you? A VSTO
addin should be installed on a per user basis.

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Absolute Beginner's Guide to Microsoft Office Outlook 2003
Reminder Manager, Extended Reminders, Attachment Options
http://www.slovaktech.com/products.htm


"Piyush Gupta" wrote in message
ups.com...
Hi,

I am trying to deploy my VSTO Addin for Outlook 2003 for all users on
a machine by following these steps:

1. Change addin installer to add keys to HKLM instead of HKCU.
2. Build installation.
3. Install addin on target machine using user having Administrator
privileges.
4. Run MS Outlook 2003 and verify that addin has been loaded properly.
5. Login as a normal user on target machine.
6. Run MS Outlook 2003.
7. Outlook tries to install few things before showing up the UI.
8. Addin doesn't get loaded.

There is following error in the event log:
The description for Event ID ( 0 ) in Source ( .NET Runtime ) cannot
be found. The local computer may not have the necessary registry
information or message DLL files to display messages from a remote
computer. The following information is part of the event: Unable to
open shim database version registry key - v2.0.50727.00000.

and few warnings like:
Detection of product '{90110409-6000-11D3-8CFE-0150048383C9}', feature
'ProductFiles', component '{66CD2C91-2A15-4DA4-BBD2-5EC1075F3C0E}'
failed. The resource 'HKEY_CLASSES_ROOT\.pip\' does not exist.
Detection of product '{90110409-6000-11D3-8CFE-0150048383C9}', feature
'WORDFiles' failed during request for component '{1EBDE4BC-9A51-4630-
B541-2561FA45CCC5}'

But if I elevate normal user as admin and try logging again, addin
does get loaded. I think this must be pretty common requirement to
install addin for non-admin users on a target machine. Can you guys
suggest me any solution for this problem?

Appreciate your help,
Piyush.


  #3  
Old March 30th 07, 03:37 AM posted to microsoft.public.outlook.program_addins
Dean Cleaver
external usenet poster
 
Posts: 1
Default VSTO Outlook Addin doesn't get loaded for non-admin user

Ken,

I don't believe that is true, as I have mine loaded via Local Machine, and
it works fine.

Piyush,

Look into giving your strong name full trust - if you're unsure of how to do
that, I can send you a script later.

Dino

"Ken Slovak - [MVP - Outlook]" wrote in message
...
You do know that VSTO does not support registering in HKLM don't you? A
VSTO addin should be installed on a per user basis.

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Absolute Beginner's Guide to Microsoft Office Outlook 2003
Reminder Manager, Extended Reminders, Attachment Options
http://www.slovaktech.com/products.htm


"Piyush Gupta" wrote in message
ups.com...
Hi,

I am trying to deploy my VSTO Addin for Outlook 2003 for all users on
a machine by following these steps:

1. Change addin installer to add keys to HKLM instead of HKCU.
2. Build installation.
3. Install addin on target machine using user having Administrator
privileges.
4. Run MS Outlook 2003 and verify that addin has been loaded properly.
5. Login as a normal user on target machine.
6. Run MS Outlook 2003.
7. Outlook tries to install few things before showing up the UI.
8. Addin doesn't get loaded.

There is following error in the event log:
The description for Event ID ( 0 ) in Source ( .NET Runtime ) cannot
be found. The local computer may not have the necessary registry
information or message DLL files to display messages from a remote
computer. The following information is part of the event: Unable to
open shim database version registry key - v2.0.50727.00000.

and few warnings like:
Detection of product '{90110409-6000-11D3-8CFE-0150048383C9}', feature
'ProductFiles', component '{66CD2C91-2A15-4DA4-BBD2-5EC1075F3C0E}'
failed. The resource 'HKEY_CLASSES_ROOT\.pip\' does not exist.
Detection of product '{90110409-6000-11D3-8CFE-0150048383C9}', feature
'WORDFiles' failed during request for component '{1EBDE4BC-9A51-4630-
B541-2561FA45CCC5}'

But if I elevate normal user as admin and try logging again, addin
does get loaded. I think this must be pretty common requirement to
install addin for non-admin users on a target machine. Can you guys
suggest me any solution for this problem?

Appreciate your help,
Piyush.




  #4  
Old March 30th 07, 02:14 PM posted to microsoft.public.outlook.program_addins
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default VSTO Outlook Addin doesn't get loaded for non-admin user

According to Ryan Gregg of MS in the VSTO Web forum if an Outlook VSTO addin
is registered in HKLM then Outlook ignores it and does not load it.

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Absolute Beginner's Guide to Microsoft Office Outlook 2003
Reminder Manager, Extended Reminders, Attachment Options
http://www.slovaktech.com/products.htm


"Dean Cleaver" wrote in message
...
Ken,

I don't believe that is true, as I have mine loaded via Local Machine, and
it works fine.

Piyush,

Look into giving your strong name full trust - if you're unsure of how to
do that, I can send you a script later.

Dino


  #5  
Old May 9th 07, 01:28 PM posted to microsoft.public.outlook.program_addins
Kulvinder
external usenet poster
 
Posts: 1
Default VSTO Outlook Addin doesn't get loaded for non-admin user

Hi Ken,

Can you please tell me where this has been documented that the VSTO addins
are supposed to be installed per user basis ?

I also require a functionality that the installed VSTO addin to be available
for all users.
  #6  
Old May 9th 07, 07:24 PM posted to microsoft.public.outlook.program_addins
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default VSTO Outlook Addin doesn't get loaded for non-admin user

It was in Ryan Gregg's blog I believe and he also mentioned it in some
answers he gave in the VSTO MSDN forum. I also was told the same thing in a
private briefing, but those public references should be enough. I don't have
URLs for that but I recall reading it a couple of times.

Ryan is on the Outlook team and works with Outlook programmability.

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Absolute Beginner's Guide to Microsoft Office Outlook 2003
Reminder Manager, Extended Reminders, Attachment Options
http://www.slovaktech.com/products.htm


"Kulvinder" wrote in message
. ..
Hi Ken,

Can you please tell me where this has been documented that the VSTO addins
are supposed to be installed per user basis ?

I also require a functionality that the installed VSTO addin to be
available
for all users.


 




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
Allowing Limited User to view Calender of an Admin User? Rijan Outlook - Calandaring 4 February 13th 07 11:16 PM
OE under XP - admin user versus restricted user MotorVator Outlook Express 3 February 2nd 07 03:48 AM
Word COM-Addin is not to be loaded into Outlook Oliver Scheiber Outlook and VBA 2 January 14th 07 12:24 PM
Outlook addin not loaded if a .msg file is opened by double clicki sana Add-ins for Outlook 1 December 29th 06 02:27 PM
Outlook user requires admin rights user Outlook - Installation 0 May 16th 06 05:02 PM


All times are GMT +1. The time now is 10:41 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.