Alex
Alex

Reputation: 910

Wix Toolset: How to store file in a table in custom wix extension

I am trying to create a custom Wix Extension which copies a file with come preparations.

How can I achieve the similar procedure to File Element when all you need is specify file source and the file gets stored in the MSI tables?

<File Id="Some.dll"
      Source="files\Some.dll"
      KeyPath="yes" />

As a workaround I can use Binary Element, but I want to have the same elegant style as Wix Toolset.

Upvotes: 0

Views: 135

Answers (1)

Doc
Doc

Reputation: 708

You'll want to add your file to the Binary table of the MSI. This page here shows how to do this and then utilize it while installing.

Upvotes: 0

Related Questions