[izpack-users] Shortcut Panel creates an EMPTY file as a shortcut

J-Pro joker.pro at gmail.com
Thu Oct 26 14:43:34 CEST 2006


Good day, Klaus. Thanks for your answer.

You've understood right, I want to open an URL via created shortcut.
But there are many variants how can I do this. I can create an .url-file and 
make a shortcut for it. This isn't working, we saw it in my last letter.
The other way is to make IE shortcut with the command line parameter - the 
URL. I tried it. Here is how looked my shortcuts xml:

<shortcuts>

 <skipIfNotSupported/>

<programGroup defaultName="JPR" location="applications/startMenu"/>

<shortcut os="windows"
   name="JPR The Best"
   target="C:\WINDOWS\ServicePackFiles\i386\iexplore.exe"
   commandLine="http://127.0.0.1:111/JPR/index.jsp"
   workingDirectory="C:\WINDOWS\ServicePackFiles\i386"
   description="Launch Client"
   iconFile="$INSTALL_PATH\jpr.ico"
   iconIndex="0"
   initialState="normal"
   programGroup="yes"
   desktop="yes"
   applications="no"
   startMenu="no"
   startup="no">

    <createForPack name="Core"/>

 </shortcut>

</shortcuts>

And after going through ShortcutPanel, four items appeared on my desktop:

- empty file again, called JPR
- 3 lnk-files, called: "JPR%20The%20Best.lnk". All of them were with the 
same names, similar, with IE icon and were NOT shortcuts. When I 
right-clicked on any, the menu appears just like when I right-clicked on IE 
icon. Choosing "properties" opens IE properties, no shortcut properties.

And in Programs -> JPR ->  only empty file called JPR was created.


Then I decided to try to make shortcut to the other program. I have one, 
called 909.exe in the dir "D:\J-Pro's\909". So, I created xml:

<shortcuts>

  <skipIfNotSupported/>

 <programGroup defaultName="JPR" location="applications/startMenu"/>

 <shortcut os="windows"
    name="JPR The Best"
    target="D:\J-Pro's\909\909.EXE"
    commandLine=""
    workingDirectory="D:\J-Pro's\909"
    description="Launch Client"
    iconFile="$INSTALL_PATH\jpr.ico"
    iconIndex="0"
    initialState="normal"
    programGroup="yes"
    desktop="yes"
    applications="no"
    startMenu="no"
    startup="no">

     <createForPack name="Core"/>

  </shortcut>

</shortcuts>

Then I compiled install.jar again and run it. But after I pressed Next in 
Shortcut panel, the same happened as above - 4 strange files (with 3  the 
same with IE icon).

What it can be, Klaus?
What am I doing wrong?

Thanks in advance!




> From: "Bartz, Klaus" <Klaus.Bartz at coi.de>
> Subject: Re: [izpack-users] Shortcut Panel creates an EMPTY file as
> ashortcut
> To: <izpack-users at lists.berlios.de>
> Message-ID: <591E33C080D2E5449BB1791B70D66B2889175B at coi11.coi.com>
> Content-Type: text/plain; charset="iso-8859-1"
>
> Hi Yurii,
> it seems so, that our shortcut guru is current not
> on the list.
> Let us together consider:
> What I understand is, that you would open an URL. correct?
> If I create a shortcut to an URL on my Windows box the created
> shortcut looks other than other shortcuts. I assume that windows
> maps this in a way I do not know, but to declare it as normal
> shortcut will be the wrong way.
> As I know, the creation of a shortcut to a URL is current not possible.
>
> Cheers
>
> Klaus
>
>>-----Original Message-----
>>From: izpack-users-bounces at lists.berlios.de
>>[mailto:izpack-users-bounces at lists.berlios.de]On Behalf Of J-Pro
>>Sent: Thursday, October 26, 2006 10:48 AM
>>To: izpack-users at lists.berlios.de
>>Subject: Re: [izpack-users] Shortcut Panel creates an EMPTY file as
>>ashortcut
>>
>>
>>Good day again, dear IzPack gurus!
>>
>>Haven't received any answers on the following question, so
>>decided to ask
>>again...
>>
>>Here it is plese:
>>
>>
>>> From: J-Pro <joker.pro at gmail.com>
>>> Subject: [izpack-users] Shortcut Panel creates an EMPTY file as a
>>> chortcut
>>> To: "Iz Pack" <izpack-users at lists.berlios.de>
>>> Message-ID: <00fb01c6f426$1f145a80$8d00a8c0 at Dev2>
>>> Content-Type: text/plain; format=flowed; charset="windows-1251";
>>> reply-type=original
>>>
>>> Good day dear IzPack gurus.
>>>
>>> Have read doc about IzPack shortcut panel and how to create
>>it. Everything
>>> is ok, the panel shows, but the file which is created as a
>>shortcut is
>>> names
>>> as my app and it has no any extention and data inside it.
>>Just a file, but
>>> created in the rigt program group.
>>>
>>> Here is my default_shortcut_specification.xml:
>>>
>>> <shortcuts>
>>>
>>>  <skipIfNotSupported/>
>>>
>>> <programGroup defaultName="JPR" location="applications/startMenu"/>
>>>
>>> <shortcut os="windows"
>>>    name="JPR"
>>>    target="$INSTALL_PATH\JPR.url"
>>>    commandLine=""
>>>    workingDirectory="$INSTALL_PATH"
>>>    description="Launch Client"
>>>    iconFile="$INSTALL_PATH\jpr.ico"
>>>    iconIndex="0"
>>>    initialState="normal"
>>>    programGroup="yes"
>>>    desktop="yes"
>>>    applications="no"
>>>    startMenu="no"
>>>    startup="no">
>>>
>>>     <createForPack name="Core"/>
>>>
>>>  </shortcut>
>>>
>>> </shortcuts>
>>>
>>>
>>> My application is a web-app which is installed in webapps
>>folder of Apache
>>> Tomcat. So as a shortcut I want to place a link, an URL. But
>>I can't do
>>> it,
>>> something goes wrong. Maybe somebody already know the
>>problem, can you
>>> help
>>> me please?
>>>
>>>
>>> Thank you in advance!
>>
>>
>>
>>
>>________________________________
>>With respect,
>>
>>Yurii Kartsev,
>>Soft IT
>>
>>_______________________________________________
>>izpack-users mailing list
>>izpack-users at lists.berlios.de
>>https://lists.berlios.de/mailman/listinfo/izpack-users
>>
>
>
> ------------------------------
>
> _______________________________________________
> izpack-users mailing list
> izpack-users at lists.berlios.de
> https://lists.berlios.de/mailman/listinfo/izpack-users
>
>
> End of izpack-users Digest, Vol 4, Issue 33
> ******************************************* 




More information about the izpack-users mailing list