您好,我在构建此 WiX 安装包时遇到问题...我正在使用 Wix utilExtensions 并将其添加到安装项目的引用中。在构建包时,我收到以下错误;
提供 XML 代码;
<?xml version="1.0" encoding="UTF-8"?>
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi"
xmlns:util="http://schemas.microsoft.com/wix/UtilExtension">
<Fragment>
<Directory Id="TARGETDIR" Name="SourceDir">
<!--Creates the Roaming folder required for local document saving-->
<Directory Id="AppDataFolder">
<Directory Id="ROAMINGFOLDER" Name="App">
<Component Id="ROAMINGFOLDER" Guid="*">
<RemoveFolder Id="ROAMINGFOLDER" On="uninstall"/>
<RegistryValue Root="HKMU"
Key="Software\[Manufacturer]\[ProductName]\Roaming"
Type="string"
Value="App Roaming Folder" />
</Component>
</Directory>
</Directory>
<Directory Id="ProgramFilesFolder">
<Directory Id="APPLICATIONFOLDER" Name="My App">
<Component Id="APPLICATIONFOLDER" Guid="*">
<RemoveFolder Id="APPLICATIONFOLDER"
On="both" />
<util:RemoveFolderEx Id="APPLICATIONFOLDER" On="uninstall"/>
<RegistryValue Root="HKMU"
Key="Software\[Manufacturer]\[ProductName]"
Type="string"
Value="My App" />
</Component>
...
关于解决这个特定问题的任何想法?