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

MANO MANO mano.n.s75 at gmail.com
Mon Nov 16 08:40:00 PST 2015


my installer has this c# dll, the code require some supporting dlls to me
present at the same location in order to work. I was trying to see how to
do it. Obviously i have seen how to run an exe that is installed in the
machine so i thought may be i can call a CA from a dll that was deployed by
the product.

On Mon, Nov 16, 2015 at 9:30 PM, Hoover, Jacob <Jacob.Hoover at greenheck.com>
wrote:

> 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/
>
> ____________________________________________________________________
> WiX Toolset Users Mailing List provided by FireGiant
> http://www.firegiant.com/
>



-- 
*regards,*
*Mano*



More information about the wix-users mailing list