[izpack-users] detect pack selection?
miraodb at hotmail.com
Wed Mar 8 10:05:17 CET 2006
There's a way !
In processpanel, you have the attribute executeforpack which should allow
you to do what you need.
<job name="Set the permissions for related Programs">
<os family="unix" />
<executefile name="$INSTALL_PATH/batch/SetPermissions.sh" />
<job name="Clear the Server installation">
<os family="windows" />
<executefile name="$INSTALL_PATH\batch\WinClearServer.bat" />
----- 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.
> izpack-users mailing list
> izpack-users at lists.berlios.de
More information about the izpack-users