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

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

问题描述

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

Visual Studio 2010 中,您具有此项目类型根据:

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

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

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

为什么现在不存在了?而我该如何找回它呢?有没有新的方法可以做到这一点?

解决方案

要在带有InstallShield Limited Edition的Visual Studio 2012中创建安装项目,请观看

爱德华·米勒(Edward Miller)( WiX工具集,它功能强大,已经超越了用户不友好的范围,并且学习曲线陡峭.甚至还有可下载的模板,用于安装Windows服务(参考 VS2012 :Windows服务的安装程序? ).

对于Visual Studio 2013,请参见博客文章 Visual Studio 2010 you have this project type under:

Other Project Types -> Setup and Deployment -> Visual studio Installer -> Setup Project

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

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?

解决方案

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

The InstallShield limited edition that cannot install services.

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

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

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

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

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

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