WiX
Original author(s) | Rob Mensching |
---|---|
Developer(s) | .NET Foundation |
Initial release | 5 April 2004[1] |
Stable release |
3.11
/ 5 May 2017 |
Repository |
github |
Written in | C++, C# |
Operating system | Windows |
Type | Software development tools |
License | Microsoft Reciprocal License |
Website |
wixtoolset |
Windows Installer XML Toolset (WiX, pronounced "wicks"), is a free software toolset that builds Windows Installer packages from XML code. It consists of a command-line environment that developers may integrate into their build processes to build MSI and MSM packages. WiX was the first Microsoft project to be released under an open-source license,[2] the Common Public License.[3] It was also the first Microsoft project to be hosted on an external website.
After its release in 2004, Microsoft has used WiX to package Office 2007, SQL Server 2005, Visual Studio 2005/2008, and other products.[4]
WiX 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 .wixproj to Visual Studio.
Tools
Candle
Candle compiles the XML documents to .wixobj object files that contain symbols and references to symbols.[5]
Light
Light takes one or more object files and links the references in the object files to the appropriate symbols in other object files. Light is responsible for collecting all of the binaries, packaging them appropriately, and generating the final MSI or MSM file.[6]
Lit
Lit combines multiple object files into a library for convenience.[7]
Dark
Dark takes existing MSI and MSM files and generates XML documents that represent the package.[8]
Heat
Heat creates WiX file list code from a file, directory, Visual Studio project, website, VB6 COM component, performance counter category, or Registry file.[9] It produces a .wxs file that can be compiled and linked with other .wxs files. WiX 3.0's Heat replaced WiX 2.0's more limited Tallow tool.[10]
There is also a third-party tool called Paraffin, available under the Common Public License, which offers several features not present in Heat. In particular, Paraffin can keep the GUIDs assigned to each file the same even when the tool is run multiple times. Paraffin can also exclude files by extension or regular expression.[11]
Pyro
Pyro creates Patch files (msp) without the Windows Installer SDK.[8]
Burn
Burn is a prerequisite bootstrapper and installer chainer tool, was first released in version 3.6.[12] Features include small size, proper elevation support for Windows Vista and Windows 7, a very customizable UI and progress indicators, and automatic download of required dependencies. The old Burn source code was abandoned in July 2009 and reimplemented based on NETFX4 bootstrapper.[13]
History
WiX was the first Microsoft project to be released under an open-source license,[2] the Common Public License.[3] Initially hosted on SourceForge,[1] it was also the first Microsoft project to be hosted externally.
Rob Mensching, the original author and lead developer of WiX, works on WiX in his spare time. When he released the first version of WiX on April 5, 2004, he commented, "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."[1] As of 2006, several other Microsoft employees from various product divisions of the company worked on WiX with Mensching, meeting after business hours once a week to coordinate development efforts and write code.
WiX version 2.0 was released in 2007.
WiX version 3.0 was released July 4, 2009.
On June 6, 2010, WiX moved from SourceForge to CodePlex.[14]
WiX version 3.5 was released January 31, 2011.
On August 14, 2012, Microsoft transferred the WiX copyright to the Microsoft-sponsored Outercurve Foundation. At the same time, the license was changed from the Common Public License to the Microsoft Reciprocal License.[2]
WiX version 3.6 was released September 3, 2012 and has a focus on Burn.
WiX version 3.7 was released December 24, 2012. Version 3.7 supports Visual Studio 2008, 2010 and 2012.
WiX version 3.8 was released November 28, 2013. Visual Studio 2013 support is one of the major new features.
WiX version 3.9 was released October 31, 2014.
WiX version 3.10 was released September 3, 2015.
WiX version 3.11 was released May 5, 2017.
Since Visual Studio 2012, the traditional setup project type has been removed from Visual Studio (available only as an extension since Visual Studio 2013). WiX is a recommended alternative.[15]
See also
References
- 1 2 3 Mensching, Rob (5 April 2004). "Windows Installer XML (WiX) toolset has released as Open Source on SourceForge.net". RobMensching.com /Blog. Retrieved 16 February 2014.
- 1 2 3 Mensching, Rob (14 August 2012). "Outercurve Foundation and WiX toolset together, at last". RobMensching.com /Blog. Retrieved 16 February 2014.
- 1 2 Mensching, Rob (20 August 2012). "The WiX toolset license". Retrieved 16 February 2014.
- ↑ Robbins, John (18 October 2007). "WiX: Hints for New Users (Part 1 of 3)". Wintellect. Retrieved 16 February 2014.
- ↑ "Compiler". WiX Toolset. Retrieved 16 February 2014.
- ↑ "Linker (light)". WiX Toolset. Retrieved 16 February 2014.
- ↑ "Library Tool (lit)".
- 1 2 "List of Tools". WiX Toolset. Retrieved 16 February 2014.
- ↑ "Harvest Tool (Heat)". WiX Toolset. Retrieved 16 February 2014.
- ↑ Halvorson, Loren (29 July 2004). "New "tallow" tool included in latest WiX". Loren Halvorson's Blog. Retrieved 16 February 2014.
- ↑ Robbins, John (14 November 2012). "Wintellect/Paraffin". GitHub. Retrieved 16 February 2014.
- ↑ Mensching, Rob (3 September 2012). "WiX v3.6 released". RobMensching.com /Blog. Retrieved 16 February 2014.
- ↑ Mensching, Rob (15 January 2010). "Burn moves to a new foundation". RobMensching.com /Blog. Retrieved 16 February 2014.
- ↑ Mensching, Rob (6 June 2010). "WiX toolset source and releases move to CodePlex". RobMensching.com /Blog. Retrieved 16 February 2014.
- ↑ Hodges, Buck (17 March 2011). "Visual Studio setup projects (vdproj) will not ship with future versions of VS". Retrieved 25 January 2016.
External links
- Official website
- Interview with Rob Mensching of Microsoft's WiX Project
- Wax - an interactive Visual Studio extension to edit WiX source files (Free, Open Source)