[izpack-users] how to run an Batch File

Vasanth vasanthkumar.sono at gmail.com
Thu Oct 18 10:59:00 CEST 2007


Hi panner,

i am still facing the problem,

i've added the element but it is throwing some "*javaio.IOException : create
process c:\aa\post.bat error=2"*

can you post some full length* working *sample code, which executes a batch
file.
thanks for your time.




On 10/15/07, panneer selvam <panneer.mca at gmail.com> wrote:
>
> 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.
> >
> _______________________________________________
> izpack-users mailing list
> izpack-users at lists.berlios.de
> https://lists.berlios.de/mailman/listinfo/izpack-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://lists.berlios.de/pipermail/izpack-users/attachments/20071018/4d6ce658/attachment.html 


More information about the izpack-users mailing list