使用windows wix文件修改xml文件中节点的属性值

时间:2021-11-11 19:33:45

I am trying to modify the value of an attribute in xml file.
I have a child node in my xml file, which contains attributes and corresponding values. I would like to update the value using wix project.
looking for a help on how can I modify the value or replace xml node?

我试图修改xml文件中属性的值。我的xml文件中有一个子节点,它包含属性和相应的值。我想使用wix项目更新值。寻求帮助我如何修改值或替换xml节点?

1 个解决方案

#1


0  

You should add a reference to WixUtilExtension.dll to your project. And in Wix element should namespace declaration:

您应该将WixUtilExtension.dll的引用添加到您的项目中。并且在Wix元素中应该命名空间声明:

<Wix  xmlns:util="http://schemas.microsoft.com/wix/UtilExtension"

#1


0  

You should add a reference to WixUtilExtension.dll to your project. And in Wix element should namespace declaration:

您应该将WixUtilExtension.dll的引用添加到您的项目中。并且在Wix元素中应该命名空间声明:

<Wix  xmlns:util="http://schemas.microsoft.com/wix/UtilExtension"