I am trying to find a way to create an entry point for my C# DLL. I am aware of how to call other DLL’s in C# but cannot find how to create one. I need this in order to call it in my WiX installer as a customer action.
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
All you need to do is mark your method up with the CustomAction attribute.
So:
As you are already calling other C# assemblies from WiX, it sounds like you have WiX 3.0, which supports the managed wrappers.