多行上的 WiX XmlFile setValue [英] WiX XmlFile setValue on multiple lines

查看:26
本文介绍了多行上的 WiX XmlFile setValue的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用带有 setValue 的标签 来在安装过程中更新 xml 文件的内容,但它只替换找到的第一个条目.

I'm using the tag <util:XmlFile> with setValue to update the content of a xml file during instalation but it only replaces the first entry found.

据我搜索,设计只更新了第一个.

As far I as googled, the design only updates the first one.

有人遇到过这个问题吗?
有什么其他好的方法可以解决这个问题?

Has anyone faced this trouble?
Any other goood way to solve this issue?

推荐答案

您必须使用 bulkSetValue 而不是 setValue.更多信息:http://wix.sourceforge.net/manual-wix3/util_xsd_xmlfile.htm

You must use bulkSetValue instead of setValue. More info: http://wix.sourceforge.net/manual-wix3/util_xsd_xmlfile.htm

这篇关于多行上的 WiX XmlFile setValue的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆