[izpack-users] [izpack-devel] Regarding Izpack-Querry on "shortcutpanel"

nandy jones nandyluvsu at gmail.com
Wed Jan 24 20:37:49 CET 2007


Hi Elmar,
      I created some dummy accounts on my lap top and installed my s/w with
admin privellages i.e from my account(as i am the admin) and once i finished
the installation i can see the desktop shortcuts - a shortcut placed in the
"start menu"  & also on the desktop, now when i logg off and log in to some
user account which i created and see , there i do not see this desktop
shortcut neither in the menu nor on  the desktop but could see a folder
created where it was said to be installed while installing by admin in the
C:\Program Files\(my s/w folder)  with the all the contents  it has to have
but just missing the "shortcut / icon ".

I guess this probelm will be solved if you could suggest me some way to make
the "all users" check box appear ..i even tried on  other systems it behaves
the same way, please let me know if i need to add something in my spec file,
if something has to bee added what is it..?

Thanks,

nandy


On 1/23/07, Elmar Grom <elmar at grom.net> wrote:
>
>  Hi Nandy,
>
> ok, now I understand. A lot of people call the shortcut an 'icon'. that
> confused me into thinking that no shortcuts are created. On the desktop
> there must be an icon, it probably just is not the one you want, but a
> default from Windows.
>
> If this is so, there is nothing I can do, because the problem is not with
> IzPack. My guess would be, that the icon file is either not where you say it
> should be ($INSTALL_PATH\bin\Icons\1.ico) or it is not a valid icon file.
>
>     Elmar
>
> -----Original Message-----
> *From:* nandy jones [mailto:nandyluvsu at gmail.com]
> *Sent:* Tuesday, January 23, 2007 4:46 PM
> *To:* elmar at grom.net
> *Subject:* Re: [izpack-devel] Regarding Izpack-Querry on "shortcutpanel"
>
>  Hi Elmar,
>   I am the admin to my laptop,the shortcut is being created on the desktop
> & also in the program menu, When double clicked it works as well(starts my
> application) but does not create any icon on the desktop/program menu of
> other users, i am pasting the spec files
> probably you can get something by loooking at them ...and yes i did
> include
> <native name="*ShellLink.dll* " type="*izpack*" />
>
> *1.izPackInstall.xml  (actual spec file)*
> *2.shortcutSpec.xml (for shurtcuts)*
> **
> *1. izPackInstall.xml  *
>
>   <resources>
>    <!--<res id="LicencePanel.licence" src="data/License.txt"/>-->
>     <res id="InfoPanel.info" src="data/Readme.txt"/>
>     <res id=" shortcutSpec.xml" src="C:\Program
> Files\jtcChart\data\Installer\shortcutSpec.xml"/>
>   <!--  <res id="Unix_shortcutSpec.xml"
> src="C:\MyDocuments\Installer\unix_shortcut_specification.xml"/>-->
>   </resources>
>   <native type="izpack" name="ShellLink.dll"/>
>   <!--
>   + The panels section.
>   + We indicate here which panels we want to use. The order will be
> respected.
>   -->
>   <panels>
>     <panel classname="HelloPanel"/>
>     <panel classname="InfoPanel"/>
>     <!--<panel classname="LicencePanel"/>-->
>     <panel classname="TargetPanel"/>
>     <panel classname="PacksPanel"/>
>     <panel classname="InstallPanel"/>
>     <panel classname="ShortcutPanel"/>
>     <panel classname="FinishPanel"/>
>   </panels>
>
>   <!--
>   + The packs section.
>   + We specify here our packs.
>   -->
>   <packs>
>     <pack name="Base" required="yes">
>       <description>The base files for JTC Chart/Map.</description>
>       <file src="ocxsConfig.xml" targetdir="$INSTALL_PATH"/>
>       <file src="dcwpo-browse.shp" targetdir="$INSTALL_PATH"/>
>       <file src="dcwpo-browse.ssx " targetdir="$INSTALL_PATH"/>
>       <file src="openmap.properties" targetdir="$INSTALL_PATH"/>
>       <file src="polbnda.shp" targetdir="$INSTALL_PATH"/>
>       <file src="polbnda.ssx" targetdir="$INSTALL_PATH"/>
>       <file src="verb-phrases" targetdir="$INSTALL_PATH"/>
>       <file src="data/Readme.txt" targetdir="$INSTALL_PATH"/>
>       <file src="data/License.txt" targetdir="$INSTALL_PATH"/>
>       <file src="build/lib" targetdir="$INSTALL_PATH/build"/>
>       <fileset dir="lib" targetdir="$INSTALL_PATH/lib"/>
>       <fileset dir="bin" targetdir="$INSTALL_PATH/bin"/>
>       <fileset dir="data" targetdir="$INSTALL_PATH/data"/>
>       <fileset dir="images" targetdir="$INSTALL_PATH/images"/>
>     </pack>
>     <!--
>     <pack name="JRE" required="yes">
>       <description>Java Runtime Environment Version 1.5.0_09
> .</description>
>       <fileset dir=" jre1.5.0_09" targetdir="$INSTALL_PATH/java"/>
>     </pack>
>     -->
>     <pack name="Docs" required="no">
>       <description>The documentation for JTC Chart/Map.</description>
>       <file src="docs" targetdir="$INSTALL_PATH"/> <!-- Reccursive adding
> -->
>     </pack>
>     <pack name="Sources" required="no">
>       <description>The source code for JTC Chart/Map.</description>
>       <fileset dir="source" targetdir="$INSTALL_PATH/source"/>
>     </pack>
>   </packs>
> </installation>
>
> *2. shortcutSpec.xml *
>
> <shortcuts>
>   <programGroup defaultName="jtcChart"  location="startMenu"/>
>   <shortcut
>     name="Trident Warrior"
>     target="$INSTALL_PATH\bin\jtcChart.bat"
>     commandLine=""
>     workingDirectory="$INSTALL_PATH\"
>     description="This starts jtcChart"
>     iconFile="$INSTALL_PATH\bin\Icons\1.ico"
>     iconIndex="0"
>     initialState="normal"
>     programGroup="yes"
>     desktop="yes"
>     applications="yes"
>     startMenu="yes"
>     createForAll="true"
>     startup="no">
>
>     <createForPack name="Base"/>
>
>   </shortcut>
> </shortcuts>
>
>
>
> *Thanks,*
>
> *nandy*
>
> **
>
> **
>
> **
>
> **
>
> **
>
> **
>
>
>
>
>
>
> On 1/23/07, Elmar Grom <elmar at grom.net> wrote:
> >
> >  Nandy,
> >
> > ok, I see the option for 'all users' is grayed out. I think since it is
> > XP you need to log in as admin to be allowed to create shortcuts for all
> > users. If you are logged in as an individual user you might not have the
> > rights for that.
> >
> > I am not sure if I understand the result you are trying to describe
> > properly. It is my understanding that no shortcuts are created at all.
> > None on the desktop AND none in the program menu. One other reason that I
> > can think of why this might happen is, that you did not include the native
> > library that is required for this. Did you list the following in your
> > definition:
> >
> >  * * <native name="*ShellLink.dll*" type ="*izpack*" />
> >
> >     Elmar
> >
> >
> > -----Original Message-----
> > *From:* nandy jones [mailto: nandyluvsu at gmail.com]
> > *Sent:* Tuesday, January 23, 2007 4:06 PM
> > *To:* elmar at grom.net
> > *Subject:* Re: [izpack-devel] Regarding Izpack-Querry on "shortcutpanel"
> >
> >  Hi,
> >  I am sorry..!!, here i am attaching the zipped folder.
> >
> >
> > nandy
> >
> >
> > On 1/23/07, Elmar Grom <elmar at grom.net> wrote:
> > >
> > >  Nandy,
> > >
> > > please use the zip format (the rar format is not widely used) or paste
> > > the screen shots directly into the e-mail.
> > >
> > >     Elmar
> > >
> > > -----Original Message-----
> > > *From:* nandy jones [mailto: nandyluvsu at gmail.com]
> > > *Sent:* Tuesday, January 23, 2007 3:50 PM
> > > *To:* elmar at grom.net
> > > *Subject:* Re: [izpack-devel] Regarding Izpack-Querry on
> > > "shortcutpanel"
> > >
> > >  Hi Elmar,
> > >    Thanks a lot for really understanding and taking time to answer
> > > everything clearly...i really appreciate it..!!
> > >
> > > Now coming to ur Questions:
> > > - I am using Windows XP
> > > - I am proceeding with the "Next Button", in the last screen , there
> > > wil be only one button  which wud be "Done".
> > > - I am attaaching a zipped forder in which i have all the screen shots
> > > of after i double click the install they are name from 1st to 8th.
> > >
> > > I hope i am clear ...please let me know if you you have any other
> > > questions..!!
> > >
> > > Thanks,
> > > Nandy
> > >
> > >
> > >
> > >
> > > On 1/22/07, Elmar Grom <elmar at grom.net> wrote:
> > > >
> > > >  Nandy,
> > > >
> > > > I am not sure I completely understand what is going on. The actual
> > > > program folder is only created once, but is visible from all accounts. The
> > > > visibility of shortcuts is an altogether different issue.
> > > >
> > > > Questions:
> > > >
> > > > - which Windows version are you using?
> > > > - are you proceeding the with the 'Next" button on the Shortcut
> > > > Panel or are you terminating with the 'Quit' button? You must use 'Next' to
> > > > create the shortcuts!
> > > >
> > > > Perhaps it's a good idea to include a snap shot of the panel with
> > > > your next message, since I am not sure I understand what you are trying to
> > > > tell about the issue with the radio buttons.
> > > >
> > > >     Elmar
> > > >
> > > >
> > > > -----Original Message-----
> > > > *From:* nandy jones [mailto: nandyluvsu at gmail.com]
> > > > *Sent:* Monday, January 22, 2007 3:31 PM
> > > > *To:* elmar at grom.net; izpack-devel at lists.berlios.de
> > > > *Subject:* Re: [izpack-devel] Regarding Izpack-Querry on
> > > > "shortcutpanel"
> > > >
> > > > Hi Elmar,
> > > >    Thansk for the reply..!!
> > > >     I did try creating some dummy accounts but coudnt get the icons
> > > > neither on the desktop nor in the start up menu, but the folder is being
> > > > created in all the acconuts including the guest account with my S/W same as
> > > > in admin(my account) inside the program files where generally i install my
> > > > peice of S/W.
> > > >  What so you thing might be the problem..??
> > > >
> > > > Thanks in advance..!!
> > > >
> > > > Nandy
> > > >
> > > >
> > > > On 1/22/07, Elmar Grom <elmar at grom.net> wrote:
> > > > >
> > > > >  Hi Nandy,
> > > > >
> > > > > I haven't looked at that code in some time but if I remember
> > > > > correctly, the option will only be there if you system actually has multiple
> > > > > user accounts. You may verify this by testing your installer on a system
> > > > > with multiple user accounts or by creating an additional account on your
> > > > > machine.
> > > > >
> > > > >     Elmar
> > > > >
> > > > > -----Original Message-----
> > > > > *From:* izpack-devel-bounces at lists.berlios.de [mailto:
> > > > > izpack-devel-bounces at lists.berlios.de]* On Behalf Of *nandy jones
> > > > > *Sent:* Saturday, January 20, 2007 8:21 AM
> > > > > *To:* izpack-devel at lists.berlios.de
> > > > > *Subject:* [izpack-devel] Regarding Izpack-Querry on
> > > > > "shortcutpanel"
> > > > >
> > > > > Hi all,
> > > > > I Just started using IZPACK and it works fine , i need help in one
> > > > > aspect which i am hoping that someone here will know ,i use windows,the
> > > > > thing is i am able to wrap all my classes and able to get a setup file by
> > > > > clicking which the installation process of mys/w starts and also able to get
> > > > > everything done as said in the guide and i am able to install my small S/W
> > > > > on the system but when installing, on the shorcut panel it does not show the
> > > > > option of "all users" but just shows the corrent user radio button is
> > > > > selected by default, the "all users" option is there on the panel but in the
> > > > > background...i read everywhere and in my shorcutSpec.xml i
> > > > > included--> createForAll="true" as one option and tried wrapping everything
> > > > > again and installing my piece again but it still doesnt show up(te all users
> > > > > options),The reason i want this is i want my s/w to be used by all the users
> > > > > using the system currently only te person who installls(admin/the current
> > > > > accoutn logged in) can use it....I'd really appreciate if someone could help
> > > > > me in this.
> > > > >
> > > > > Nandy
> > > > >
> > > > >
> > > > > _______________________________________________
> > > > > izpack-devel mailing list
> > > > > izpack-devel at lists.berlios.de
> > > > > https://lists.berlios.de/mailman/listinfo/izpack-devel
> > > > >
> > > > >
> > > > >
> > > >
> > >
> >
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://lists.berlios.de/pipermail/izpack-users/attachments/20070124/80852461/attachment.html 


More information about the izpack-users mailing list