mirror of
https://code.videolan.org/videolan/vlc
synced 2024-09-16 16:02:54 +02:00
Win32: Fix installer for DVD and CD-Audio autoruns.
(cherry picked from commit db606bd163ff2b8e6bf56b40e614fa0619067d26) Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
This commit is contained in:
parent
c065c55c3c
commit
81e543e9e2
@ -577,10 +577,10 @@ Section $Name_Section05 SEC06
|
|||||||
SectionIn 1 2 3
|
SectionIn 1 2 3
|
||||||
WriteRegStr HKCR "AudioCD\shell\PlayWithVLC" "" $ContextMenuEntry_PlayWith
|
WriteRegStr HKCR "AudioCD\shell\PlayWithVLC" "" $ContextMenuEntry_PlayWith
|
||||||
WriteRegStr HKCR "AudioCD\shell\PlayWithVLC\command" "" \
|
WriteRegStr HKCR "AudioCD\shell\PlayWithVLC\command" "" \
|
||||||
'"$INSTDIR\vlc.exe" --started-from-file "cdda://%1"'
|
'"$INSTDIR\vlc.exe" --started-from-file cdda://%1'
|
||||||
WriteRegStr HKCR "DVD\shell\PlayWithVLC" "" $ContextMenuEntry_PlayWith
|
WriteRegStr HKCR "DVD\shell\PlayWithVLC" "" $ContextMenuEntry_PlayWith
|
||||||
WriteRegStr HKCR "DVD\shell\PlayWithVLC\command" "" \
|
WriteRegStr HKCR "DVD\shell\PlayWithVLC\command" "" \
|
||||||
'"$INSTDIR\vlc.exe" --started-from-file "dvd://%1"'
|
'"$INSTDIR\vlc.exe" --started-from-file dvd://%1'
|
||||||
|
|
||||||
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Explorer\AutoplayHandlers\EventHandlers\PlayDVDMovieOnArrival" "VLCPlayDVDMovieOnArrival" ""
|
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Explorer\AutoplayHandlers\EventHandlers\PlayDVDMovieOnArrival" "VLCPlayDVDMovieOnArrival" ""
|
||||||
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Explorer\AutoplayHandlers\Handlers\VLCPlayDVDMovieOnArrival" "Action" $Action_OnArrivalDVD
|
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Explorer\AutoplayHandlers\Handlers\VLCPlayDVDMovieOnArrival" "Action" $Action_OnArrivalDVD
|
||||||
@ -598,12 +598,12 @@ Section $Name_Section05 SEC06
|
|||||||
WriteRegStr HKCR "VLC.DVDMovie" "" "VLC DVD Movie"
|
WriteRegStr HKCR "VLC.DVDMovie" "" "VLC DVD Movie"
|
||||||
WriteRegStr HKCR "VLC.DVDMovie\shell" "" "Play"
|
WriteRegStr HKCR "VLC.DVDMovie\shell" "" "Play"
|
||||||
WriteRegStr HKCR "VLC.DVDMovie\shell\Play\command" "" \
|
WriteRegStr HKCR "VLC.DVDMovie\shell\Play\command" "" \
|
||||||
'"$INSTDIR\vlc.exe" --started-from-file "dvd://%1"'
|
'"$INSTDIR\vlc.exe" --started-from-file dvd://%1'
|
||||||
WriteRegStr HKCR "VLC.DVDMovie\DefaultIcon" "" '"$INSTDIR\vlc.exe",0'
|
WriteRegStr HKCR "VLC.DVDMovie\DefaultIcon" "" '"$INSTDIR\vlc.exe",0'
|
||||||
WriteRegStr HKCR "VLC.CDAudio" "" "VLC CD Audio"
|
WriteRegStr HKCR "VLC.CDAudio" "" "VLC CD Audio"
|
||||||
WriteRegStr HKCR "VLC.CDAudio\shell" "" "Play"
|
WriteRegStr HKCR "VLC.CDAudio\shell" "" "Play"
|
||||||
WriteRegStr HKCR "VLC.CDAudio\shell\Play\command" "" \
|
WriteRegStr HKCR "VLC.CDAudio\shell\Play\command" "" \
|
||||||
'"$INSTDIR\vlc.exe" --started-from-file "cdda://%1"'
|
'"$INSTDIR\vlc.exe" --started-from-file cdda://%1'
|
||||||
WriteRegStr HKCR "VLC.CDAudio\DefaultIcon" "" '"$INSTDIR\vlc.exe",0'
|
WriteRegStr HKCR "VLC.CDAudio\DefaultIcon" "" '"$INSTDIR\vlc.exe",0'
|
||||||
|
|
||||||
SectionEnd
|
SectionEnd
|
||||||
|
Loading…
Reference in New Issue
Block a user