Commit 97a8b0fb authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Win32 Installer update:

Deactivate ActiveX by default and
reordering of File Asssociation to be more visible.
parent 64637517
...@@ -547,8 +547,8 @@ Section /o $Name_Section03 SEC03 ...@@ -547,8 +547,8 @@ Section /o $Name_Section03 SEC03
SectionEnd SectionEnd
Section $Name_Section04 SEC04 Section /o $Name_Section04 SEC04
SectionIn 1 3 SectionIn 3
SetOutPath "$INSTDIR" SetOutPath "$INSTDIR"
!insertmacro OpenUninstallLog !insertmacro OpenUninstallLog
!insertmacro InstallFile activex\axvlc.dll !insertmacro InstallFile activex\axvlc.dll
...@@ -556,7 +556,20 @@ Section $Name_Section04 SEC04 ...@@ -556,7 +556,20 @@ Section $Name_Section04 SEC04
RegDLL "$INSTDIR\axvlc.dll" RegDLL "$INSTDIR\axvlc.dll"
SectionEnd SectionEnd
Section $Name_Section05 SEC05 SectionGroup /e !$Name_Section06 SEC05
SectionGroup $Name_SectionGroupAudio
!insertmacro MacroAudioExtensions RegisterExtensionSection
SectionGroupEnd
SectionGroup $Name_SectionGroupVideo
!insertmacro MacroVideoExtensions RegisterExtensionSection
SectionGroupEnd
SectionGroup $Name_SectionGroupOther
!insertmacro MacroOtherExtensions RegisterExtensionSection
SectionGroupEnd
SectionGroupEnd
Section $Name_Section05 SEC06
SectionIn 1 2 3 SectionIn 1 2 3
WriteRegStr HKCR "AudioCD\shell\PlayWithVLC" "" $ContextMenuEntry_PlayWith WriteRegStr HKCR "AudioCD\shell\PlayWithVLC" "" $ContextMenuEntry_PlayWith
WriteRegStr HKCR "AudioCD\shell\PlayWithVLC\command" "" \ WriteRegStr HKCR "AudioCD\shell\PlayWithVLC\command" "" \
...@@ -591,25 +604,13 @@ Section $Name_Section05 SEC05 ...@@ -591,25 +604,13 @@ Section $Name_Section05 SEC05
SectionEnd SectionEnd
SectionGroup $Name_Section06 SEC06
SectionGroup $Name_SectionGroupAudio
!insertmacro MacroAudioExtensions RegisterExtensionSection
SectionGroupEnd
SectionGroup $Name_SectionGroupVideo
!insertmacro MacroVideoExtensions RegisterExtensionSection
SectionGroupEnd
SectionGroup $Name_SectionGroupOther
!insertmacro MacroOtherExtensions RegisterExtensionSection
SectionGroupEnd
SectionGroupEnd
Section $Name_Section07 SEC07 Section $Name_Section07 SEC07
SectionIn 3 SectionIn 1 3
!insertmacro MacroAllExtensions AddContextMenu !insertmacro MacroAllExtensions AddContextMenu
!insertmacro AddContextMenuExt "Directory" !insertmacro AddContextMenuExt "Directory"
SectionEnd SectionEnd
Section /o $Name_Section08 SEC08 Section $Name_Section08 SEC08
!insertmacro delprefs !insertmacro delprefs
SectionEnd SectionEnd
...@@ -629,7 +630,7 @@ SectionEnd ...@@ -629,7 +630,7 @@ SectionEnd
;;; Start function ;;; Start function
Function .onInit Function .onInit
!insertmacro MUI_LANGDLL_DISPLAY !insertmacro MUI_LANGDLL_DISPLAY
!include "languages\english.nsh" !include "languages\english.nsh"
StrCmp $LANGUAGE ${LANG_FRENCH} French EndLanguageCmp StrCmp $LANGUAGE ${LANG_FRENCH} French EndLanguageCmp
French: French:
...@@ -647,7 +648,7 @@ Function .onInit ...@@ -647,7 +648,7 @@ Function .onInit
ClearErrors ClearErrors
ExecWait '$R0 _?=$INSTDIR' ;Do not copy the uninstaller to a temp file ExecWait '$R0 _?=$INSTDIR' ;Do not copy the uninstaller to a temp file
done: done:
FunctionEnd FunctionEnd
;; End function ;; End function
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment