> 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" <indorewale[ at ]gmail.com> wrote in message
> news:1173208866.742794.164400[ at ]64g2000cwx.googlegroups.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.
>>
>