Add a library to Registry when creating Add-in-Express + Wix setup projet

Add-in Express™ Support Service
That's what is more important than anything else

Add a library to Registry when creating Add-in-Express + Wix setup projet
 
Yolanda (Fiducial STAFF)




Posts: 32
Joined: 2013-10-28
Hello,

I have created a Setup Project thanks to your wizard. This works fine, except for a external library.


For my outlook plugin, I use the Redemption Library (http://www.dimastr.com/redemption/home.htm). This library needs to be added to the Windows Registry. The setup wizards includes Redemption into the Product.wxs like this :

<Fragment>
<ComponentGroup Id="ProductComponents" >
<Component Id="ProductComponent" Guid="623fc7a4-259b-44ff-842d-d657f17fdb2e" DiskId="1" Directory="INSTALLFOLDER" >
<RegistryKey Root="HKCU" Key="Software\[Manufacturer]\[ProductName]">
<RegistryValue Type="string" Name="Installed" Value="[INSTALLFOLDER]" KeyPath="yes" />
</RegistryKey>
....

<File Id="_Interop_Redemption_dll" Name="Interop.Redemption.dll" Source="$(var.FiduLook.TargetDir)" />
</Component>
</ComponentGroup>
</Fragment>


The project creator wizard doesn't create the required lines to register the library.

Is there a way to indicate to the wizard that it must also create the registration lines for Redemption?
Thanks for your answer.
Best regards,
Yolanda
Posted 11 Jul, 2014 08:51:34 Top
Andrei Smolin


Add-in Express team


Posts: 16956
Joined: 2006-05-11
Hello Yolanda,

Yolanda (Fiducial STAFF) writes:
The setup wizards includes Redemption into the Product.wxs like this :


Note that this fragment includes an interop for Redemption, not Redemption itself.

You can register Redemption.dll by adding the SelfRegCost attribute, see e.g. http://stackoverflow.com/questions/364187/how-do-you-register-a-win32-com-dll-file-in-wix-3 or http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/How-to-use-SelfRegCost-td693403.html.

Also note that you can use Redemption without registering it, please see http://www.dimastr.com/redemption/security.htm#redemptionloader.

Yolanda, my best wishes to you and all you love. I'll be sincerely glad to find your name in our mail this day or other.

Regards from Belarus (GMT+3),

Andrei Smolin
Add-in Express Team Leader
Posted 11 Jul, 2014 09:49:12 Top