[izpack-users] Shortcut Panel creates an EMPTY file as ashortcut
J-Pro
joker.pro at gmail.com
Thu Oct 26 19:37:17 CEST 2006
Good afternoon, Klaus.
Thanks for testing for me. I've just tried the exact example I sent you and
it worked with me too. In the case when it didn't work, there was different
only name, it contained symbols ':' and ' '. And it contained more symbols.
So it was this way: "...... <shortcut os="windows" name="JPR: Jennys
Permanent Reconnector" ..... ". Sorry I didn't write it to you from the very
start... it's just a commercial project and I signed an important contract
"to not tell anybody.... blah, blah, blah...". Sorry again.
Please, try this example. I wonder if there is no bugs with long name or ':'
and ' ' symbols.
Now I'm fine with shortcuts, really thanks for your help.
-----Original Message-----
> 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: <591E33C080D2E5449BB1791B70D66B28C3FA3B at coi11.coi.com>
> Content-Type: text/plain; charset="iso-8859-1"
>
> Hi Yurii,
> I have tested your informations on my box and it
> works. Therefore I have no idea why not in your context.
>
> Sorry
>
> 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 2:44 PM
>>To: izpack-users at lists.berlios.de
>>Subject: Re: [izpack-users] Shortcut Panel creates an EMPTY file as
>>ashortcut
>>
>>
>>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
________________________________
With respect,
Yurii Kartsev,
Soft IT
More information about the izpack-users
mailing list