Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
984 views
in Technique[技术] by (71.8m points)

installation - Why use Windows Installer XML (WiX) over VDPROJ?

Why should one go for Windows Installer XML (WiX) when we have in built .net MSI installer?

Question&Answers:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)

It would take me hours to rant about everything I hate about VDPROJ. I won't because in my (expert) opinion it's already settled law that VDPROJ sucks. If your install is so simple that you haven't noticed any problems, then be my guess and stick with it. But if you already find yourself fighting the tool trying to get it to do things it doesn't do, then take my advice and dump it fast for WiX.

10 things I hate about VDPROJ

  1. No MSBuild Support. Sure, you can call devenv from the command line but it's not as good.
  2. No exposing of the critical concept of a component. Every file/reg key is a keyfile of it's own component.
  3. No effective way to fully exclude automatic dependency scanning.
  4. Shortcuts are always Advertised
  5. No way to describe a service.
  6. No way to describe many things which leads to overuse of custom actions.
  7. No way to fine control the scheduling / execution of custom actions. Too abstracted.
  8. Abstraction is wrong. Deferred CA's are scheduled with Impersonation which breaks on Vista.
  9. Various limitations lead you down a path of massaging the built MSI during postbuild to get around all the limiations. Results in a very poor build automation hacks.
  10. Merge Module directory tables are authored incorrectly.
  11. 100 other things suck that I'm not remembering right now.

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...