Skip to content
Discussion options

You must be logged in to vote

It's args.Session.ReadBinary(<your file id in the Binary table>)

Inserting teh file in teh Binary table of the existing MSI is a separate topic and you will find the answer online. It can be even done with teh vb script.

If you are OK to distribute exe, not msi file then you may have even a simpler solution.

  1. build your msi
  2. create your config file
  3. build a simplified exe bootstrepper with both msi and config as resources
  4. at runtime, from your exe entry point routine extract the config in temp location
  5. start msi and pass the location of the config as a public (uppercase) property

here is the example

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
2 replies
@pitman-87
Comment options

@oleg-shilo
Comment options

Answer selected by pitman-87
Comment options

You must be logged in to vote
1 reply
@pitman-87
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
2 participants