[Wix] 搞了这么久才知道Wix怎么装
IntelliSense for WiX .wxs files
昨天看了一点Rob.的演讲,看到他在用VS.NET里面写XML可以自动感知,很想实现一下。今天找到了:
http://weblogs.asp.net/sweinstein/archive/2004/08/31/223461.aspx
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) 在注册表中增加:
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\7.1\Editors\{C76D83F8-A489-11D0-8195-00A0C91BBEE3}\Extensions]
"wxs"=dword:000000282) 从 WiX/doc 目录复制文件 wix.xsd 和 wixloc.xsd 到
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.
posted on Tuesday, August 31, 2004 2:53 PM
声明:本文来自网络,不代表【好得很程序员自学网】立场,转载请注明出处:http://www.haodehen.cn/did45160