当前位置: 动力学知识库 > 问答 > 编程问答 >

Modifying XML File being install by WiX during Install

问题描述:

I'm working on a WiX installer that needs to modify one of the XML Files being installed depending on a condition chosen during install. Is there a way to do this during the initial install?

I've tried using XMLFile and was getting an error about the file not existing. I'm wondering if using XMLFile is the correct way to do this and I just had the file path wrong maybe.

网友答案:

Maybe the path to xml file is wrong, when you run the msi the error message includes the path. This will help in fixing the path, or refer to verbose log file ( msiexec /i /*lvx ).

Refer https://www.firegiant.com/wix/tutorial/com-expression-syntax-miscellanea/xml/ for example on using XmlFile

分享给朋友:
您可能感兴趣的文章:
随机阅读: