IntelliSense for WiX .wxs files

[update 6/2/07]- This info probably still works, but is outdated by Votive, a VS package for WiX.

------------

 

I recently started looking into WiX as a replacement tool to create the install kit for NatLink and Vocola. It's not that I want to make life more difficult, but Visual Studio .Net setup projects don't support features.

WiX of course does.

The problem is that Visual Studio, by default, doesn't recognize .wxs files as XML. The fix for that is the following

1) add to your registry

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\7.1\Editors\{C76D83F8-A489-11D0-8195-00A0C91BBEE3}\Extensions]
"wxs"=dword:00000028

2) copy wix.xsd and wixloc.xsd from the WiX/doc directory to

C:\Program Files\Microsoft Visual Studio .NET 2003\Common7\Packages\schemas\xml\

and provided you reference the WiX namespace at http://schemas.microsoft.com/wix/2003/01/wi you'll get IntelliSense too.

4 Comments

Comments have been disabled for this content.