WiX

From Wikipedia, the free encyclopedia
Jump to: navigation, search
WiX Toolset
WiX logo.png
Original author(s) Rob Mensching
Developer(s) Outercurve Foundation
Initial release 5 April 2004; 10 years ago (2004-04-05)[1]
Stable release 3.8.1128.0 / 28 November 2013; 4 months ago (2013-11-28)
Preview release 3.9, 4.0 / updated weekly
Written in C++, C#
Operating system Windows
Type Software development tools
License Microsoft Reciprocal License
Website wixtoolset.org

The 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[edit]

Candle[edit]

Candle compiles the X ML documents to .wxsobj object files that contain symbols and references to symbols.[5]

Light[edit]

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[edit]

Lit combines multiple object files into a library for convenience.[7]

Dark[edit]

Dark takes existing MSI and MSM files and generates XML documents that represent the package.[8]

Heat[edit]

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[edit]

Pyro creates Patch files (msp) without the Windows Installer SDK.[8]

Burn[edit]

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[edit]

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.[citation needed]

WiX version 2.0 was released in 2007.

WiX version 3.0 was released July 4, 2009.

On June 6, 2010, WiX moved from SourceForce 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.

Since Visual Studio 2012, the traditional setup project type has been removed. WiX is a recommended alternative.[15]

See also[edit]

References[edit]

  1. ^ a b c 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. 
  2. ^ a b c Mensching, Rob (14 August 2012). "Outercurve Foundation and WiX toolset together, at last". RobMensching.com /Blog. Retrieved 16 February 2014. 
  3. ^ a b Mensching, Rob (20 August 2012). "The WiX toolset license". Retrieved 16 February 2014. 
  4. ^ Robbins, John (18 October 2007). "WiX: Hints for New Users (Part 1 of 3)". Wintellect. Retrieved 16 February 2014. 
  5. ^ "Compiler". WiX Toolset. Retrieved 16 February 2014. 
  6. ^ "Linker (light)". WiX Toolset. Retrieved 16 February 2014. 
  7. ^ "Library Tool (lit)". WiX Toolset. Retrieved 16 February 2014. 
  8. ^ a b "List of Tools". WiX Toolset. Retrieved 16 February 2014. 
  9. ^ "Harvest Tool (Heat)". WiX Toolset. Retrieved 16 February 2014. 
  10. ^ Halvorson, Loren (29 July 2004). "New "tallow" tool included in latest WiX". Loren Halvorson's Blog. Retrieved 16 February 2014. 
  11. ^ Robbins, John (14 November 2012). "Wintellect/Paraffin". GitHub. Retrieved 16 February 2014. 
  12. ^ Mensching, Rob (3 September 2012). "WiX v3.6 released". RobMensching.com /Blog. Retrieved 16 February 2014. 
  13. ^ Mensching, Rob (15 January 2010). "Burn moves to a new foundation". RobMensching.com /Blog. Retrieved 16 February 2014. 
  14. ^ Mensching, Rob (6 June 2010). "WiX toolset source and releases move to CodePlex". RobMensching.com /Blog. Retrieved 16 February 2014. 
  15. ^ Hodges, Buck (17 March 2011). "Visual Studio setup projects (vdproj) will not ship with future versions of VS". Retrieved 16 February 2014. 

External links[edit]