使用 Visual Studio 2012 创建 MSI 或安装项目 [英] Create MSI or setup project with Visual Studio 2012

查看:17
本文介绍了使用 Visual Studio 2012 创建 MSI 或安装项目的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我创建了一个小应用程序,我想创建一个 MSI 文件.

I create a small application and I would like to create one MSI file.

Visual Studio 2010 中,您的项目类型位于:

In Visual Studio 2010 you have this project type under:

其他项目类型 ->设置和部署 ->Visual Studio 安装程序 ->设置项目

但是您在 Visual Studio 2012 中获得的唯一功能是启用 InstallShield限量版".

But the only thing you got in Visual Studio 2012 is "Enable InstallShield Limited Edition".

您可以更改 .NET Framework,但没有任何更改.

You can change the .NET Framework, but nothing changes.

怎么没有了?我怎样才能取回它?有没有新的方法来做到这一点?

Why is it not there any more? And how can I get it back? Is there a new way to do this?

推荐答案

要使用 InstallShield Limited Edition 在 Visual Studio 2012 中创建安装项目,请观看 此视频.

To create setup projects in Visual Studio 2012 with InstallShield Limited Edition, watch this video.

无法安装服务的InstallShield限量版.

The InstallShield limited edition that cannot install services.

ISLE 是迄今为止最糟糕的安装程序选项,升级后阅读 -付费,版本充其量使用起来很麻烦,并且在大多数情况下是不可能的情况.InnoSetup、Nullsoft、Advanced、WiX 或几乎任何其他安装程序更好.如果你做了一个调查,你会看到没有人在使用 ISLE.我不知道你们为什么继续交往与 InstallShield.它会损害您的信誉.任何值得开发者他一半的盐分知道 ISLE 一文不值,当你站着时背后我们不得不质疑微软的判断."

"ISLE is by far the worst installer option and the upgraded, read - paid for, version is cumbersome to use at best and impossible in most situations. InnoSetup, Nullsoft, Advanced, WiX, or just about any other installer is better. If you did a survey you would see that nobody is using ISLE. I don't know why you guys continue to associate with InstallShield. It damages your credibility. Any developer worth half his weight in salt knows ISLE is worthless and when you stand behind it we have to question Microsoft's judgment."

作者 Edward Miller(Visual Studio 安装程序项目扩展).

By Edward Miller (comments in Visual Studio Installer Projects Extension).

WiX 工具集,虽然功能强大,但对用户不友好,学习曲线陡峭.甚至还有用于安装 Windows 服务的可下载模板(参考 VS2012: Windows 服务的安装程序?).

The WiX Toolset, which, while powerful is exceeding user-unfriendly and has a steep learning curve. There is even a downloadable template for installing Windows services (ref. VS2012: Installer for Windows services?).

对于 Visual Studio 2013,请参阅博客文章使用 Visual Studio 创建安装程序.

For Visual Studio 2013, see blog post Creating installers with Visual Studio.

这篇关于使用 Visual Studio 2012 创建 MSI 或安装项目的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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