[izpack-users] quotes in Windows shortcut definitions

Kevin Hartig kevin.hartig at gmail.com
Fri Jun 30 23:02:37 CEST 2006


Ok.
It works without the &quote; included.
I believe I need to make sure any/all of the underlying scripts I have 
handle the case of paths containing spaces independently of izpack. 
Thanks for your help!

-kevin.

Marc Eppelmann wrote:
> Hi Kevin,
>
> In our shortcut.spec we don't use any "s and the shortcut called batches 
> works with both: INSTALL_PATHes with or without spaces.
>
> Do you have a special reason to do so?
>
> Try it without " and let me know.
>
> Ciao
> Marc
>
> Am Freitag, 30. Juni 2006 17:16 schrieb Kevin Hartig:
>   
>> When creating shortcuts for starting installed application on Windows I
>> am having problems with the strings not being quoted properly. Using the
>> definition below. The 'target' definition never includes the quote at
>> the beginning of the string. The workingDirectory definition works fine.
>> Is this a bug or do I have something wrong with the definition?
>>
>> <shortcut
>>      name="MyApplication"
>>      programGroup="yes"
>>      desktop="no"
>>      applications="no"
>>      startMenu="no"
>>      startup="no"
>>      target="&quot;$INSTALL_PATH\bin\my_app.bat&quot;"
>>      commandLine=""
>>      workingDirectory="&quot;$INSTALL_PATH\bin&quot;"
>>      iconFile="$INSTALL_PATH\images\my_icon.ico"
>>      initialState="noshow"
>>      description="Startup of  services.">
>>
>>      <createForPack name="MyPack"/>
>>
>>    </shortcut>
>> _______________________________________________
>> izpack-users mailing list
>> izpack-users at lists.berlios.de
>> http://lists.berlios.de/mailman/listinfo/izpack-users
>>     
> _______________________________________________
> izpack-users mailing list
> izpack-users at lists.berlios.de
> http://lists.berlios.de/mailman/listinfo/izpack-users
>
>   




More information about the izpack-users mailing list