[wix-users] Running a Batch File

Farrukh Waheed farrukh1 at gmail.com
Tue Sep 22 11:48:50 PDT 2015


try with "cmd /c MyBatch.bat"...

On 22 September 2015 at 23:17, Kubilay Özışık <kubi.ozi at gmail.com> wrote:

> 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?
>
> ____________________________________________________________________
> WiX Toolset Users Mailing List provided by FireGiant
> http://www.firegiant.com/
>


More information about the wix-users mailing list