- ; doesn't work. bug in mozilla/mozilla firefox or moz documentation (xpt file isn't loaded)\r
- ; see mozilla bugs 184506 and 159445\r
- ;!define Moz "SOFTWARE\MozillaPlugins\@videolan.org/vlc,version=${VERSION}"\r
- ;WriteRegStr HKLM ${Moz} "Description" "VideoLAN VLC plugin for Mozilla"\r
- ;WriteRegStr HKLM ${Moz} "Path" "$INSTDIR\mozilla\npvlc.dll"\r
- ;WriteRegStr HKLM ${Moz} "Product" "VLC media player"\r
- ;WriteRegStr HKLM ${Moz} "Vendor" "VideoLAN"\r
- ;WriteRegStr HKLM ${Moz} "Version" "${VERSION}"\r
- ;WriteRegStr HKLM ${Moz} "XPTPath" "$INSTDIR\mozilla\vlcintf.xpt"\r
-\r
- Push $R0\r
- Push $R1\r
- Push $R2\r
-\r
- !define Index 'Line${__LINE__}'\r
- StrCpy $R1 "0"\r
-\r
- "${Index}-Loop:"\r
-\r
- ; Check for Key\r
- EnumRegKey $R0 HKLM "SOFTWARE\Mozilla" "$R1"\r
- StrCmp $R0 "" "${Index}-End"\r
- IntOp $R1 $R1 + 1\r
- ReadRegStr $R2 HKLM "SOFTWARE\Mozilla\$R0\Extensions" "Plugins"\r
- StrCmp $R2 "" "${Index}-Loop" ""\r
-\r
- CopyFiles "$INSTDIR\mozilla\*" "$R2"\r
- !ifdef LIBVLC_DLL\r
- CopyFiles ${LIBVLC_DLL} "$R2"\r
- !endif\r
- Goto "${Index}-Loop"\r
-\r
- "${Index}-End:"\r
- !undef Index\r
+ !define Moz "SOFTWARE\MozillaPlugins\@videolan.org/vlc,version=${VERSION}"\r
+ WriteRegStr HKLM ${Moz} "Description" "VLC Multimedia Plugin"\r
+ WriteRegStr HKLM ${Moz} "Path" "$INSTDIR\npvlc.dll"\r
+ WriteRegStr HKLM ${Moz} "Product" "VLC media player"\r
+ WriteRegStr HKLM ${Moz} "Vendor" "VideoLAN"\r
+ WriteRegStr HKLM ${Moz} "Version" "${VERSION}"\r
+\r
+ ; for very old version of mozilla, these lines may be needed \r
+ ;Push $R0\r
+ ;Push $R1\r
+ ;Push $R2\r
+\r
+ ;!define Index 'Line${__LINE__}'\r
+ ;StrCpy $R1 "0"\r
+\r
+ ;"${Index}-Loop:"\r
+\r
+ ; ; Check for Key\r
+ ; EnumRegKey $R0 HKLM "SOFTWARE\Mozilla" "$R1"\r
+ ; StrCmp $R0 "" "${Index}-End"\r
+ ; IntOp $R1 $R1 + 1\r
+ ; ReadRegStr $R2 HKLM "SOFTWARE\Mozilla\$R0\Extensions" "Plugins"\r
+ ; StrCmp $R2 "" "${Index}-Loop" ""\r
+\r
+ ; CopyFiles "$INSTDIR\npvlc.dll" "$R2"\r
+ ; !ifdef LIBVLC_DLL\r
+ ; CopyFiles ${LIBVLC_DLL} "$R2"\r
+ ; !endif\r
+ ; !ifdef LIBVLC_CONTROL_DLL\r
+ ; CopyFiles ${LIBVLC_CONTROL_DLL} "$R2"\r
+ ; !endif\r
+ ; Goto "${Index}-Loop"\r
+\r
+ ;"${Index}-End:"\r
+ ;!undef Index\r