Website Building » Wix » What Is WiX Fragment?

What Is WiX Fragment?

Last updated on September 30, 2022 @ 10:49 pm

WiX is a toolset that builds Windows installation packages from XML source code. The toolset supports a command line interface that allows developers to create MSI and MSM packages. WiX was created by Microsoft employee Rob Mensching in 2004.

WiX is an open source project that is developed and maintained by Microsoft and the community.

GREAT NEWS:

Exciting update! We've collaborated with Wix to offer WBI users with a free plan for all website creation needs - Explore the details here.

The project is hosted on GitHub and the source code is available under the MIT license. WiX is released under the Microsoft Reciprocal License (MS-RL).

WiX includes several command line utilities that make it easy to create and manage Windows installations. The WiX toolset includes the following tools:

PRO TIP: WiX fragments are a type of code used to create Windows Installer packages. They are typically used to add files, registry keys, and other resources to an installer. While WiX fragments can be helpful in creating installers, they can also be dangerous if used improperly.

Improper use of WiX fragments can result in data loss, file corruption, or even system instability. It is important to only use WiX fragments from trusted sources, and to understand how they work before using them in your own projects.

  • candle.exe: This utility compiles WiX source files into object files.
  • light.exe: This utility links object files into a package.
  • dark.exe: This utility decompiles a package into WiX source files.
  • pyro.exe: This utility burns packages onto CDs or DVDs.
  • smoke.exe: This utility tests packages for common problems.

The WiX toolset also includes a graphical user interface (GUI) called “Flame” and an IDE called “SharpDevelop.”

What Is WiX Fragment?

A WiX fragment is a portion of XML code that can be added to a WiX source file. Fragments allow developers to modularize their code and reuse common pieces of code in multiple projects.

Madison Geldart

Madison Geldart

Cloud infrastructure engineer and tech mess solver.