[wix-users] How to include a file as a binary and use it in a WixCA command line

Walter Dexter wfdexter at gmail.com
Tue May 3 09:51:06 PDT 2016


Try this. I think it's right.

<Binary Id="CreateHostsEXE"
SourceFile="../../scripts/generateHostsFile.exe" />
<CustomAction Id="OurAction"
              FileKey="CreateHostsEXE"
              ExeCommand="our command line args"
              Execute="deferred"
              Return="check" />


On Tue, May 3, 2016 at 6:09 AM, Gary M <garym at oedata.com> wrote:

> Hi,
>
> I have a few script files used with WixCA  command line. I would like to
> access the file without having them installed. I'm looking to define the
> scripts treated as  <binary>,  but don't know how to address them ie push
> them into a command line.
>
> Help is appreciated
>
> ____________________________________________________________________
> WiX Toolset Users Mailing List provided by FireGiant
> http://www.firegiant.com/
>



More information about the wix-users mailing list