[izpack-users] how to run an Batch File

panneer selvam panneer.mca at gmail.com
Mon Oct 15 15:04:36 CEST 2007


hi vasanth,

you have to add one more element in ur pack element like this,

<executable targetfile="filename with loacation" stage="postinstall"
os="windows"/>

regards,
Panneer


On 10/15/07, Vasanth <vasanthkumar.sono at gmail.com> wrote:
> Hi,
>
> i was trying to run a batch file , please find the process code below :
>
>
> <processing>
>
> <job name="Install PostGreSQL ">
>               <os family="windows" />
>             <executefile name="$INSTALL_PATH/postgresql-8.2-int.bat"/>
>  </job>
> </processing>
>
> please find below the pack code in the install.xml
>
> *<pack name="Batchfile" required="yes">
>            <description>Batch file</description>
>             <file src="../installers/postgresql-8.2-int.bat"
> targetdir="$INSTALL_PATH"/>
>  </pack>*
>
> please let me know where am i going wrong.
>
> problem is - it is not picking the MSI file from the INSTALL_PATH.
>


More information about the izpack-users mailing list