diff --git a/vlc.win32.nsi.in b/vlc.win32.nsi.in
index ada845cae57467c7a241b6ee304088207120991c..2e8e2dcc353e2066ceeffacbb8fee0bbd873294a 100644
--- a/vlc.win32.nsi.in
+++ b/vlc.win32.nsi.in
@@ -492,12 +492,6 @@ Section "ActiveX plugin" SEC04
   RegDLL "$INSTDIR\axvlc.dll"
 SectionEnd
 
-Section /o "Context Menus" SEC05
-  SectionIn 3
-  !insertmacro MacroAllExtensions AddContextMenu
-  !insertmacro AddContextMenu "Directory"
-SectionEnd
-
 SectionGroup "File type associations" SEC06
   SectionGroup "Audio Files"
     !insertmacro MacroAudioExtensions RegisterExtensionSection
@@ -510,6 +504,12 @@ SectionGroup "File type associations" SEC06
   SectionGroupEnd
 SectionGroupEnd
 
+Section /o "Context Menus" SEC05
+  SectionIn 3
+  !insertmacro MacroAllExtensions AddContextMenu
+  !insertmacro AddContextMenu "Directory"
+SectionEnd
+
 Section /o "Delete preferences and cache" SEC07
   !insertmacro delprefs
 SectionEnd