[izpack-users] create ShortCuts depending on packages?

Miraodb miraodb at hotmail.com
Fri Aug 4 09:29:51 CEST 2006


Hi Klaus,

Hope you're doing good on a friday.... almost the WE.
Anyway, this reminded me something, a while back we developed
createForUnselectedPack in userinputpanel.
First of all, this isn't in the docu... MY BAD !
However, why didn't we do this for shorcuts too ?
I can't remember any reason...

Any ideas ?

Cheers,
Fabrice
----- Original Message ----- 
From: "Bartz, Klaus" <Klaus.Bartz at coi.de>
To: <izpack-users at lists.berlios.de>
Sent: Friday, August 04, 2006 9:15 AM
Subject: Re: [izpack-users] create ShortCuts depending on packages?


> Hi Mika,
> see context related...
>
> Cheers
>
> Klaus
>
>
> >-----Original Message-----
> >From: izpack-users-bounces at lists.berlios.de
> >[mailto:izpack-users-bounces at lists.berlios.de]On Behalf Of mika
> >Sent: Friday, August 04, 2006 8:54 AM
> >To: izpack-users at lists.berlios.de
> >Subject: [izpack-users] create ShortCuts depending on packages?
> >
> >
> >Hello again,
> >
> >first I have to say that I haven't read the
> >ShortCut-documentation ( punch me if you want ;-) ).
>
> Yes, I will do; why should I read the docu for you? OK, I have
> not to do it because I have done it years ago and I have
> a valid spec file now...
>
> >But my question is wheather there is a option given to create
> >a shortcut depending on a package which has been selected or not.
> >
> >That means, if this package isn't selected the shortcut
> >shouldn't be created.
> >And the other way round, if the package is selected, the
> >shortcut has to be created!
> >
>
> This is the behavior all people expect.
>
>
> >Just give me an tipp wheater it is in the documentation or not ;-).
> >But if you are kind you would post the way of doing this :-).
> >
>
> Following my ShortcutSpec.xml for our admin clients as example:
>
> <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
>
> <shortcuts>
>
>   <skipIfNotSupported />
>
>   <programGroup defaultName="Xtrend" location="applications"/>
>
>   <shortcut
>      name="Administration"
>      programGroup="yes"
>      desktop="yes"
>      applications="no"
>      startMenu="no"
>      startup="no"
>      target="$INSTALL_PATH\bin\StartAdminClient.cmd"
>      commandLine=""
>      iconFile="$INSTALL_PATH\icons\admin.ico"
>      iconIndex="0"
>      initialState="noShow">
>
>      <createForPack name="AdministrationClient"/>
> --------^  that's it
>
>    </shortcut>
>   <shortcut
>      name="Customizing"
>      programGroup="yes"
>      desktop="yes"
>      applications="no"
>      startMenu="no"
>      startup="no"
>      target="$INSTALL_PATH\bin\StartCustomizingClient.cmd"
>      commandLine=""
>      iconFile="$INSTALL_PATH\icons\custom.ico"
>      iconIndex="0"
>      initialState="noShow">
>
>      <createForPack name="CustomizingClient"/>
> --------^  this shortcut is for an other pack, you see
>    </shortcut>
>
> </shortcuts>
>
> >Thanks,
> >mika
> >-- 
> >
> _______________________________________________
> izpack-users mailing list
> izpack-users at lists.berlios.de
> http://bat.berlios.de/mailman/listinfo/izpack-users
>
>




More information about the izpack-users mailing list