X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=vlc.win32.nsi.in;h=01255516d1926bec7c390464072dc790610bd664;hb=c3f9f8e1627ff8f0f42e12b7ba80f2503bd1d48c;hp=37b81e506090cc16677eacdd07fb31ef64453a5b;hpb=0603924b22369d0028e426c345fca84f0c9e37d6;p=vlc diff --git a/vlc.win32.nsi.in b/vlc.win32.nsi.in index 37b81e5060..01255516d1 100644 --- a/vlc.win32.nsi.in +++ b/vlc.win32.nsi.in @@ -33,9 +33,9 @@ SetCompressor /SOLID lzma SetOverwrite ifnewer CRCCheck on +InstType "Recommended" InstType "Minimum" InstType "Full" -InstType "Recommended" ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ; NSIS Modern User Interface configuration ; @@ -174,7 +174,7 @@ Function RegisterExtension NoBackup: WriteRegStr HKCR "$R0" "" "VLC$R0" ReadRegStr $0 HKCR "VLC$R0" "" - WriteRegStr HKCR "VLC$R0" "" "VLC media file" + WriteRegStr HKCR "VLC$R0" "" "VLC media file ($R0)" WriteRegStr HKCR "VLC$R0\shell" "" "Play" WriteRegStr HKCR "VLC$R0\shell\Play\command" "" '"$INSTDIR\vlc.exe" --one-instance-when-started-from-file "%1"' WriteRegStr HKCR "VLC$R0\DefaultIcon" "" '"$INSTDIR\vlc.exe",0' @@ -197,7 +197,7 @@ FunctionEnd !macro RegisterExtensionSection EXT Section /o ${EXT} - SectionIn 2 3 + SectionIn 1 3 Push $R0 StrCpy $R0 ${EXT} Call RegisterExtension @@ -238,7 +238,7 @@ FunctionEnd ;;;;;;;;;;;;;;;;;;;;;;;;;; !macro delprefs - SectionIn 2 3 + SectionIn 1 3 StrCpy $0 0 !define Index 'Line${__LINE__}' "${Index}-Loop:" @@ -394,11 +394,7 @@ Section "Start Menu Shortcut" SEC02a SectionIn 1 2 3 CreateDirectory "$SMPROGRAMS\VideoLAN" CreateShortCut "$SMPROGRAMS\VideoLAN\VLC media player.lnk" \ - "$INSTDIR\vlc.exe" "--intf wx --wx-embed" - CreateShortCut "$SMPROGRAMS\VideoLAN\VLC media player (alt).lnk" \ - "$INSTDIR\vlc.exe" "--intf wx --no-wx-embed" - CreateShortCut "$SMPROGRAMS\VideoLAN\VLC media player (skins).lnk" \ - "$INSTDIR\vlc.exe" "--intf skins" + "$INSTDIR\vlc.exe" "" CreateShortCut "$SMPROGRAMS\VideoLAN\Reset VLC defaults and quit.lnk" \ "$INSTDIR\vlc.exe" "--reset-config --reset-plugins-cache --save-config vlc:quit " CreateShortCut "$SMPROGRAMS\VideoLAN\${PRODUCT_NAME} Website.lnk" \ @@ -414,7 +410,7 @@ Section "Desktop Shortcut" SEC02b SectionEnd Section /o "Mozilla plugin" SEC03 - SectionIn 2 3 + SectionIn 1 3 !insertmacro OpenUninstallLog !insertmacro InstallFolder mozilla @@ -458,7 +454,7 @@ Section /o "Mozilla plugin" SEC03 SectionEnd Section /o "ActiveX plugin" SEC04 - SectionIn 2 3 + SectionIn 1 3 SetOutPath "$INSTDIR" !insertmacro OpenUninstallLog !insertmacro InstallFile activex\axvlc.dll @@ -467,7 +463,7 @@ Section /o "ActiveX plugin" SEC04 SectionEnd Section /o "Context Menus" SEC05 - SectionIn 2 + SectionIn 3 !insertmacro MacroAllExtensions AddContextMenu !insertmacro AddContextMenu "Directory" SectionEnd @@ -631,7 +627,6 @@ Section "Uninstall" SEC91 ReadRegStr $R2 HKLM "SOFTWARE\Mozilla\$R0\Extensions" "Plugins" StrCmp $R2 "" "${Index}-Loop" "" - Delete "$R2\vlcintf.xpt" Delete "$R2\npvlc.dll" Goto "${Index}-Loop" @@ -684,7 +679,7 @@ Section "Uninstall" SEC91 SectionEnd Section /o "un.Delete preferences and cache" SEC92 - SectionIn 2 3 + SectionIn 1 3 !insertmacro delprefs SectionEnd