|
-
Aug 28th, 2012, 03:14 PM
#1
Thread Starter
Member
VSTO and Unattended Deployment.
Hi Everyone,
I am in a Domain environment and I have developed an VSTO Outlook Addin that is very simple.
I have generates a Pfx and attached it with a Strong name to the Assembly and then imported the same Pfx file into the "Trusted Publisher" Store along with the "Trusted Root Certificate Authority" Store
I then copy the contents of the plugin into the custom Program Files\OutlookAddin folder then execute the following Registry Edit
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\Software\Microsoft\Office\Outlook\Addins\Encryption]
"Description"="Encryption Plugin for Outlook 2007 and 2010"
"FriendlyName"="Encryption"
"LoadBehavior"=dword:00000003
"Manifest"="file:///c:/Program Files/OutlookPlugin/OutlookAddIn2010.vsto"
Outlook loads the "Trusted" Plugin and everything is great!
But!!! in the background when the plugin first loads it adds a duplicate entry into the HKEY_CURRENT_USER hive the next time outlook loads it has two copy's of the plugin...
I would like the plugin to be loaded for everyones outlook and it is the reason why I have it added to HKEY_LOCAL_MACHINE instead of the normal HKEY_CURRENT_USER hive.
Is the only way around this is to have the Plugin search for the registry key and Delete it or is there a supported way so the Plugin does not try to add itself into the registry?
Thanks!
-Agent
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|