admin管理员组

文章数量:1305127

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 badges67 silver badges116 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>

本文标签: heatWix is not harvesting runtimeconfigjsonStack Overflow