How do I create a MSI for my web application?

孤街浪徒 提交于 2019-12-07 19:08:55

问题


I have a web application, where the UI is in seperate folder and solution, the middle tier as well as the data layer in different folders and solutions.

Now I need to create a MSI for my web application. Until now we have been using deployment engine, but now we have been asked to do a MSI as the new server does not support deployment engine.

Usually we create MSI for a windows application, where we take the EXE as the primary output. Now how do I create the MSI in this situation.

Any thoughts would be appreciated.

regards cmrhema


回答1:


Click in your solution and Add a new project: a Web Setup Project

Then add as output your Website.

Important Note:

This will add all the code (.cs / .vb files) and will protect nothing at all, to protect your code (the compiled one) you need to add the Visual Studio Extension Web Deploy Project

Then, right-click in your Website and choose the new option, and add this project as the input of the Setup.




回答2:


Although the learning curve will be steeper I would recommend using the WIX toolset to create your Windows Installer files - http://wix.sourceforge.net

See also https://stackoverflow.com/tags/wix/info



来源:https://stackoverflow.com/questions/10371879/how-do-i-create-a-msi-for-my-web-application

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