How can i execute DLL in custom action in installshield basic msi project?

7.2k Views Asked by At

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.

2

There are 2 best solutions below

0
On BEST ANSWER

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...

8
On

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