Hardik Kothari
Hardik Kothari

Reputation: 151

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

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.

Upvotes: 1

Views: 7277

Answers (2)

Hardik Kothari
Hardik Kothari

Reputation: 151

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

Upvotes: 3

Cosmin
Cosmin

Reputation: 21416

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

Upvotes: 2

Related Questions