[izpack-users] how to use createForUnselectedPack

Dennis Reil Dennis.Reil at reddot.de
Tue Apr 10 15:21:36 CEST 2007

You can use the panelconditions instead of the createForPack/createForUnselectedPack-Elements. You will then have to create an AndCondition which consists of a condition for the OS and a condition for the selected pack.

<condition type="and" id="mypack">
			<condition type="de.reddot.installer.rules.JavaCondition">
				<returnvalue type="boolean">true</returnvalue>
                 <condition type="packselection" id="MyPackselected">

You'll have to add corresponding not condition and two panel conditions for the two UserInputPanel.


-----Ursprüngliche Nachricht-----
Von: izpack-users-bounces at lists.berlios.de [mailto:izpack-users-bounces at lists.berlios.de] Im Auftrag von abdessamad danguir
Gesendet: Dienstag, 10. April 2007 13:45
An: users izpack
Betreff: [izpack-users] how to use createForUnselectedPack

hi all,
i have a Pack which should be installed only in linux platform : 
<pack name="MyPack" preselected="yes" required="no"  os="unix">  ..

for this pack there are two "userInputPanel":
the first contains :
<panel order="0">    
	  <createForPack name="MyPack"/>

and the second contains :
<panel order="1">
           <createForUnselectedPack name="MyPack"/>

the problem is : when i try to do an installation on windows platform , the second panel appears .  
i dont want to see any of the 2 panels when i'am doing a windows installation , what should i do ?

More information about the izpack-users mailing list