[izpack-users] MultiVolumeInstaller

Dennis Reil Dennis.Reil at reddot.de
Mon Apr 23 09:36:15 CEST 2007


The purpose of the MultiVolumeInstaller is to create an installer which
spans over multiple volumes. We use this feature to create an installer
packaged on two CDs.

 

What has to be done to use this feature?

-          Add the following to your installer xml:

<packaging>

            <packager
class="com.izforge.izpack.compiler.MultiVolumePackager">

               <options volumesize="in BYTES" firstvolumefreespace="in
Bytes">

            </packager>

            <unpacker
class="com.izforge.izpack.installer.MultiVolumeUnpacker" />

      </packaging>

 

If you compile your installer, you'll get one jar-File and n *.pak.*
files. The multi volume packager tries to put as many bytes as available
onto one volume. Additional space on the first volume can be reserved by
setting the firstvolumefreespace attribute.

 

1st volume: PAKSIZE = VOLUME_SIZE - FIRSTVOLUMEFREESPACE

2nd to last volume: PAKSIZE = VOLUME_SIZE

 

Normally, you will put the jar + pak-file + additional files (e.g. docu)
on the first volume and each of the *.pak.* files on seperate volumes.

 

Regards,
  Dennis

 

 

Von: izpack-users-bounces at lists.berlios.de
[mailto:izpack-users-bounces at lists.berlios.de] Im Auftrag von Andrew
Fang
Gesendet: Freitag, 20. April 2007 16:59
An: izpack-users at lists.berlios.de
Betreff: [izpack-users] MultiVolumeInstaller

 

 

I saw this class in the 3.10.1 source, but could not find any
documentation on the purpose and the usage of it. Can someone provide
information on how to use it?

 

I have the need to to run installation that accross multiple
volumes/disks and think this may be something that can fit this purpose.
Your help is greatly appreciated.

 

Andrew

-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://lists.berlios.de/pipermail/izpack-users/attachments/20070423/e4c52884/attachment.html 


More information about the izpack-users mailing list