在 Visual Studio 2013 年,我们是否仍然坚持使用安装程序项目 .vdrpoj 或 WiX?

Are we still stuck with installer projects .vdrpoj or WiX in Visual Studio 2013?

Visual Studio 2013 than the Setup projects or WiX有没有更好的Installer工程?

Visual Studio 2008 以来,我有一个 .vdproj 和一些 WiX 项目,现在我需要迁移到 Visual Studio 2013。我是否仍然必须使用相同的两种项目类型,或者是否有更好的解决方案?

安装项目仍然不受 MSBuild 支持,WiX 项目仍然 XML(尽管我看到现在可以购买可视化设计器)。

我都讨厌他们两个。我需要一些可视化的并且受 MSBuild 支持的东西。我们也有很多自定义操作。

WiX 是获取需要执行高级步骤并且必须能够集成到 Team Build 和 MSBuild.

中的免费解决方案的默认方式
Product                  Free/Paid        VS designer    MsBuild Support
InstallShield LE              free                yes                yes
InstallShield Pro             paid                yes                yes
InstallAware                  paid                yes             yes 3)
Advanced Installer            free                yes                yes
NSIS                          free                 no                 no
MS VS Installer Projects      free                yes                 no
Wix Toolset                   free              no 1)                yes
InnoSetup                     free                 no                 no
PS App Deploy Toolkit         free              no 2)                 no

备注:

  1. is an extension似乎支持 WiX 的用户界面
  2. 因为它是 PowerShell based you could use the Visual Studio PowerShell Tools
  3. 高级安装程序可以 generate an MSBuild compatible .*proj file on request

产品链接:

请记住,Team Build 2013 has a set of native extension points that allow you to execute PowerShell scripts after build which can trigger pretty much every type of installer project you need. Non-MSBuild-based systems like the PS AppDeploy Toolkit or NSIS 可以通过这种方式相对轻松地触发。

XML 和基于脚本的 UI 通常更容易合并和分支,并且随着时间的推移提供更好的可维护性,因为您几乎可以自由地在单独的文件中定义模块并提供关于为什么某些文件被部署在什么地方或什么时候执行哪些命令的评论。

我使用了扩展程序 Visual Studio 安装程序项目扩展程序:VSI_Bundle。 参见 The Visual Studio Blog

它对我很有用。

还有 Advanced Installer,它有一个 Visual Studio 安装程序扩展(带有 UI),在他们的免费版本中可用(据我所知)。他们的 VS 安装程序扩展也与 MSBuild 兼容。