How to link a C# dll to a WiX program using custom action.
I am new to WiX so I tried what I could.
I used the following tags.
<Binary Id="Uninstall" SourceFile="..\..\uninstaller.dll"/>
<CustomAction Id="UNINSTALLER" BinaryKey="Uninstall" DllEntry="ManagedInstall" Execute="deferred" Impersonate="no"/>
and
<Custom Action="Uninstall" Sequence="1699" After="InstallFinalize"></Custom>
This is not working; not even close. Could anyone help me out?
You cannot call easily call managed code from an installer. This article describes the steps required: Creating Custom Action for WIX Written in Managed Code without Votive