![]() |
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
|
|||
|
|||
![]()
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
|
|||
|
|||
![]()
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
|
|||
|
|||
![]()
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
|
|||
|
|||
![]()
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
|
|||
|
|||
![]()
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
|
|||
|
|||
![]()
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 |
Display Modes | |
|
|
![]() |
||||
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 |