O'Reilly logo
  • Chris Kang thinks this is interesting:

In our WiX markup, we must reference this file with a Binary element. This will store the file inside the MSI.

<Binary Id="myScriptVBS" SourceFile=".\myScript.vbs" />

From

Cover of WiX 3.6: A Developer's Guide to Windows Installer XML

Note

This type of reference must also exist for .net *.CA.dll files (not .dll file as windows installer needs reference ot C++ form of the .net dll you wrote.)