Commit 9d9b2bf7 authored by Jonathan McGowan's avatar Jonathan McGowan Committed by Jean-Baptiste Kempf

Win32: Fix supported types not registered properly by NSIS installer

A bad parameter definition in function RegisterExtension resulted in the same value entry being written every time ("${EXT}"="").
Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
(cherry picked from commit 506b7918936d668d221f79b9e926cf96c32c5005)
Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent c03dce83
......@@ -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"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment