> I'd like to get my bootstrapper exe to be built while I'm 
> building my Wix file instead of going into the command line 
> and doing it separately.  I figured I could do some kind of 
> ExeCommand to get it to work but I'm not quite sure where or 
> how to add that in.  Can Wix do that?  I know I can execute 
> commands as part of the install processes using custom 
> actions but I need this to happen before I'm done building

You can modify your .wixproj file and add an AfterBuild target, and from
that either use an MSBuild 'Exec' or 'MSBuild' task to build your
bootstrapper, see http://msdn2.microsoft.com/en-gb/library/7z253716.aspx
for a list of the available MSBuild tasks.

  <Target Name="AfterBuild">
    <MSBuild Projects="bootstrapper\bootstrapper.sln" />
  </Target>

This is for version 3, by the way - I don't know whether WiX 2 includes
MSBuild integration or not.

Alternatively, you could just create a solution containing both
projects.

Cheers,
John

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to