问题
I have created a class library project in C#, and I want to execute the output dll of that project in custom action of my Basic MSI project.
回答1:
Thanks Everyone,
I certainly found the solution, Actually the mistake was doing was, i was taking New Standard DLL custom action for executing C# DLL, but i choose Managed Code Custom action and i can execute my DLL without any problem...
回答2:
If you are using C# you can try creating an installer class action. Here is a tutorial which may help you: http://devcity.net/Articles/339/1/article.aspx
If you want to use a standard Windows Installer action, you will need a win32 DLL: http://www.codeproject.com/KB/install/msicustomaction.aspx
来源:https://stackoverflow.com/questions/7789921/how-can-i-execute-dll-in-custom-action-in-installshield-basic-msi-project