[izpack-users] Informations about ProcessPanel? How does it work?
Miraodb
miraodb at hotmail.com
Tue Aug 22 14:46:14 CEST 2006
Hi,
That's really easy to do.
ProcessPanel.Spec.xml:
------------------------
<processing>
<logfiledir>$INSTALL_PATH</logfiledir>
<job name="Renaming Client's files">
<executeForPack name="Client"/>
<executeForPack name="ClientBatchs"/>
<os family="windows" />
<executefile name="$INSTALL_PATH\batch\ClientRename.bat" />
</job>
</processing>
$INSTALL_PATH\batch\ClientRename.bat:
---------------------------------------------
@echo off
echo "Client Rename"
move $INSTALL_PATH\axiom_batch\Client_Axiom.bat
$INSTALL_PATH\axiom_batch\Client_Axiom_$srvnamesc.bat
Install.xml:
-----------
<ressources>
.........
<res id="ProcessPanel.Spec.xml" src="ProcessPanel.Spec.xml"/>
.........
</ressources>
<panels>
..........
<panel classname="ProcessPanel"/>
........
</panels>
<pack............>
..........
<singlefile src="axiom_batch/ClientRename.bat"
target="$INSTALL_PATH\axiom_batch\ClientRename.bat"/>
<parsable targetfile="$INSTALL_PATH\axiom_batch\ClientRename.bat"/>
..........
</pack>
As you can see the parsable is needed otherwise the variable won't be
parsed.
This should do the job.
Cheers,
Fabrice
----- Original Message -----
From: <lasof11-spam at yahoo.fr>
To: <izpack-users at lists.berlios.de>
Sent: Tuesday, August 22, 2006 2:24 PM
Subject: [izpack-users] Informations about ProcessPanel? How does it work?
> Hi,
>
> I want to use ProcessPanel, but I don't know how to do with it. I
create a ProcessPanel.Spec.xml, with the *.bat to execute. But I want this
bat to rename or copy some files eg.
> Is it possible, and how?
> I tried to write the $INSTALL_PATH variable in my *.bat but it doesn't
work.
> can u help me please? thanks a lot
>
>
>
>
>
>
> ---------------------------------
> Découvrez un nouveau moyen de poser toutes vos questions quelque soit le
sujet ! Yahoo! Questions/Réponses pour partager vos connaissances, vos
opinions et vos expériences. Cliquez ici.
----------------------------------------------------------------------------
----
> _______________________________________________
> izpack-users mailing list
> izpack-users at lists.berlios.de
> https://lists.berlios.de/mailman/listinfo/izpack-users
>
More information about the izpack-users
mailing list