Commit 1089becd 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.
(cherry picked from commit 97a8b0fb)
Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent cecdd2aa
......@@ -541,8 +541,8 @@ Section /o $Name_Section03 SEC03
SectionEnd
Section $Name_Section04 SEC04
SectionIn 1 3
Section /o $Name_Section04 SEC04
SectionIn 3
SetOutPath "$INSTDIR"
!insertmacro OpenUninstallLog
!insertmacro InstallFile activex\axvlc.dll
......@@ -550,7 +550,20 @@ Section $Name_Section04 SEC04
RegDLL "$INSTDIR\axvlc.dll"
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
WriteRegStr HKCR "AudioCD\shell\PlayWithVLC" "" $ContextMenuEntry_PlayWith
WriteRegStr HKCR "AudioCD\shell\PlayWithVLC\command" "" \
......@@ -585,20 +598,8 @@ Section $Name_Section05 SEC05
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
SectionIn 3
SectionIn 1 3
!insertmacro MacroAllExtensions AddContextMenu
!insertmacro AddContextMenuExt "Directory"
SectionEnd
......
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