]> git.sesse.net Git - vlc/blobdiff - vlc.win32.nsi.in
<tab> police
[vlc] / vlc.win32.nsi.in
index 37b81e506090cc16677eacdd07fb31ef64453a5b..383399c83b9e7e056669aaba0c99ba2275d4ae77 100644 (file)
@@ -33,9 +33,9 @@ SetCompressor /SOLID lzma
 SetOverwrite ifnewer\r
 CRCCheck on\r
 \r
+InstType "Recommended"\r
 InstType "Minimum"\r
 InstType "Full"\r
-InstType "Recommended"\r
 \r
 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;\r
 ; NSIS Modern User Interface configuration ;\r
@@ -197,7 +197,7 @@ FunctionEnd
 \r
 !macro RegisterExtensionSection EXT\r
   Section /o ${EXT}\r
-    SectionIn 2 3\r
+    SectionIn 1 3\r
     Push $R0\r
     StrCpy $R0 ${EXT}\r
     Call RegisterExtension\r
@@ -238,7 +238,7 @@ FunctionEnd
 ;;;;;;;;;;;;;;;;;;;;;;;;;;\r
 \r
 !macro delprefs\r
-  SectionIn 2 3\r
+  SectionIn 1 3\r
   StrCpy $0 0\r
   !define Index 'Line${__LINE__}'\r
   "${Index}-Loop:"\r
@@ -414,7 +414,7 @@ Section "Desktop Shortcut" SEC02b
 SectionEnd\r
 \r
 Section /o "Mozilla plugin" SEC03\r
-  SectionIn 2 3\r
+  SectionIn 1 3\r
 \r
   !insertmacro OpenUninstallLog\r
   !insertmacro InstallFolder mozilla\r
@@ -458,7 +458,7 @@ Section /o "Mozilla plugin" SEC03
 SectionEnd\r
 \r
 Section /o "ActiveX plugin" SEC04\r
-  SectionIn 2 3\r
+  SectionIn 1 3\r
   SetOutPath "$INSTDIR"\r
   !insertmacro OpenUninstallLog\r
   !insertmacro InstallFile activex\axvlc.dll\r
@@ -467,7 +467,7 @@ Section /o "ActiveX plugin" SEC04
 SectionEnd\r
 \r
 Section /o "Context Menus" SEC05\r
-  SectionIn 2\r
+  SectionIn 3\r
   !insertmacro MacroAllExtensions AddContextMenu\r
   !insertmacro AddContextMenu "Directory"\r
 SectionEnd\r
@@ -631,7 +631,6 @@ Section "Uninstall" SEC91
     ReadRegStr $R2 HKLM "SOFTWARE\Mozilla\$R0\Extensions" "Plugins"\r
     StrCmp $R2 "" "${Index}-Loop" ""\r
 \r
-    Delete "$R2\vlcintf.xpt"\r
     Delete "$R2\npvlc.dll"\r
     Goto "${Index}-Loop"\r
 \r
@@ -684,7 +683,7 @@ Section "Uninstall" SEC91
 SectionEnd\r
 \r
 Section /o "un.Delete preferences and cache" SEC92\r
-  SectionIn 2 3\r
+  SectionIn 1 3\r
   !insertmacro delprefs\r
 SectionEnd\r
 \r