[izpack-users] unpack attribute not working <file unpack="true"> is not packing a ZIP file as individual files

Daniels, Doug Doug.Daniels at gdc4s.com
Thu May 24 22:52:06 CEST 2007


I'm trying to add the contents of a zip file to my IzPack installation,
but when I run the installation the zip file itself is extracted during
the installation, instead of the contents of the zip file.

Is there anything special I need to do to make sure that the archives
contents are put into the installation pack?

Here is what my <packs> look like in my install XML file:
...
    <packs>
        <pack name="PREREQS" required="yes">
            <description>PREREQS</description>
            <!-- Need a fileset so that the directory prereqs isn't
copied -->
            <fileset
                dir="../IzPack/prereqs" 
                includes="**/*"             
                targetdir="$INSTALL_PATH" />    
        </pack>
        <pack    name="Bundle" required="yes">
            <description>Bundle</description>
            <file 
                unpack="true" 
                src="../build/BUNDLE_windows.zip"                 
                targetdir="$INSTALL_PATH" 
            />        
        </pack>

    </packs>
...

~Doug Daniels



More information about the izpack-users mailing list