如何为我的web应用程序创建一个MSI? [英] How do I create a MSI for my web application?

查看:180
本文介绍了如何为我的web应用程序创建一个MSI?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个Web应用程序,其中用户界面是在单独的文件夹和解决方案,中间层,以及在不同的文件夹和解决方案,数据层。

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.

现在我需要创建一个MSI为我的Web应用程序。到现在为止,我们一直在使用部署引擎,但现在我们被要求做了微星作为新服务器不支持部署引擎。

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.

通常我们创建MSI为Windows应用程序,在这里我们以EXE为主要输出。
现在我怎么在这种情况下创建的MSI。

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.

关于
cmrhema

regards cmrhema

推荐答案

点击您的解决方案,并添加一个新的项目:一个 Web安装项目

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

然后添加为输出你的网站

Then add as output your Website.

重要提示:

这将增加所有的代码(的.cs /的.vb文件),并会不惜一切保护什么,保护您的代码(编译),你需要添加的Visual Studio扩展<强> Web部署项目

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.

这篇关于如何为我的web应用程序创建一个MSI?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆