[izpack-users] Re: izpack-users digest, Vol 1 #634 - 1 msg

sagar shah sagarbs at gmail.com
Tue Apr 18 13:26:51 CEST 2006


Hi Thyago,
U have not included the <native>ShellLink.dll</native> tag in ur install.xml.
Include that at the end of your <packs> tag. Try with that. If you are using
Izpack Registry enabled version then please see the
IzPack-install-reg.xmlfile which is under IzPackReg/src/dist-files/
directory.
Bye.
Sagar.

On 4/18/06, izpack-users-request at berlios.de <izpack-users-request at berlios.de>
wrote:
>
> Send izpack-users mailing list submissions to
>         izpack-users at lists.berlios.de
>
> To subscribe or unsubscribe via the World Wide Web, visit
>         http://lists.berlios.de/mailman/listinfo/izpack-users
> or, via email, send a message with subject or body 'help' to
>         izpack-users-request at lists.berlios.de
>
> You can reach the person managing the list at
>         izpack-users-admin at lists.berlios.de
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of izpack-users digest..."
>
>
> Today's Topics:
>
>    1. errors creating teste.jar (thyago guimaraes)
>
> --__--__--
>
> Message: 1
> Date: Mon, 17 Apr 2006 10:40:36 -0300 (ART)
> From: thyago guimaraes <thyago_guimaraes at yahoo.com.br>
> To: izpack-users at berlios.de
> Subject: [izpack-users] errors creating teste.jar
> Reply-To: izpack-users at lists.berlios.de
>
> --0-1523197186-1145281236=:55957
> Content-Type: text/plain; charset=iso-8859-1
> Content-Transfer-Encoding: 8bit
>
> Hi, errors creating install teste.jar
> ERROR:
> "could not create shortcut instance
> java.lang.Exception: error loading library
> java.lang.exception: can't locate library"
>
>
> install.xml
> ##############
> <?xml version="1.0" encoding="iso-8859-1" standalone="yes" ?>
> <installation version="1.0">
>     <info>
>         <appname>Teste</appname>
>         <appversion>Teste 2006-04-16</appversion>
>         <authors>
>         <author name="Teste" email="support at yourhost.com" />
>         </authors>
>         <url>http:\\www.teste.com.br</url>
>     </info>
>     <guiprefs width="800" height="600" resizable="yes">
>       <laf name="liquid">
>          <os family="windows" />
>       </laf>
>       <modifier key="useFlags" value="yes" />
>       <modifier key="langDisplayType" value="native" />
>     </guiprefs>
>     <locale>
>         <langpack iso3="por"/>
>     </locale>
>     <resources>
>     <res src="teste.ico" id="installer.langsel.img"/>
>     <res id="LicencePanel.licence" src="Licence.txt"/>
>     <res id="InfoPanel.info" src="Readme.txt"/>
>     <res id="shortcutSpec.xml" src="myshortcutspec.xml" />
>    </resources>
>     <panels>
>         <panel classname="HelloPanel"/>
>         <panel classname="InfoPanel"/>
>         <panel classname="LicencePanel"/>
>         <panel classname="TargetPanel"/>
>         <panel classname="SummaryPanel"/>
>         <panel classname="InstallPanel"/>
>         <panel classname="ShortcutPanel"/>
>         <panel classname="FinishPanel"/>
>     </panels>
>     <listeners>
>     <listener installer="SummaryLoggerInstallerListener"/>
>         <listener installer="RegistryInstallerListener"
> uninstaller="RegistryUninstallerListener">
>        <os family="windows"/>
>       </listener>
>      </listeners>
>     <packs>
>         <pack name="Base" required="yes">
>             <description>The base files</description>
>             <file src="Readme.txt" targetdir="$INSTALL_PATH"/>
>             <file src="Licence.txt" targetdir="$INSTALL_PATH"/>
>             <file src="script.bat" targetdir="$INSTALL_PATH"/>
>             <parsable targetfile="$INSTALL_PATH/script.bat"/>
>         </pack>
>         <pack name="Docs" required="no">
>             <description>The documentation</description>
>             <file src="doc" targetdir="$INSTALL_PATH"/>
>         </pack>
>     </packs>
> </installation>
> #####################
>
>
> And myshortcutspec.xml
> #####################
> <shortcuts>
> <skipIfNotSupported/>
> <programGroup defaultName="teste"
> location="applications/startMenu"/>
>   <shortcut os="windows" name="Teste"
>     target="$INSTALL_PATH\script.bat" commandLine=""
>     workingDirectory="$INSTALL_PATH\batch\" description="Launch Client"
>     iconFile="$INSTALL_PATH\teste.ico" iconIndex="0"
>     initialState="normal"
>     programGroup="yes" desktop="yes" applications="yes" startMenu="yes"
> startup="yes">
>   <createForPack name="Teste"/>
> </shortcut>
> </shortcuts>
> ##############
>
>
> Somebody can help me?
>
>
> ---------------------------------
> Yahoo! doce lar. Faça do Yahoo! sua homepage.
> --0-1523197186-1145281236=:55957
> Content-Type: text/html; charset=iso-8859-1
> Content-Transfer-Encoding: 8bit
>
> Hi, errors creating install teste.jar<br>ERROR:<br>"could not create
> shortcut instance<br>java.lang.Exception: error loading library<br>
> java.lang.exception: can't locate library"<br><br><br>install.xml<br>##############<br>&lt;?xml
> version="1.0" encoding="iso-8859-1" standalone="yes"
> ?&gt;<br>&lt;installation version="1.0"&gt;<br>&nbsp;&nbsp;&nbsp;
> &lt;info&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
> &lt;appname&gt;Teste&lt;/appname&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
> &lt;appversion&gt;Teste
> 2006-04-16&lt;/appversion&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
> &lt;authors&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;author
> name="Teste" email="support at yourhost.com"
> /&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
> &lt;/authors&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
> &lt;url&gt;http:\\www.teste.com.br&lt;/url&gt;<br>&nbsp;&nbsp;&nbsp;
> &lt;/info&gt;<br>&nbsp;&nbsp;&nbsp; &lt;guiprefs width="800" height="600"
> resizable="yes"&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;laf
> name="liquid"&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;os
> family="windows" /&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
> &lt;/laf&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;modifier key="useFlags"
> value="yes" /&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;modifier
> key="langDisplayType" value="native" /&gt;<br>&nbsp;&nbsp;&nbsp;
> &lt;/guiprefs&gt;<br>&nbsp;&nbsp;&nbsp;
> &lt;locale&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;langpack
> iso3="por"/&gt;<br>&nbsp;&nbsp;&nbsp;
> &lt;/locale&gt;&nbsp;<br>&nbsp;&nbsp;&nbsp;
> &lt;resources&gt;<br>&nbsp;&nbsp;&nbsp; &lt;res src="teste.ico" id="
> installer.langsel.img"/&gt;<br>&nbsp;&nbsp;&nbsp; &lt;res id="
> LicencePanel.licence" src="Licence.txt"/&gt;<br>&nbsp;&nbsp;&nbsp; &lt;res
> id="InfoPanel.info" src="Readme.txt"/&gt;<br>&nbsp;&nbsp;&nbsp; &lt;res
> id="shortcutSpec.xml" src="myshortcutspec.xml" /&gt;<br>&nbsp;&nbsp;
> &lt;/resources&gt;<br>&nbsp;&nbsp;&nbsp;
> &lt;panels&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;panel
> classname="HelloPanel"/&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
> &lt;panel
> classname="InfoPanel"/&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
> &lt;panel
> classname="LicencePanel"/&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
> &lt;panel
> classname="TargetPanel"/&gt;&nbsp;&nbsp;&nbsp;&nbsp;  <br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
> &lt;panel
> classname="SummaryPanel"/&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
> &lt;panel
> classname="InstallPanel"/&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
> &lt;panel
> classname="ShortcutPanel"/&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
> &lt;panel classname="FinishPanel"/&gt;<br>&nbsp;&nbsp;&nbsp;
> &lt;/panels&gt;<br>&nbsp;&nbsp;&nbsp;
> &lt;listeners&gt;<br>&nbsp;&nbsp;&nbsp; &lt;listener
> installer="SummaryLoggerInstallerListener"/&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
> &lt;listener installer="RegistryInstallerListener"
> uninstaller="RegistryUninstallerListener"&gt;<br>&nbsp;&nbsp;&nbsp;
> &nbsp;&nbsp; &lt;os family="windows"/&gt;<br>&nbsp; &nbsp;&nbsp;&nbsp;
> &lt;/listener&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;
> &lt;/listeners&gt;<br>&nbsp;&nbsp;&nbsp;
> &lt;packs&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;pack
> name="Base"
> required="yes"&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
> &lt;description&gt;The base
> files&lt;/description&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
> &lt;file src="Readme.txt"
> targetdir="$INSTALL_PATH"/&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
> &lt;file src="Licence.txt"
> targetdir="$INSTALL_PATH"/&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
> &lt;file src="script.bat"
> targetdir="$INSTALL_PATH"/&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
> &lt;parsable
> targetfile="$INSTALL_PATH/script.bat"/&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
> &lt;/pack&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;pack
> name="Docs"
> required="no"&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
> &lt;description&gt;The
> documentation&lt;/description&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
> &lt;file src="doc"
> targetdir="$INSTALL_PATH"/&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
> &lt;/pack&gt; <br>&nbsp;&nbsp;&nbsp; &lt;/packs&gt;&nbsp;&nbsp;
> <br>&lt;/installation&gt;<br>#####################<br><br><br>And
> myshortcutspec.xml<br>#####################<br>&lt;shortcuts&gt;<br>&nbsp;&lt;skipIfNotSupported/&gt;<br>&nbsp;&lt;programGroup
> defaultName="teste" <br>location="applications/startMenu"/&gt;<br>&nbsp;
> &lt;shortcut os="windows" name="Teste"<br>&nbsp;&nbsp;&nbsp;
> target="$INSTALL_PATH\script.bat" commandLine=""<br>&nbsp;&nbsp;&nbsp;
> workingDirectory="$INSTALL_PATH\batch\"
> description="Launch Client"<br>&nbsp;&nbsp;&nbsp;
> iconFile="$INSTALL_PATH\teste.ico" iconIndex="0" <br>&nbsp;&nbsp;&nbsp;
> initialState="normal"<br>&nbsp;&nbsp;&nbsp; programGroup="yes" desktop="yes"
> applications="yes" startMenu="yes" startup="yes"&gt;<br>&nbsp;
> &lt;createForPack
> name="Teste"/&gt;<br>&nbsp;&lt;/shortcut&gt;<br>&lt;/shortcuts&gt;<br>##############<br><br><br>Somebody
> can help me? <br><p>
>                 <hr size=1>
> Yahoo! doce lar. <a href="
> http://us.rd.yahoo.com/mail/br/tagline/homepage_set/*http://br.yahoo.com/homepageset.html">Faça
> do Yahoo! sua homepage.</a>
> --0-1523197186-1145281236=:55957--
>
>
> --__--__--
>
> _______________________________________________
> izpack-users mailing list
> izpack-users at lists.berlios.de
> http://lists.berlios.de/mailman/listinfo/izpack-users
>
>
> End of izpack-users Digest
>



--
Regards,
Sagar Shah.
email : sagarbs at gmail.com
Mob. : 9823231388
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://lists.berlios.de/pipermail/izpack-users/attachments/20060418/c7319de0/attachment.html 


More information about the izpack-users mailing list