WiX Includes vs Fragments

前端 未结 3 996
生来不讨喜
生来不讨喜 2021-02-05 01:46
  • What\'s the difference between a WiX include (.wxi file) and a WiX fragment (.wxs file)?
  • What are the use cases for each?
  • Whi
3条回答
  •  情话喂你
    2021-02-05 02:24

    The file extension is a convenience, the content of the file is what really matters. The distinction makes it easier to manage the difference between the actual installation (wxs files) and the properties required to create the installation (wxi files).

    For example, your wxs files specify the product and its contents (which files you install) whereas you would use your wxi files to specify product version, upgrade codes, common paths, etc.

    The WiX documentation provides some clear information.

    • Include files (.wxi)
    • Source files (.wxs)

提交回复
热议问题