[wix-users] Running bat files

Winter,Stijn S. de stijn.dewinter at student.fontys.nl
Mon Mar 7 01:42:35 PST 2016


I have a few bat files that have to be run before and after the install.

I have 2 questions:

Is WiX smart enough to put bat files which are only specified in a customaction tag into a temporary folder, or do i have to copy them before calling them?(And how would i do this before install)

And will this work:

<CustomAction Id="bat" ExeCommand="PathToFile\MyBatch.bat" Directory="PathToFile" Execute="deferred" Return="asyncWait"/>
<Custom Action="bat" After="InstallFiles" >NOT Installed</Custom>


Stijn de Winter

Op deze e-mail zijn de volgende voorwaarden van toepassing:
The above disclaimer applies to this e-mail message.

More information about the wix-users mailing list