Microsoft reveals WiX tool code

Microsoft has released the source code for a tool set on, a website that provides free hosting for open-source...

Microsoft has released the source code for a tool set on, a website that provides free hosting for open-source software development projects.

The tool set, called WiX, for Windows Installer XML (Extensible Markup Language), is intended for building Windows installation packages from XML source code.

WiX is being offered under the Common Public License (CPL), an open-source licence originally authored by IBM, said Jason Matusow, Microsoft's manager of shared source initiatives.

The license, which is one of many approved by the Open Source Initiative (OSI) and listed on its website, allows developers to modify the code and use it in commercial products.

"It's the first time we have posted a project under an open-source licence, meaning one that is approved by the folks," Matusow said.

He insisted that the move does not reflect an about-face on open source, adding that Microsoft has been making source code available under various "shared source" licences for years, all of which Microsoft wrote.

Those run the gamut from "reference-only" licences that only let users look at the code to ones that allow modification and commercial release of code. Microsoft will continue to release code under various licences, he said, and might do so again under CPL, but has no plans to use the GNU General Public License, the license under which Linux is distributed and one that Microsoft has criticised.

"We feel that the GPL presents certain challenges as a commercial software business," Matusow said.

For WiX, Microsoft decided CPL would be the best licence. It chose to put the code on SourceForge because the site is widely used: More than a quarter of the projects on SourceForge are Windows projects.

This type of tool, a small piece of code with only a command-line interface, is used by a broad range of developers and is available as free software from other entities already.

The tool creates a database that installer software can use to understand where best to place parts an application on a Windows PC. Microsoft believed WiX is better than the free tools and decided to offer it to developers. It was developed at Microsoft and is already being used by several groups in the company. WiX runs on Windows NT and Windows 2000.

"Someone can build a business on top of this code if they wish, and that is completely allowed by the licence," Matusow said.

WiX can be downloaded from

Stephen Lawson writes for IDG News Service

Read more on Microsoft Windows software