Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

custom action dll in managed code

How can I call a custom action dll written in managed code (.net) from an installer without using an unmanaged intermediary?

like image 872
dmo Avatar asked Sep 22 '26 13:09

dmo


1 Answers

The answer to your question depends on how your are authoring your installer.

For Visual Studio setup projects, create an installer class in one of your deployed assemblies. This is covered in the MSDN documentation, eg http://msdn.microsoft.com/en-us/library/d9k65z2d(VS.80).aspx

For Wix projects, you can use DTF to build managed custom actions which have complete access to the contents of the MSI. Wix is available at http://wix.sourceforge.net/.

like image 86
Paul Lalonde Avatar answered Sep 28 '26 02:09

Paul Lalonde



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!