heat - Wix is not harvesting .runtimeconfig.json - Stack Overflow

admin2025-04-16  2

Wix harvesting doesn't include .runtimeconfig.json file into .wxs file. My app doesn't run without this file. How can I include it? What can I do in general if Wix doesn't harvest certain file that I want to include?

Wix harvesting doesn't include .runtimeconfig.json file into .wxs file. My app doesn't run without this file. How can I include it? What can I do in general if Wix doesn't harvest certain file that I want to include?

Share Improve this question asked Feb 3 at 20:22 YolaYola 19.1k12 gold badges68 silver badges117 bronze badges
Add a comment  | 

1 Answer 1

Reset to default 1

Are you using any XSL file for transformation which does the job of excluding the particular file from including? Wix should harvest all the files present inside a directory , It does not harvest a specific file . Your heat command will help to diagnosie .

Alternatively you can write a File copy command in WiX for the particular file to copy from the source to destination. Similar to below :

<Component Id="cmp1F85" Directory="INSTALLFOLDER" Guid="*">
            <File Id="filC6A7" KeyPath="yes" Source="SourceDir\xyz.json" />
        </Component>
转载请注明原文地址:http://www.anycun.com/QandA/1744751474a87101.html