gpt4 book ai didi

xml - 未找到 wix 安装程序架构

转载 作者:数据小太阳 更新时间:2023-10-29 02:05:02 24 4
gpt4 key购买 nike

我是 Wix 安装程序的新手。我在build设置项目时遇到问题。

它说;

The Bundle element contains an unexpected child element 'util:RegistrySearch'

我已经在项目中引用了dll;

<?xml version="1.0" encoding="UTF-8"?>
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi"
xmlns:util="http://schemas.microsoft.com/wix/UtilExtension">

bundle.wxs

当我转到下面的链接时; http://schemas.microsoft.com/wix/UtilExtension

我有错误;

The resource you are looking for has been removed, had its name changed, or is temporarily unavailable

但是;当我注释掉 .UtilExtension 和 util:RegistrySearch 时,项目构建并运行良好。如果是架构问题,我认为它不应该构建,因为;

<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi" 

保持原样。

最佳答案

请在您的 Wix 项目中添加对“WixUtilExtension.dll”的引用。那将解决您的问题!

关于xml - 未找到 wix 安装程序架构,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/20698895/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com