I have an MSI file created with WiX, that intalls my executables and copies a configuration file, that placed near the MSI file. I can change configuration file before installation and the changed version will be copied to installation folder.
<Component Id="ProductComponent"
Guid="714DCBE1-F792-401E-9DDC-67BC1853BE14">
....
<File Source="Chiffa.exe.config"
Compressed='no'/>
</Component>
That is what I want and I'm happy, but not satisfied, because I need to install some other packages along with this MSI file. So I created a bundle project with WiX and placed all my lovely MSI packages to its chain:
<Chain>
.....
<MsiPackage Compressed="yes"
SourceFile="$(var.ChiffaSetup.TargetPath)"
Vital="yes"
Visible="no">
<Payload SourceFile="Chiffa.exe.config"
Compressed="no"/>
</MsiPackage>
</Chain>
Everything is works fine except one little thing. I can't change the configuration file since bundle checks the consistency of an MSI package and fails with "the hash code" thing.