X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;ds=sidebyside;f=vlc.win32.nsi.in;h=59aaedd3c05f57fc2692f04675c05b2a28cb817c;hb=834b64d0f742bf300b015afdfef91a5f3fa7382c;hp=b1b03c307c7a3c06b568c8582afe441d8583d265;hpb=de928c0ab13eddb75c3b09e1090ddc9b2c216673;p=vlc diff --git a/vlc.win32.nsi.in b/vlc.win32.nsi.in index b1b03c307c..59aaedd3c0 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 @@ -409,11 +410,11 @@ SectionEnd Section "Desktop Shortcut" SEC02b SectionIn 1 2 3 CreateShortCut "$DESKTOP\VLC media player.lnk" \ - "$INSTDIR\vlc.exe" "--intf wx" + "$INSTDIR\vlc.exe" "" SectionEnd Section /o "Mozilla plugin" SEC03 - SectionIn 2 3 + SectionIn 1 3 !insertmacro OpenUninstallLog !insertmacro InstallFolder mozilla @@ -456,8 +457,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 +466,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 @@ -683,7 +684,7 @@ Section "Uninstall" SEC91 SectionEnd Section /o "un.Delete preferences and cache" SEC92 - SectionIn 2 3 RO + SectionIn 1 3 !insertmacro delprefs SectionEnd