[izpack-users] Copy a file in JRE install directory

mika mika.works at gentlemansclub.de
Mon Aug 28 08:19:56 CEST 2006


Hello Christophe,

as we are programmers the question if anything is possible is valueless.
Because everything is possible ;-).

Also in your chase.
For sure is it possible to copy the soundbank file, or each other file. You only have to know where to copy it to!

There is a file section in the installation. The file element has an attribute override. It can contain the values 'true', 'false', 'asktrue', 'askfalse' or 'update'.

Like said, the only thing to know is where the JRE is installed to. But this may be not the problem getting to know, if the environment variable JRE_HOME or JDK_HOME (in your sence it may be the first) has been set.

To gain access to the environment variable you can write ${ENV[variable]},
in your case it would be ${ENV[JRE_HOME]}.

Finally... As I said at first, nothing is impossible! :-)

regards,
mika

-------- Original-Nachricht --------
Datum: Sun, 27 Aug 2006 22:47:06 +0200
Von: Richard Christophe <cvrichard at infonie.fr>
An: izpack-users at lists.berlios.de
Betreff: [izpack-users] Copy a file in JRE install directory

> Hello,
> 
> I've make an application using JAVA MIDI Synthesizer but on Windows, the 
> JRE does not install a soundbank by default.
> Do you think is it possible to copy at the installation with Izpack the 
> sounbank file in folder /lib/audio of the JRE install directory (and 
> create the folder audio if is not present) 
> (http://java.sun.com/products/java-media/sound/soundbanks.html) ?
> Thanks.
> 
> Christophe
> _______________________________________________
> izpack-users mailing list
> izpack-users at lists.berlios.de
> https://lists.berlios.de/mailman/listinfo/izpack-users
> 

-- 


Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen!
Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer



More information about the izpack-users mailing list