开发者

How do you exclude specific files from a WiX patch?

I'm using WiX's admin-image-style patch creation, but the resulting patch contains extra files that I don't want to include. My understanding of WiX patching is that it is "inclusive" by default -- that is, that you choose what to include, rather than exclude. I found this comment by Peter Marcu indicating that admin patching is the way to go if you want to exclude specific files开发者_StackOverflow中文版. I have a couple of questions:

  1. He mentions that when you do an admin install each component is put into its own fragment -- how does this work?
  2. He also says you have to use patch families (note the plural) -- what is the accepted practice for this? Do I need a ComponentRef for every component I'm including, given that they are all in individual fragments, as in (1)?


The default behavior is to include all differences. If you don't want all, then you need to specify them individually. When you're using admin image patching, WiX creates fragments as granular as possible, so yes, you need individual ComponentRefs, BinaryRefs, etc.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜