[wix-users] how to call a c# custom action from a dll which is installed along with the product

Hoover, Jacob Jacob.Hoover at greenheck.com
Mon Nov 16 08:00:26 PST 2015


It's not impossible to do, but it would be a challenge.  You would have to create a custom app domain to be able to load an assembly from an arbitrary location. It would also have to be setup to run very late in the installation process, and it would be difficult to get it right (as far as roolback/uninstall).

Is there a reason you can't have a stand-alone CA assembly?

-----Original Message-----
From: wix-users [mailto:wix-users-bounces at lists.wixtoolset.org] On Behalf Of MANO MANO
Sent: Saturday, November 14, 2015 10:14 AM
To: wix-users at lists.wixtoolset.org
Subject: [wix-users] how to call a c# custom action from a dll which is installed along with the product

Hello,

i am trying to call a c# function from a C# dll which is installed along with the product. Can anyone help me in guiding me how to do it? Everywhere i could see the dll is being referenced by adding it to the binary table, but in my case i wanted to call the managed code custom action from the dll which is deployed along with the product.

thanks in advance

--
*regards,*
*Mano*

____________________________________________________________________
WiX Toolset Users Mailing List provided by FireGiant http://www.firegiant.com/


More information about the wix-users mailing list