WiX

history

The Windows Installer XML (WiX, pronounced "wicks"), is a free software toolset that builds Windows Installer (MSI) packages from an XML document. It supports a command-line environment that developers may integrate into their build processes to build MSI and MSM setup packages. WiX was the first software released by Microsoft under an open-source license called Common Public License.

The WiX distribution includes Votive, a Visual Studio add-in that allows creating and building WiX setup projects using the Visual Studio IDE. Votive supports syntax highlighting and IntelliSense for .WXS source files and adds a WiX setup project type to Visual Studio.

Internal structure

WiX is composed of several components, whose names derive from a play on words on the "wick(s)" of a candle.

Candle

Candle, the compiler, is used to compile the XML documents to object files that contain symbols and references to symbols.

Light

Light, the linker, takes one or more object files and links the references in the object files to the appropriate symbols in other object files. Light is also responsible for collecting all of the binaries, packaging them appropriately, and generating the final MSI or MSM file.

Lit

Lit, the library tool, is an optional tool that can be used to combine multiple object files into libraries that can be parsed by Light.

Dark

Dark, the decompiler, takes existing MSI and MSM files and generates XML documents that represent the package.

Tallow/Heat

Tallow is a tool for generating WiX filelist code by traversing directory trees. It produces a WiX "fragment" which can be incorporated with other WiX source files at compile time. It is replaced in WiX 3.0 by a more general "harvesting" tool known as Heat. There is also an unofficial version of Tallow known as Mallow,»WiX Tips and Tricks: Part 2 - Tallow, Component GUID's and Uninstallation which adds synchronization capabilities and improved component id generation.

There is also a new tool called Paraffin,»John Robbins' Blog : WiX: A Better TALLOW – PARAFFIN (Part 3 of 3) which provides support for initial creation of a fragment and synchronization.

Pyro

Pyro is the WiX tool to create Patch files (msp) without the Windows Installer SDK.

Burn

As of version 3.5, Burn, a prerequisite bootstrapper and installer chainer tool is under development.»Rob Mensching's blog: Let's talk about Burn. Planned features include small size, proper elevation support for Vista/7, a very customizable UI and progress indicators, and automatic downloads of required prerequisites.

History

On April 5, 2004, WiX was the first Microsoft project to be released under an externally created Open Source license, the Common Public License. It was also the first Microsoft Shared Source project to be hosted externally (on SourceForge).

Rob Mensching, the original author and lead developer of WiX, works on WiX in his spare time. At the time of release he said, "I did not feel that many people inside Microsoft understood what the Open Source community was really about and I wanted to improve that understanding by providing an example."

As of 2006, several other Microsoft employees from various product divisions of the company work on WiX with Mensching, meeting after business hours once a week to coordinate development efforts and write code. WiX has proven to be so popular with Microsoft development teams that many of Microsoft's software products, such as SQL Server 2005, Office 2007, and Microsoft Codename Oslo are packaged using WiX.

As of 2007, WiX version 2.0 is considered stable and production quality, and is no longer being developed.

As of July 4 2009, WiX version 3.0 is considered release quality with no bugs. WiX version 3.5 is now the beta/development version.

See also

  • List of installation software

References

External links


home | This article is licensed under the GNU Free Documentation License. See full license termsIt uses material from the Wikipedia article "WiX ". | compliance | March 22nd 2010