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

巧了我就是萌 提交于 2019-12-01 12:13:46

问题


Is there no better Installer project in Visual Studio 2013 than the Setup projects or WiX?

I have a .vdproj and some WiX projects since Visual Studio 2008 which I now need to migrate to Visual Studio 2013. Do I still have to use the same two project types or is there a better solution?

Setup projects are still not supported with MSBuild and the WiX projects are still XML (although I see a visual designer is now available to purchase).

I am sick of both of them. I need something that is visual and that is supported by MSBuild. We have many custom actions too.


回答1:


WiX is the default way to go for free solutions that need to do advanced steps and must be able to integrate into Team Build and 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

Remarks:

  1. There is an extension that seems to support a user interface for WiX
  2. Since it's PowerShell based you could use the Visual Studio PowerShell Tools.
  3. Advanced Installer can generate an MSBuild compatible .*proj file on request.

Links to products:

  • InstallShield
  • Install Aware
  • Advanced Installer
  • Microsoft Visual Studio Installer Projects 2013
  • WiX Toolset
  • WiX Visual Studio extension
  • NSIS
  • InnoSetup
  • PS AppDeploy Toolkit

Remember that 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 can be triggered with relative ease this way.

XML and script-based UI's are generally easier to merge and branch and provide better maintainability over time as you're pretty much free to define the modules in separate files and provide comments on why certain files are deployed where or which commands are executed when.




回答2:


There is also Advanced Installer which have a Visual Studio Installer extension (with UI) which is available in their free edition (from what I know). Their Installer extension for VS is also MSBuild compatible.




回答3:


I used the extension Visual Studio Installer Projects Extension: VSI_Bundle. See the The Visual Studio Blog

It worked good for me.



来源:https://stackoverflow.com/questions/28024267/are-we-still-stuck-with-installer-projects-vdrpoj-or-wix-in-visual-studio-2013

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!