I'm generating a msi and need to add a few files that are .txt from my solution into the bin folder, along with the MSI.
For example, adding a read-me.txt always that a new MSI is generated. This file must not be within the package.
I'd not like to use Build Events (DOS commands) if I have an option.
In your wixproj, try that:
<Project ...>
<Target Name="AfterBuild">
<Copy SourceFiles="SourceFile.txt" DestinationFiles="DestFileName.txt" />
</Target>
</Project>
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With