[izpack-devel] UserInputPanel Usage/Batch File Usage
Bartz, Klaus
Klaus.Bartz at coi.de
Tue Apr 17 09:01:57 CEST 2007
Hi A.J.,
you know, the file you will parsed have to be also installed
before. For <file> <fileset> or <singlefile> there are the
attribute "overwrite" with the default "update". The installed
batch file will be newer as the one in the installer jar, therefore
no overwrite will be done. But then there is no parsable template
on the disk because there are no IzPack variables in it else the
last replacement.
Therefore declare the "overwrite" attribute with "true" for these
files and the IzPack installer "makes a little bit more useable" for
you.
Cheers
Klaus
> -----Original Message-----
> From: izpack-devel-bounces at lists.berlios.de
> [mailto:izpack-devel-bounces at lists.berlios.de] On Behalf Of
> A. J. Rajkumar
> Sent: Monday, April 16, 2007 5:42 PM
> To: izpack-devel at lists.berlios.de; izpack-users at lists.berlios.de
> Subject: [izpack-devel] UserInputPanel Usage/Batch File Usage
>
>
> Hi Folks
>
> I am using a two-panel layout to collect various
> information from the user where the data entered by the user
> is passed on to a Java Class via a batch file.
>
> I find that the new batch file created from a template
> batch file using the <parsable> tag does not get resolved
> properly every time.
>
> If I create a "new installation" directory, then the
> variables are resolved correctly. Instead if I use an
> existing directory, and if the the parsed filed exists, then
> it DOES not get overwritten by the new values entered by the
> user. For example: if the person installing mis-typed the
> 'port' number and installs it a second time with the
> installer, the incorrect port number never gets correct in
> the parsed batch file.
>
> This makes the izpack installer somewhat unusable for me.
>
> Regards
>
>
>
> _______________________________________________
> izpack-devel mailing list
> izpack-devel at lists.berlios.de
> https://lists.berlios.de/mailman/listinfo/izpack-devel
>
More information about the izpack-devel
mailing list