[wix-users] Running a Batch File

Kubilay Özışık kubi.ozi at gmail.com
Tue Sep 22 11:17:47 PDT 2015


Hi there,

I'm trying to run a batch file after I install all the files during the
installation. But it's not running the batch file and I can't figure out
why. Can you please help?

<CustomAction Id="myBatchAction" Directory="MYWEBWEBSITE"
ExeCommand="[INSTALLDIR]MyBatch.bat" Return="check"/>

<InstallExecuteSequence>
<Custom Action="myBatchAction" After="InstallFinalize">NOT
Installed</Custom>
</InstallExecuteSequence>

I'm shipping the MyBatch.bat file inside the INSTALLDIR, What am I doing
wrong?


More information about the wix-users mailing list