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
\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
;;;;;;;;;;;;;;;;;;;;;;;;;;\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
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
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
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
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
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