[izpack-users] Questions on getting up and running with Izpack
Paul Taylor
paul_t100 at fastmail.fm
Wed Oct 31 14:31:34 CET 2007
Hi Joseph
Sorry I didnt reply earlier, I tried your solution but it didnt make any
difference. I then though there might a problem with building it on
Windows Vista, got distracted and worked on something else. I have since
found another Izpack installation for a different program, built it and
deployed on Vista with shortcust successfully, so thats not the problem
. Ive made numerous minor modiifications to my build file and shortcut
file, and then end result is always the same , it always installs but
NEVER shows the shortcut panel., Im building using ant. My biggest
confusion is over the Shelllink.dll file , where does it have to be and
is it distributed with the installtion ? It driving me a bit mad now,
Ive shown the latest files below, in case anyone can see a problem.
thanks paul
<?xml version="1.0" encoding="iso-8859-1" standalone="yes" ?>
<!--
A sample installation file.
Use it as a base for your own installers :-)
To compile it :
- go in the bin directory where you installed IzPack
- call "compile ../sample/install.xml -b ../sample"
-->
<installation version="1.0">
<!--
The info section.
The meaning of the tags should be natural ...
-->
<info>
<appname>Jaikoz</appname>
<appversion>2.0</appversion>
<url>http://www.jthink.net/jaikoz/</url>
<javaversion>1.6</javaversion>
<appsubpath>Jthink/Jaikoz</appsubpath>
</info>
<!--
The gui preferences indication.
Sets the installer window to 640x480. It will not be able to
change the size.
-->
<guiprefs width="640" height="480" resizable="no"/>
<!--
The locale section.
Asks here to include the English and French langpacks.
-->
<locale>
<langpack iso3="eng"/>
<langpack iso3="spa"/>
<langpack iso3="deu"/>
<langpack iso3="fra"/>
<langpack iso3="ita"/>
</locale>
<native type="izpack" name="ShellLink.dll"/>
<!--
The resources section.
The ids must be these ones if you want to use the LicencePanel
and/or the InfoPanel.
-->
<resources>
<res id="shortcutSpec.xml" src="shortcutSpec.xml"/>
<res id="LicencePanel.licence"
src="../activebuild/buildWindows/license.txt"/>
</resources>
<!--
The panels section.
We indicate here which panels we want to use. The order will be
respected.
-->
<panels>
<panel classname="HelloPanel"/>
<panel classname="LicencePanel"/>
<panel classname="TargetPanel"/>
<panel classname="PacksPanel"/>
<panel classname="InstallPanel"/>
<panel classname="ShortcutPanel"/>
<panel classname="SimpleFinishPanel"/>
</panels>
<!--
The packs section.
We specify here our packs.
-->
<packs>
<pack name="Base" required="yes" preselected="yes">
<description>Jaikoz</description>
<file src="../activebuild/buildWindows/lib"
targetdir="$INSTALL_PATH"/>
<file src="../activebuild/buildWindows/help"
targetdir="$INSTALL_PATH"/>
<file src="jaikoz.exe" targetdir="$INSTALL_PATH"/>
<file src="../../conf/jaikoz.gif"
targetdir="$INSTALL_PATH"/>
<file src="../activebuild/buildWindows/ident.exe"
targetdir="$INSTALL_PATH"/>
<file src="../activebuild/buildWindows/libexpat.dll"
targetdir="$INSTALL_PATH"/>
<file src="../activebuild/buildWindows/AACTagReader.exe"
targetdir="$INSTALL_PATH"/>
<file src="../activebuild/buildWindows/genpuid.exe"
targetdir="$INSTALL_PATH"/>
<file src="../activebuild/buildWindows/mipcore.exe"
targetdir="$INSTALL_PATH"/>
<file src="../activebuild/buildWindows/acknowledgement.html"
targetdir="$INSTALL_PATH"/>
<file src="../activebuild/buildWindows/ident.exe"
targetdir="$INSTALL_PATH"/>
<file src="../activebuild/buildWindows/jaikoz.bat"
targetdir="$INSTALL_PATH"/>
<file src="../activebuild/buildWindows/jaikoz.properties"
targetdir="$INSTALL_PATH"/>
<file src="../activebuild/buildWindows/jaikoz_de.properties"
targetdir="$INSTALL_PATH"/>
<file src="../activebuild/buildWindows/jaikoz_en.properties"
targetdir="$INSTALL_PATH"/>
<file src="../activebuild/buildWindows/jaikoz_es.properties"
targetdir="$INSTALL_PATH"/>
<file src="../activebuild/buildWindows/layout.properties"
targetdir="$INSTALL_PATH"/>
<file src="../activebuild/buildWindows/license.txt"
targetdir="$INSTALL_PATH"/>
<file src="../activebuild/buildWindows/settings.jai"
targetdir="$INSTALL_PATH"/>
<file src="../activebuild/buildWindows/settingsdefaults.jai"
targetdir="$INSTALL_PATH"/>
<executable targetfile="$INSTALL_PATH/ident.exe" stage="never"/>
<executable targetfile="$INSTALL_PATH/AACTagReader.exe"
stage="never"/>
<executable targetfile="$INSTALL_PATH/genpuid.exe"
stage="never"/>
<executable targetfile="$INSTALL_PATH/mipcore.exe"
stage="never"/>
<executable targetfile="$INSTALL_PATH/jaikoz.bat"
stage="never"/>
<executable targetfile="$INSTALL_PATH/jaikoz.exe"
stage="never"/>
</pack>
</packs>
</installation>
shortcutSpec.xml:
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<shortcuts>
<programGroup defaultName="Jaikoz" location="applications"/>
<shortcut
name="Jaikoz"
target="$INSTALL_PATH\Jaikoz.exe"
commandLine=""
workingDirectory="$INSTALL_PATH\"
description="Jaikoz Audio Tagger"
iconFile="$INSTALL_PATH\jaikoz.gif"
iconIndex="0"
initialState="maximized"
programGroup=yes"
desktop="yes"
applications="yes"
startMenu="no"
startup="no">
<createForPack name='Base'/>
</shortcut>
</shortcuts>
Joseph.Fiedler at l-3com.com wrote:
> Paul,
>
> Try rearranging your install.xml file as follows:
> Also, rename your shortcut specification file to shortcutSpec.xml; I ran
> into some problems when using a different filename and/or extension.
>
> <native type="izpack" name="Shelllink.dll">
> <os family="windows"/>
> </native>
>
> <resources>
> <res src="shortcutSpec.xml" id="shortcutSpec.xml"/>
> </resources>
>
> <panels>
> <!-- panel elements -->
> </panels>
>
> <packs>
> <!-- pack elements -->
> </packs>
>
> - Joseph Fiedler
>
>
More information about the izpack-users
mailing list