Registry Entries for Addin Deployment

Sep 19, 2013 at 1:43 PM
Edited Sep 19, 2013 at 1:44 PM
Hi,

NetOffice is simply GREAT.

I have developed Office Addin using NetOffice and its working perfectly with Office 2007, Office 2010 and Office 2013.

Now i want to deploy the Addin using an Installer. I have good experience with NSIS and i have already deployed VSTO Addins using NSIS.

As per my understanding to deploy my addin i have to create registry entries among other things.

So, could anyone please guide me about what should be the registry entries?


Regards
Sep 23, 2013 at 3:19 PM
Edited Sep 23, 2013 at 3:43 PM
It's a question I will want answering soon. I know the VSTO ones are like this:


Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Microsoft\Office\Outlook\Addins\MailAlert3]
"Description"="Mail Alert Utils"
"LoadBehavior"=dword:00000003
"FriendlyName"="Mail Alert"
"Manifest"="C:\Users\Rimsey2\AppData\Roaming\Cameltoe\MailAlertSetup\MailAlert.vsto|vstolocal"

However my Eset Nod32 addin is like this:

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office\Outlook\Addins\ESET.OutlookAddin]
"FriendlyName"="ESET Outlook Add-in"
"LoadBehavior"=dword:00000003

But I don't know about netoffice com addins and where does Outlook get the path of the addin from?

Just found this

https://netoffice.codeplex.com/discussions/438726
Coordinator
Sep 29, 2013 at 10:01 PM
first you dont need the manifest key in netoffice. (all other things looks good)
about the addin path:
have a look:
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office\Outlook\Addins\ESET.OutlookAddin]

"ESET.OutlookAddin" is the registered ProgID from your Addin, The ProgID is stored in the HKEY_CLASSES_ROOT registry hive with the corresponding codebase.
this is why you need a registration(typical regasm or installer) in the deployment system, and the static register/unregister methods in your addin.

You have to set the ProgID with the Progid Attribute for you addin class.

Sebastian