windows 什么是最好的安装程序?

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/734057/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-15 12:17:05  来源:igfitidea点击:

What is the best installer?

windowsinstaller

提问by mrtaikandi

Poll: What is the best and easy to use installer to use with .NET 3.5 SP1 windows applications?

投票:与 .NET 3.5 SP1 Windows 应用程序一起使用的最佳且易于使用的安装程序是什么?

回答by Konstantin Tarkus

My vote is for:

我的投票是:

Nullsoft Scriptable Install System- it's popular, easy to use and FREE

Nullsoft Scriptable Install System- 它很受欢迎,易于使用且免费

Nullsoft Scriptable Install System(NSIS) is a script-driven Windows installation system with minimal overhead backed by Nullsoft, the creators of Winamp. NSIS has risen to popularity as a widely used alternative to commercial and proprietary products like InstallShield. - Wikipedia

Nullsoft Scriptable Install System(NSIS) 是一个脚本驱动的 Windows 安装系统,由 Winamp 的创建者 Nullsoft 支持,开销最小。NSIS 作为一种广泛使用的替代商业和专有产品(如 InstallShield)而变得流行。-维基百科

There is rich plugins directory for NSIS, where you can find for example a plugin for installing windows services.

NSIS 有丰富的插件目录,您可以在其中找到例如用于安装 Windows 服务的插件。

http://nsis.sourceforge.net/Category:Plugins

http://nsis.sourceforge.net/Category:插件

Commercial alternatives:

商业替代品:

Other:

其他:

  • WiX- could be very good if you can spent some time on the learning curve. It is used by many Microsoft products.
  • Inno Setup
  • WiX- 如果您可以在学习曲线上花一些时间,那可能会非常好。许多 Microsoft 产品都使用它。
  • 创新设置

List of Installation Softwareat Wikipedia

维基百科上的安装软件列表

回答by Richard Slater

My personal preference is Advanced Installer, it has a nice GUI for creation and editing of projects which are XML files so fits into source control easily.

我个人的偏好是Advanced Installer,它有一个很好的 GUI 用于创建和编辑项目,这些项目是 XML 文件,因此很容易融入源代码控制。

回答by Chris S

Innosetupis the fastest one I've used to make setup files quickly and easily (out of Nullsoft and VS), providing you get the designer that is a separate download.

Innosetup是我用来快速轻松地制作安装文件的最快的工具(在 Nullsoft 和 VS 之外),只要您获得单独下载的设计器

回答by Richard Ev

In the past I've used both InstallShieldand Wise. I wouldn't say that using either of them is a joy, but they get the job done for large Windows applications.

过去我使用过InstallShieldWise。我不会说使用它们中的任何一个是一种乐趣,但它们可以完成大型 Windows 应用程序的工作。

Of the two, I would generally favour InstallShield.

在这两者中,我通常更喜欢 InstallShield。

回答by Lucero

I very much like WiX, which is said to be the installer used by MS internally for Office.

我非常喜欢WiX,据说是 MS 内部用于 Office 的安装程序。

回答by Can Berk Güder

I used NSISon my first-and-last Windows project, and was quite happy with it.

我在我的第一个也是最后一个 Windows 项目中使用了NSIS,并且对它非常满意。

回答by thijs

You could use ClickOnce deployment, if your environment allows you to do so. (If it's convenient).

如果您的环境允许,您可以使用 ClickOnce 部署。(如果方便的话)。

Actually any answer could apply to your question here, choosing the "right" installer never possible for "a windows application".

实际上,这里的任何答案都适用于您的问题,为“Windows 应用程序”选择永远不可能的“正确”安装程序。

  • How many different machines are your going to install to?
  • How large is your application?
  • Does it have many dependencies? (Databases etc.)
  • What is the "level" of the users who are going to install your app? Are they system administrators who install apps for a living, or are they joe-random "Hey lets click install because it looks cool" types.
  • 您要安装到多少台不同的机器上?
  • 您的应用程序有多大?
  • 它有很多依赖吗?(数据库等)
  • 将要安装您的应用程序的用户的“级别”是多少?他们是以安装应用程序为生的系统管理员,还是随机的“嘿,让我们点击安装,因为它看起来很酷”类型。

just my 2ct.

只是我的 2ct。

回答by Otávio Décio

The one out of the box from Visual Studio 2008.

Visual Studio 2008 中开箱即用的一个。

回答by Shree

Nullsoft Scriptable Install System anytime... simply because of it's ease of use and more than that, it's free!

Nullsoft Scriptable Install System 任何时候...仅仅因为它的易用性,更重要的是,它是免费的!