]> git.sesse.net Git - vlc/commitdiff
Win32: Fix supported types not registered properly by NSIS installer
authorJonathan McGowan <jonathan@howlingwolf.org.uk>
Mon, 16 Mar 2015 11:43:54 +0000 (11:43 +0000)
committerJean-Baptiste Kempf <jb@videolan.org>
Mon, 16 Mar 2015 12:59:05 +0000 (13:59 +0100)
A bad parameter definition in function RegisterExtension resulted in the same value entry being written every time ("${EXT}"="").

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
extras/package/win32/NSIS/helpers/extensions.nsh

index 3afcffb96c114b04e8656394eb079633db47fd14..760d0e5b87c0aa4b813af33e54ce7a03d6241630 100644 (file)
@@ -21,7 +21,7 @@ Function RegisterExtension
   WriteRegStr HKCR "VLC$R0\shell\Open" "MultiSelectModel" "Player"
   WriteRegStr HKCR "VLC$R0\shell\Open\command" "" '"$INSTDIR\vlc.exe" --started-from-file "%1"'
   WriteRegStr HKCR "VLC$R0\DefaultIcon" "" '"$INSTDIR\vlc.exe",0'
-  WriteRegStr HKCR "Applications\vlc.exe\SupportedTypes" ${EXT} ""
+  WriteRegStr HKCR "Applications\vlc.exe\SupportedTypes" $0 ""
 
   ${If} ${AtLeastWinVista}
     WriteRegStr HKLM "Software\Clients\Media\VLC\Capabilities\FileAssociations" "$R0" "VLC$R0"