Hi All,
I am trying to execute a batch file while executing my installer.the batch file executes a java class.the java class is dependent upon some library.but batch file is not getting executed and also i want to write to a log file while executing the batch file.
so my installer directory is like below
installerdirectory
|--install.xml
|--.bat file
|--lib(which contains the library to execute the java class.which is called from batch file)
|--build.xml
|--userInputSpec.xml
|--ProcessPanelSpec.xml
|--standalone-compiler.jar
my packs written inside the install.xml is
<packs>
<pack name="agLiteplatform" required="yes" preselected="yes">
<description>execute the batch file</description>
<parsable targetfile="platform.conf"/>
<executable
targetfile="agl-import.bat"
stage="postinstall"
keep="true"
failure ="warn"
os="windows"/>
</pack>
</packs>
Please find the attached installer directory
izpack-batch.rar
Thanks,
Debasis