thomas908
asked on
IzPack icon for shortcut
I am trying to use IzPack for creating a installer for my application. I am facing 2 problems
1. Can't specify icon for my shortcut. Doing the following
iconFile="$INSTALL_PATH/sr c/mi_small .gif"
but it displays the windows default icon.
2. To run the installer user has to type
java -jar install.jar
or at best a .bat file can be created. Is there any way something looking like a setup program can be created.
thanks
1. Can't specify icon for my shortcut. Doing the following
iconFile="$INSTALL_PATH/sr
but it displays the windows default icon.
2. To run the installer user has to type
java -jar install.jar
or at best a .bat file can be created. Is there any way something looking like a setup program can be created.
thanks
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
You can actually create an installerw/ icons, read me, a jar file and so-on free from zerog
but limited few functionality until buy it so its still okey.
but limited few functionality until buy it so its still okey.
> iconFile="$INSTALL_PATH/sr c/mi_small .gif"
where exactly do you specify this?
where exactly do you specify this?
ASKER
In the shortcutSpec.xml
<shortcuts>
<programGroup defaultName="Name of the Program Group"
location="applications/sta rtMenu"/>
<shortcut
name="MTShortcut"
target="$JAVA_HOME/bin/jav aw.exe"
commandLine='com.CelsiusCo nverter'
workingDirectory="$INSTALL _PATH/src"
description="A description"
iconFile="$INSTALL_PATH/sr c/mi_small .gif"
initialState="maximum"
programGroup="no"
desktop="yes"
applications="no"
startMenu="yes"
startup="no">
</shortcut>
</shortcuts>
<shortcuts>
<programGroup defaultName="Name of the Program Group"
location="applications/sta
<shortcut
name="MTShortcut"
target="$JAVA_HOME/bin/jav
commandLine='com.CelsiusCo
workingDirectory="$INSTALL
description="A description"
iconFile="$INSTALL_PATH/sr
initialState="maximum"
programGroup="no"
desktop="yes"
applications="no"
startMenu="yes"
startup="no">
</shortcut>
</shortcuts>
> 1. Can't specify icon for my shortcut. Doing the following
> iconFile="$INSTALL_PATH/sr c/mi_small .gif"
> but it displays the windows default icon.
I'm not sure of this because I havent tried Izpack before but I think if you have a browse button just
browse the icon file or if its just a textbox then just specify the correct location of that icon file.
Hope that helps . . .
Javatm
> iconFile="$INSTALL_PATH/sr
> but it displays the windows default icon.
I'm not sure of this because I havent tried Izpack before but I think if you have a browse button just
browse the icon file or if its just a textbox then just specify the correct location of that icon file.
Hope that helps . . .
Javatm
> iconFile="$INSTALL_PATH/sr c/mi_small .gif"
Change it to your location $INSTALL_PATH is the path on where your program will be installed the src/mi_small.gif
is the sub directory of the icon which is mi_small.gif you can put your image there or just change the path like :
iconFile="$INSTALL_PATH/im age/myicon l.gif"
Hope that helps . . .
Javatm
Change it to your location $INSTALL_PATH is the path on where your program will be installed the src/mi_small.gif
is the sub directory of the icon which is mi_small.gif you can put your image there or just change the path like :
iconFile="$INSTALL_PATH/im
Hope that helps . . .
Javatm
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
I think its clear, that the second option only works with windows, so if you need to be platform independent use the executable jar.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
tried an ico file. Didn't help
Perhaps email the IsPack authors, what you are doing looks ok.
ASKER
Thanks.
bmp file does work. icon is displayed in teh shortcut. But no icon is displayed in the start menu. Is there anyway that can be done?
bmp file does work. icon is displayed in teh shortcut. But no icon is displayed in the start menu. Is there anyway that can be done?
no idea on that one sorry.
ASKER
thanks a lot
ASKER
Need a free option and zerog no doubt is great but costs.
The second problem of making a setup is not an important one, even a .bat file would do(although it looks better to have a setup program).
But the first problem of having a icon needs to be solved.