[wix-users] Running bat files

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


Hello,


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"/>
<InstallExecuteSequence>
<Custom Action="bat" After="InstallFiles" >NOT Installed</Custom>
</InstallExecuteSequence>



Regards,

Stijn de Winter


==========================================================
Op deze e-mail zijn de volgende voorwaarden van toepassing:
http://www.fontys.nl/disclaimer
The above disclaimer applies to this e-mail message.


More information about the wix-users mailing list