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

こ雲淡風輕ζ 提交于 2019-12-14 02:24:47

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!