[izpack-users] Turning off packs in silent install

jschnitter jeff.schnitter at workday.com
Tue Dec 12 19:41:47 CET 2006


Hi all,

Has anyone had experience selectively installing packs in a silent install
file?  When you generate a silent install file there is an attribute for the
pack named selected, defaulting to "true".  I tried setting this value to
false to see if I could prevent one or more packs from being installed, but
the packs seem to get installed regardless of the value of selected.

For example, I'd like to install my WAR files and Other Files packs but not
the Script Files:

<AutomatedInstallation langpack="eng">
    <com.izforge.izpack.panels.TargetPanel>
        <installpath>c:\apps</installpath>
    </com.izforge.izpack.panels.TargetPanel>
    <com.izforge.izpack.panels.PacksPanel>
        <pack name="WAR Files" index="0" selected="true"/>
        <pack name="Script Files Files" index="1" selected="false"/>
        <pack name="Other Files" index="2" selected="true"/>
    </com.izforge.izpack.panels.PacksPanel>
    <com.izforge.izpack.panels.InstallPanel/>
    <com.izforge.izpack.panels.FinishPanel/>
</AutomatedInstallation>

For what it's worth, it seems to work if you remove the lines of the packs
you do not want to install, but it would be simpler if you could provide the
value "false" for selected.

Thanks,

Jeff Schnitter
-- 
View this message in context: http://www.nabble.com/Turning-off-packs-in-silent-install-tf2809377.html#a7839020
Sent from the izpack users mailing list archive at Nabble.com.




More information about the izpack-users mailing list