a file with VLC will use the whole file name and not the 8.3 format. That
makes automatic subtitle loading work.
ReadRegStr $0 HKCR "VLC$R0" ""\r
WriteRegStr HKCR "VLC$R0" "" "VLC media file"\r
WriteRegStr HKCR "VLC$R0\shell" "" "Play"\r
- WriteRegStr HKCR "VLC$R0\shell\Play\command" "" '$INSTDIR\vlc.exe "%1"'\r
+ WriteRegStr HKCR "VLC$R0\shell\Play\command" "" '"$INSTDIR\vlc.exe" "%1"'\r
WriteRegStr HKCR "VLC$R0\DefaultIcon" "" '"$INSTDIR\vlc.exe",0'\r
FunctionEnd\r
\r