]> git.sesse.net Git - vlc/blobdiff - vlc.win32.nsi
mediacontrol_audio_video.c: release vout in mediacontrol_snapshot()
[vlc] / vlc.win32.nsi
index 3a0fc77d73a30f413c0c820fe546f9eb8f9a845c..8dd1bd30ae857546ac359960c3fd2cd92ace0f74 100644 (file)
@@ -43,8 +43,8 @@ InstType "Full"
 \r
 ; MUI Settings\r
   !define MUI_ABORTWARNING\r
-  !define MUI_ICON "vlc48x48new.ico"\r
-  !define MUI_UNICON "vlc48x48new.ico"\r
+  !define MUI_ICON "vlc48x48.ico"\r
+  !define MUI_UNICON "vlc48x48.ico"\r
   !define MUI_COMPONENTSPAGE_SMALLDESC\r
 \r
 ; Installer pages\r
@@ -61,8 +61,7 @@ InstType "Full"
     !insertmacro MUI_PAGE_INSTFILES\r
   ; Finish page\r
     !define MUI_FINISHPAGE_RUN "$INSTDIR\vlc.exe"\r
-    !define MUI_FINISHPAGE_SHOWREADME "$INSTDIR\NEWS.txt"\r
-    !define MUI_FINISHPAGE_SHOWREADME_TEXT "View changelog"\r
+    !define MUI_FINISHPAGE_SHOWREADME "$INSTDIR\README.txt"\r
     !define MUI_FINISHPAGE_SHOWREADME_NOTCHECKED\r
     !define MUI_FINISHPAGE_LINK "Visit the VideoLAN VLC media player Website"\r
     !define MUI_FINISHPAGE_LINK_LOCATION "http://www.videolan.org/vlc/"\r
@@ -174,7 +173,7 @@ NoBackup:
   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" --one-instance "%1"'\r
   WriteRegStr HKCR "VLC$R0\DefaultIcon" "" '"$INSTDIR\vlc.exe",0'\r
 FunctionEnd\r
 \r
@@ -284,10 +283,10 @@ Section "Media player (required)" SEC01
 \r
   WriteRegStr HKCR "AudioCD\shell\PlayWithVLC" "" "Play with VLC media player"\r
   WriteRegStr HKCR "AudioCD\shell\PlayWithVLC\command" "" \\r
-    "$INSTDIR\vlc.exe cdda:%1"\r
+    "$INSTDIR\vlc.exe --one-instance cdda:%1"\r
   WriteRegStr HKCR "DVD\shell\PlayWithVLC" "" "Play with VLC media player"\r
   WriteRegStr HKCR "DVD\shell\PlayWithVLC\command" "" \\r
-    "$INSTDIR\vlc.exe dvd:%1"\r
+    "$INSTDIR\vlc.exe --one-instance dvd:%1"\r
 \r
   WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Explorer\AutoplayHandlers\EventHandlers\PlayDVDMovieOnArrival" "VLCPlayDVDMovieOnArrival" ""\r
   WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Explorer\AutoplayHandlers\Handlers\VLCPlayDVDMovieOnArrival" "Action" "Play DVD movie"\r
@@ -305,12 +304,12 @@ Section "Media player (required)" SEC01
   WriteRegStr HKCR "VLC.DVDMovie" "" "VLC DVD Movie"\r
   WriteRegStr HKCR "VLC.DVDMovie\shell" "" "Play"\r
   WriteRegStr HKCR "VLC.DVDMovie\shell\Play\command" "" \\r
-    '$INSTDIR\vlc.exe dvd:%1'\r
+    '$INSTDIR\vlc.exe --one-instance dvd:%1'\r
   WriteRegStr HKCR "VLC.DVDMovie\DefaultIcon" "" '"$INSTDIR\vlc.exe",0'\r
   WriteRegStr HKCR "VLC.CDAudio" "" "VLC CD Audio"\r
   WriteRegStr HKCR "VLC.CDAudio\shell" "" "Play"\r
   WriteRegStr HKCR "VLC.CDAudio\shell\Play\command" "" \\r
-    '$INSTDIR\vlc.exe cdda:%1'\r
+    '$INSTDIR\vlc.exe --one-instance cdda:%1'\r
   WriteRegStr HKCR "VLC.CDAudio\DefaultIcon" "" '"$INSTDIR\vlc.exe",0'\r
 \r
 SectionEnd\r
@@ -380,7 +379,7 @@ Section /o "Mozilla plugin" SEC03
 \r
 SectionEnd\r
 \r
-Section /o "ActiveX plugin" SEC04\r
+Section "ActiveX plugin" SEC04\r
   SectionIn 2 3\r
   SetOutPath "$INSTDIR"\r
   File activex\axvlc.dll\r
@@ -388,9 +387,9 @@ Section /o "ActiveX plugin" SEC04
 SectionEnd\r
 \r
 Section "Context Menus" SEC05\r
-  SectionIn 2 3\r
+  SectionIn 2 3\r
   !insertmacro MacroAllExtensions AddContextMenu\r
-  !insertmacro AddContextMenu "Folder"\r
+  !insertmacro AddContextMenu "Directory"\r
 SectionEnd\r
 \r
 SectionGroup "File type associations" SEC06\r
@@ -477,7 +476,7 @@ Section "Uninstall" SEC91
 \r
   !insertmacro MacroAllExtensions DeleteContextMenu\r
   !insertmacro MacroAllExtensions UnRegisterExtensionSection\r
-  !insertmacro DeleteContextMenu "Folder"\r
+  !insertmacro DeleteContextMenu "Directory"\r
 \r
   UnRegDLL "$INSTDIR\axvlc.dll"\r
   Delete /REBOOTOK "$INSTDIR\axvlc.dll"\r