]> git.sesse.net Git - vlc/commitdiff
added ActiveX control to the VLC installer
authorDamien Fouilleul <damienf@videolan.org>
Tue, 22 Feb 2005 11:13:11 +0000 (11:13 +0000)
committerDamien Fouilleul <damienf@videolan.org>
Tue, 22 Feb 2005 11:13:11 +0000 (11:13 +0000)
vlc.win32.nsi

index fa41aaa720bc359e05d61b7979ed1bad057cfe73..0aa9f39412110ebb78fbcb1a526c208fd746658a 100644 (file)
@@ -188,14 +188,21 @@ SectionEnd
 \r
 Section /o "Mozilla plugin" SEC03\r
   SectionIn 2 3\r
-  File  /r mozilla\r
+  File /r mozilla\r
 \r
   WriteRegStr HKLM \\r
     SOFTWARE\MozillaPlugins\@videolan.org/vlc,version=${VERSION} \\r
     "Path" '"$INSTDIR\mozilla\npvlc.dll"'\r
 SectionEnd\r
 \r
-SubSection "File type associations" SEC04\r
+Section /o "ActiveX plugin" SEC04\r
+  SectionIn 2 3\r
+  SetOutPath $SYSDIR\r
+  File activex\axvlc.dll\r
+  RegDLL $SYSDIR\axvlc.dll\r
+SectionEnd\r
+\r
+SubSection "File type associations" SEC05\r
   ; Make sure we have the same list in uninstall\r
   !insertmacro RegisterExtensionSection ".a52"\r
   !insertmacro RegisterExtensionSection ".aac"\r
@@ -264,6 +271,8 @@ SectionEnd
   !insertmacro MUI_DESCRIPTION_TEXT ${SEC03} \\r
     "The VLC mozilla plugin"\r
   !insertmacro MUI_DESCRIPTION_TEXT ${SEC04} \\r
+    "The VLC ActiveX plugin"\r
+  !insertmacro MUI_DESCRIPTION_TEXT ${SEC05} \\r
     "Sets VLC media player as the default application for the specified file type"\r
 !insertmacro MUI_FUNCTION_DESCRIPTION_END\r
 \r