[izpack-users] Izpack shortcutPanel problem

Mandeep Saini Mandeep.Saini at dante.org.uk
Thu Apr 12 15:44:53 CEST 2007


Hi,
rnv rnv wrote:
> Hi all,
> I am just trying to use Izpack to create an installer for my small java 
> application. it works until i try to have the shrotcutPanel. i added the 
> following resources in my installer xml file:
> 
> <res id " shortcutSpec.xml" src="/installerFiles/shortcutSpec.xml"/>

If you have copied this line as it is from your code then '=' sign is 
missing after id, it should be:
<res id="shortcutSpec.xml" src="/installerFiles/shortcutSpec.xml"

Parsing error should be removed after this.

Regards
Mandeep
		
> 
> but when i try to create the installer file i get the following error:
> 
> com.izforge.izpack.compiler.compilerexception: : Error parsing 
> installation file
> 
> i am not sure if it the problem with the shortcutSpec.xml file or 
> something else. the shortcutSpec.xml file is as follows:
> 
> <?xml version="1.0" encoding="iso-8859-1" standalone="yes"?>
> <shortcuts>
>         <skipIfNotSupported/>
>         <programGroup defaultName="APP\MyAPP" 
> location="applications||startMenu"/>
>         <shortcut
>             name="Start My JAVA APPLICATION"
>             target="$INSTALL_PATH\bin\StartMyApp.cmd"
>             workingDirectory="$INSTALL_PATH\"
>             description="This starts MyApplication"
>             iconFile="$INSTALL_PATH\res\images\logo.png"
>             iconIndex="0"
>             initialState="normal"
>             programGroup="yes||no"
>             desktop="yes||no"
>             applications="yes||no"
>             startMenu="yes||no"
>             startup="yes||no">
>                 <createForPack name="MyApplication Binaries"/>
>                 <createForPack name="MyApplication Batchfiles"/>
>         </shortcut>
>     </shortcuts>
> 
> 
> i tried to include
> <native type="izpack" name="ShellLink.dll"/>
> in the installer xml file but did not help... should i specify it in 
> specific place?
> 
> hope to get help.. thanks
> rnv
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> izpack-users mailing list
> izpack-users at lists.berlios.de
> https://lists.berlios.de/mailman/listinfo/izpack-users




More information about the izpack-users mailing list