X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=vlc.win32.nsi.in;h=5f8be712643e6c0404bb135c955881ae2beb1271;hb=91854175802df46ec820998ed3bbb6f1c144ec09;hp=eabd41d0f6e42c4b5365b35e600ae613b127b412;hpb=ba5cd4c71f5c04bf3ed43fdce2774cb4efafbde0;p=vlc diff --git a/vlc.win32.nsi.in b/vlc.win32.nsi.in index eabd41d0f6..5f8be71264 100644 --- a/vlc.win32.nsi.in +++ b/vlc.win32.nsi.in @@ -33,7 +33,8 @@ SetCompressor /SOLID lzma SetOverwrite ifnewer CRCCheck on -InstType "Normal" +InstType "Recommended" +InstType "Minimum" InstType "Full" ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; @@ -196,7 +197,7 @@ FunctionEnd !macro RegisterExtensionSection EXT Section /o ${EXT} - SectionIn 2 3 + SectionIn 1 3 Push $R0 StrCpy $R0 ${EXT} Call RegisterExtension @@ -237,7 +238,7 @@ FunctionEnd ;;;;;;;;;;;;;;;;;;;;;;;;;; !macro delprefs - SectionIn 2 3 + SectionIn 1 3 StrCpy $0 0 !define Index 'Line${__LINE__}' "${Index}-Loop:" @@ -259,7 +260,7 @@ FunctionEnd Var UninstallLog !macro OpenUninstallLog - FileOpen $UninstallLog "$INSTDIR\uninstall.log" w + FileOpen $UninstallLog "$INSTDIR\uninstall.log" a FileSeek $UninstallLog 0 END !macroend @@ -393,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" \ @@ -413,7 +410,7 @@ Section "Desktop Shortcut" SEC02b SectionEnd Section /o "Mozilla plugin" SEC03 - SectionIn 2 3 + SectionIn 1 3 !insertmacro OpenUninstallLog !insertmacro InstallFolder mozilla @@ -456,8 +453,8 @@ Section /o "Mozilla plugin" SEC03 SectionEnd -Section "ActiveX plugin" SEC04 - SectionIn 2 3 +Section /o "ActiveX plugin" SEC04 + SectionIn 1 3 SetOutPath "$INSTDIR" !insertmacro OpenUninstallLog !insertmacro InstallFile activex\axvlc.dll @@ -465,8 +462,8 @@ Section "ActiveX plugin" SEC04 RegDLL "$INSTDIR\axvlc.dll" SectionEnd -Section "Context Menus" SEC05 - SectionIn 2 +Section /o "Context Menus" SEC05 + SectionIn 3 !insertmacro MacroAllExtensions AddContextMenu !insertmacro AddContextMenu "Directory" SectionEnd @@ -630,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" @@ -683,7 +679,7 @@ Section "Uninstall" SEC91 SectionEnd Section /o "un.Delete preferences and cache" SEC92 - SectionIn 2 3 RO + SectionIn 1 3 !insertmacro delprefs SectionEnd