Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/wix/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Compiler errors 带有&;在WiX_Compiler Errors_Wix_Registry - Fatal编程技术网

Compiler errors 带有&;在WiX

Compiler errors 带有&;在WiX,compiler-errors,wix,registry,Compiler Errors,Wix,Registry,我正在编写一个旧的安装程序,该安装程序不再使用WiX在Windows 10上运行,并且我在注册表项中遇到了编译错误(candle.exe)(带有&) 注册表值如下所示: <RegistryValue Root='HKCR' Name='' Key='Access.Application.10\shell\New' Type='string' Value='&New'/> 我试着用反斜杠来摆脱它只是为了踢,但我真的不知道我能从这里走到哪里 正如您在下图中所看到的,注册表已

我正在编写一个旧的安装程序,该安装程序不再使用WiX在Windows 10上运行,并且我在注册表项中遇到了编译错误(candle.exe)(带有
&

注册表值如下所示:

<RegistryValue Root='HKCR' Name='' Key='Access.Application.10\shell\New' Type='string' Value='&New'/>

我试着用反斜杠来摆脱它只是为了踢,但我真的不知道我能从这里走到哪里

正如您在下图中所看到的,注册表已经存储了该值,因此出现了错误混淆。

XML中的某些字符必须由字符实体表示<代码>&表示为
&