[izpack-users] detect pack selection?

Miraodb miraodb at hotmail.com
Wed Mar 8 10:05:17 CET 2006


Hi guyz,

There's a way !
In processpanel, you have the attribute executeforpack which should allow
you to do what you need.
eg:


<processing>
<logfiledir>$INSTALL_PATH</logfiledir>
<job name="Set the permissions for related Programs">
<os family="unix" />
<executefile name="$INSTALL_PATH/batch/SetPermissions.sh" />
</job>
 <job name="Clear the Server installation">
<executeForPack name="Server"/>
<executeForPack name="ServerBatchs"/>
<os family="windows" />
<executefile name="$INSTALL_PATH\batch\WinClearServer.bat" />
</job>
</processing>

cheers,
fabrice

----- Original Message ----- 
From: "Hal Vaughan" <hal at thresholddigital.com>
To: <izpack-users at berlios.de>
Sent: Tuesday, March 07, 2006 11:36 PM
Subject: Re: [izpack-users] detect pack selection?


> On Tuesday 07 March 2006 17:31, Darren Govoni wrote:
> > Hi,
> >    Is there anyway to detect if a pack was selected for install or
> > not? For example, I would like to
> > NOT execute a process if a certain pack was NOT installed. Maybe in
> > future, things like resources
> > and processes can be within <pack> elements so they can only appear
> > if pack is installed.
>
> I don't think there is a way from config files, but I don't know.  If
> you are talking about a custom panel, you can read all the selected
> packs from InstallData.selectedPacks.
>
> Hal
> _______________________________________________
> izpack-users mailing list
> izpack-users at lists.berlios.de
> http://lists.berlios.de/mailman/listinfo/izpack-users
>





More information about the izpack-users mailing list