[vlc] Mozilla Firebird plugin problems with 0.7.0 & 0.7.1 tests

Bill Eldridge bill at rfa.org
Tue Jan 20 17:40:35 CET 2004


I'm trying to adapt my Registry additions for the 0.7.0 release
and 0.7.1 RTSP test versions of VLC, but I don't get the plugin working
in Firebird as I did in 0.6.3.  I made sure everything was uninstalled 
and deleted from the registry for a clean new install, but still no
go. Re-installing 0.6.3 with my NSI works though. (I'm now downloading
Gildas's last win32 test to see if that helps - too many large
downloads over 56K modem....)

I saw some differences with @videolan.org/npvlc;version=...
versus @videolan.org/vlc,version=... and tried making it consistent
both ways, didn't help.

I also cut out the MIME portion and made its own NSI installer,
which might be useful for configuration stuff and testing,
when you don't want to keep installing executables/libraries
that didn't change (pasted below)

Bill

;;;;;;;;;;;;;;;;;;;;;;;;;
; General configuration ;
;;;;;;;;;;;;;;;;;;;;;;;;;

OutFile ..\vlc-${VERSION}-mime.exe
SetCompressor bzip2

Name "VLC media player"
Caption "VLC '${VERSION}' for Win32 Setup"
;Icon ../share/gvlc32x32.ico

CRCCheck on

InstallDir "$PROGRAMFILES\VideoLAN\VLC"

; check if the program has already been installed, if so, take this dir
; as install dir
InstallDirRegKey HKLM SOFTWARE\VideoLAN\VLC "Install_Dir"
DirText "Choose a directory to install in to:"

AutoCloseWindow false
ShowInstDetails show

SetOverwrite ifnewer
SetDatablockOptimize on
SetDateSave off
SetCompress auto

UninstallText "This will uninstall the VLC media player."

;;;;;;;;;;;;;;;;;;;;
; Install settings ;
;;;;;;;;;;;;;;;;;;;;

Section "Install"
       WriteRegStr HKLM 
"SOFTWARE\MozillaPlugins\@videolan.org/npvlc;version=${VERSION}" 
"Description" "VideoLAN VLC plugin for Mozilla"
       WriteRegStr HKLM 
"SOFTWARE\MozillaPlugins\@videolan.org/npvlc;version=${VERSION}" "Path" 
"$INSTDIR\mozilla\npvlc.dll"
       WriteRegStr HKLM 
"SOFTWARE\MozillaPlugins\@videolan.org/npvlc;version=${VERSION}" 
"Product" "VLC"
       WriteRegStr HKLM 
"SOFTWARE\MozillaPlugins\@videolan.org/npvlc;version=${VERSION}" 
"Vendor" "VideoLAN"
       WriteRegStr HKLM 
"SOFTWARE\MozillaPlugins\@videolan.org/npvlc;version=${VERSION}" 
"Version" "${VERSION}"
       WriteRegStr HKLM 
"SOFTWARE\MozillaPlugins\@videolan.org/npvlc;version=${VERSION}" 
"XPTPath" "$INSTDIR\mozilla\vlcintf.xpt"
       WriteRegStr HKLM 
"SOFTWARE\MozillaPlugins\@videolan.org/npvlc;version=${VERSION}\MimeTypes\application/x-vlc-plugin" 
"Description" "Videolan as Plug-in(*.vlc)"
       WriteRegStr HKLM 
"SOFTWARE\MozillaPlugins\@videolan.org/npvlc;version=${VERSION}\MimeTypes\application/x-vlc-plugin" 
"Suffixes" "vlp,vlq"
       WriteRegStr HKLM 
"SOFTWARE\MozillaPlugins\@videolan.org/npvlc;version=${VERSION}\Suffixes" 
"vlp" ""
       WriteRegStr HKLM 
"SOFTWARE\MozillaPlugins\@videolan.org/npvlc;version=${VERSION}\Suffixes" 
"vlq" ""
       WriteRegStr HKCR .vlq "Content Type" "application/x-vlc-plugin"

	Exec "C:\Program Files\mozilla.org\Mozilla\regxpcom 
$INSTDIR\mozilla\vlcintf.xpt"
	Exec "C:\Program Files\mozilla.org\Mozilla\regxpcom"


	Exec "explorer $SMPROGRAMS\VideoLAN\"
SectionEnd

;;;;;;;;;;;;;;;;;;;;;;
; Uninstall settings ;
;;;;;;;;;;;;;;;;;;;;;;

Section "Uninstall"
         SetShellVarContext all
	RMDir /r $SMPROGRAMS\VideoLAN
	RMDir /r $INSTDIR
	DeleteRegKey HKLM SOFTWARE\VideoLAN
         DeleteRegKey HKLM \
             SOFTWARE\MozillaPlugins\@videolan.org/vlc,version=${VERSION}

         DeleteRegKey HKLM \
             Software\Microsoft\Windows\CurrentVersion\Uninstall\VideoLAN
SectionEnd


-- 
This is the vlc mailing-list, see http://www.videolan.org/vlc/
To unsubscribe, please read http://www.videolan.org/support/lists.html
If you are in trouble, please contact <postmaster at videolan.org>



More information about the vlc mailing list