I am using wix/burn to create a bootstrapper to some MSI files. I created markup with an xml payload:
<BootstrapperApplicationRef ...>
<Payload Id="myXML" Compressed="yes" SourceFile="c:\my.xml" />
</BootstrapperApplicationRef>
Question: How do I pass this payload's path to an MsiPackage?
<MsiPackage ...>
<MsiProperty Name="XMLFILE" Value="[what do I use?]" />
</MsiPackage>
I'm also interested in editing the file before passing it to the msi. For that I'm using bafunctions.dll. But I don't know how to get the payload's path for bafunctions.dll either (c++ code). I tryed GetModuleFileName() but that gives me the original bundle path, like c:\users\alex\desktop\bundle.exe, not the temp folder where everything is unzipped.