[izpack-users] Remove temporary files and directories

Miraodb miraodb at hotmail.com
Tue Feb 21 18:03:36 CET 2006


hi,

to do so, you can simply use the processpanel which would run a script that
does what you like.
You can setup the processpanel to run for either unix or windows and runs
corresponding sh scripts or windows batch files or vbscripts or whatever you
like.

here's a sample for processpanel:

<processing>
 <logfiledir>$INSTALL_PATH</logfiledir>
 <job name="Set the permissions for related Programs">
  <os family="unix" />
  <executefile name="$INSTALL_PATH/batch/SetPermissions.sh" />
 </job>
<job name="Clear the Server installation">
  <executeForPack name="Server"/>
  <executeForPack name="ServerBatchs"/>
  <os family="windows" />
  <executefile name="$INSTALL_PATH\batch\WinClearServer.bat" />
 </job>
</processing>

and in install.xml:


        <panel classname="ProcessPanel"/>

Hope that helps,
fabrice
----- Original Message ----- 
From: "Laurent Duperval" <lduperval at gmail.com>
To: <izpack-users at lists.berlios.de>
Sent: Tuesday, February 21, 2006 5:54 PM
Subject: [izpack-users] Remove temporary files and directories


> Hi,
>
> In our installation process, we need to create temporary files and
> directories to execute some ant actions. Is there a way to tell izpack
> to remove these files after installation?
>
> Thanks,
>
> L
> _______________________________________________
> izpack-users mailing list
> izpack-users at lists.berlios.de
> http://lists.berlios.de/mailman/listinfo/izpack-users
>





More information about the izpack-users mailing list