[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
Tue May 29 22:48:21 CEST 2007


Not sure what I changed but it seems to work now.

        <pack    name="Bundle" required="yes">
            <description>Bundle</description>
            <file 
                unpack="true" 
                src="../build/BUNDLE_windows_APP_VERSION.zip"

                targetdir="$INSTALL_PATH" 
            />        
        </pack> 

-----Original Message-----
From: Daniels, Doug 
Sent: Thursday, May 24, 2007 4:52 PM
To: 'izpack-users at lists.berlios.de'
Subject: unpack attribute not working <file unpack="true"> is not
packing a ZIP file as individual files

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