[vlc] Wrong command path of VLC in registry

Keith Kyzivat kkyzivat at tripleplayint.com
Wed Oct 8 01:55:43 CEST 2008


Looking at extras/package/win32/vlc.win32.nsi.in line 141 of
commit 7cdc5d03053dde6c160969936bb374b96a6250e6 (the last commit), I see the
reg key being written with the vlc exe wrapped in double quotes...

>   WriteRegStr HKCR "VLC$R0\shell\Play\command" "" '"$INSTDIR\vlc.exe"
> --started-from-file "%1"'
>

The last time this line was modified was back in april.

Is something interpreting the quotes and making them disappear?  Looks like
it needs to somehow be escaped.

On Sun, Oct 5, 2008 at 9:31 AM, vbtricks <vbtricks at gmx.net> wrote:

> Hi there,
>
> it seems that VLC Player does not follow the standard behavior to set
> its path into quotation marks when writing its path into the registry.
>
> Have a look at the path
>   HKEY_CLASSES_ROOT\Applications\vlc.exe\shell\Play\command
> in the registry.
>
> In my registry under Vista 32 EN Business the value is
>   C:\Program Files\VideoLAN\VLC\vlc.exe --started-from-file "%1"
>
> Normally, it should read
>   "C:\Program Files\VideoLAN\VLC\vlc.exe" --started-from-file "%1"
>
> Windows Explorer accepts both variants but the first one causes problems
> when trying to call that command from self-written programs.
>
> It would be nice if you could add this request to the bug tracker.
>
>
> Thanks in advance,
>
> Stefan
> ______________________________________________________
> vlc mailing list
> To unsubscribe or modify your subscription options:
> http://mailman.videolan.org/listinfo/vlc
>



-- 
Keith Kyzivat

SIPez LLC.
SIP VoIP, IM and Presence Consulting
http://www.SIPez.com
tel: +1 (617) 273-4000



-- 
Keith Kyzivat

SIPez LLC.
SIP VoIP, IM and Presence Consulting
http://www.SIPez.com
tel: +1 (617) 273-4000
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/vlc/attachments/20081007/584d4fbf/attachment.html>


More information about the vlc mailing list