If you are using VSTO then these two Office add-in articles on MSDN will
help you. 

1. Registry Entries for Application-Level Add-Ins
http://msdn.microsoft.com/en-us/library/bb386106.aspx

2. Deploy add-ins that use VSTO3: 
http://msdn.microsoft.com/en-us/library/cc563937.aspx


The second article is explained using Excel add-in and VS setup project.

For WiX the add-in registry keys would translate to something like this:

<DirectoryRef Id="INSTALLLOCATION">
 <Component Id="AddInRegistration" Guid="YOUR-GUID-HERE">
  <RegistryKey Root="HKCU"
Key="Software\Microsoft\Office\Outlook\Addins\MyAddIn.Outlook.2007"
Action="createAndRemoveOnUninstall">
   <RegistryValue Type="string" Name="Manifest"
Value="[INSTALLLOCATION]MyAddIn.Outlook.2007.vsto|vstolocal"
KeyPath="yes"/>
   <RegistryValue Type="string" Name="FriendlyName"
Value="$(var.ProductName)" />
   <RegistryValue Type="string" Name="Description"
Value="$(var.ProductDescription)" />
   <RegistryValue Type="integer" Name="LoadBehavior" Value="3"/>
  </RegistryKey>
 </Component>
</DirectoryRef>


-----Original Message-----
From: Rob Mensching [mailto:r...@robmensching.com] 
Sent: Monday, 13 December 2010 9:25 a.m.
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Register Outlook Add-in with Wix

IIRC, you don't need a custom action at all. You just need to get the
right
registry keys set. There is (or was) documentation somewhere in MSDN
that
details all the configuration requried.

On Sun, Dec 12, 2010 at 11:31 AM, Sean Farrow
<sean.far...@seanfarrow.co.uk>wrote:

> Hi:
> You may not need a custom action, is the addin written in native
> (unmanaged) code, if so you should be able to use heat to extract a
fragment
> with registration information.
> Hth
> Sean.
>
> -----Original Message-----
> From: Janez Oman [mailto:janez.o...@gmail.com]
> Sent: 12 December 2010 18:36
> To: wix-users@lists.sourceforge.net
> Subject: [WiX-users] Register Outlook Add-in with Wix
>
> Hi,
> I'm looking for example of custom action written in VB or C#, which
can
> register and unregister MS Outlook Add-in.
>
> I've found only Foke Post's post on the web, but I can't translate his
> example.
>
> Thanks in advance
>
> Janez
>
>

------------------------------------------------------------------------------
Oracle to DB2 Conversion Guide: Learn learn about native support for PL/SQL,
new data types, scalar functions, improved concurrency, built-in packages, 
OCI, SQL*Plus, data movement tools, best practices and more.
http://p.sf.net/sfu/oracle-sfdev2dev 
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to