axvlc.cab does not automatically install the vlc player.

All you've ever wanted to know about the ActiveX, Mozilla plugins, the web interface and various PHP extensions
monsterrast
Blank Cone
Blank Cone
Posts: 12
Joined: 05 Aug 2004 03:46

axvlc.cab does not automatically install the vlc player.

Postby monsterrast » 14 Sep 2005 00:45

I tried to implement vlc activeX in my web page. I embeded the axvlc.cab control in my code. when IE loads the activeX, it does not run vlc setup program which is included in the .cab file. here is the content of axvlc.inf:

; Version number and signature of INF file.
;
[version]
signature="$CHICAGO$"
AdvancedINF=2.0

[Add.Code]
vlc-0.8.2-win32.exe
axvlc.dll=axvlc.dll

[axvlc.dll]
FileVersion=0,8,2,0
clsid={E23FE9C6-778E-49d4-B537-38FCDE4887D8}
RegisterServer=no
hook=nsiinstaller

[vlc-0.8.2-svn-win32.exe]
FileVersion=0,8,2,0
file-win32-x86=thiscab

[nsiinstaller]
run=%EXTRACT_DIR%\vlc-0.8.2-svn-win32.exe


The question is what should I change to run the setup file inside the .cab file.

Quovodis
Cone that earned his stripes
Cone that earned his stripes
Posts: 271
Joined: 16 Jun 2004 11:13
Location: Cork, Ireland

Re: axvlc.cab does not automatically install the vlc player.

Postby Quovodis » 14 Sep 2005 13:14

I tried to implement vlc activeX in my web page. I embeded the axvlc.cab control in my code. when IE loads the activeX, it does not run vlc setup program which is included in the .cab file. here is the content of axvlc.inf:

; Version number and signature of INF file.
;
[version]
signature="$CHICAGO$"
AdvancedINF=2.0

[Add.Code]
vlc-0.8.2-win32.exe
axvlc.dll=axvlc.dll

[axvlc.dll]
FileVersion=0,8,2,0
clsid={E23FE9C6-778E-49d4-B537-38FCDE4887D8}
RegisterServer=no
hook=nsiinstaller

[vlc-0.8.2-svn-win32.exe]
FileVersion=0,8,2,0
file-win32-x86=thiscab

[nsiinstaller]
run=%EXTRACT_DIR%\vlc-0.8.2-svn-win32.exe


The question is what should I change to run the setup file inside the .cab file.
all names in bold have to be the same

monsterrast
Blank Cone
Blank Cone
Posts: 12
Joined: 05 Aug 2004 03:46

Re: axvlc.cab does not automatically install the vlc player.

Postby monsterrast » 14 Sep 2005 21:50

I tried to implement vlc activeX in my web page. I embeded the axvlc.cab control in my code. when IE loads the activeX, it does not run vlc setup program which is included in the .cab file. here is the content of axvlc.inf:

; Version number and signature of INF file.
;
[version]
signature="$CHICAGO$"
AdvancedINF=2.0

[Add.Code]
vlc-0.8.2-win32.exe
axvlc.dll=axvlc.dll

[axvlc.dll]
FileVersion=0,8,2,0
clsid={E23FE9C6-778E-49d4-B537-38FCDE4887D8}
RegisterServer=no
hook=nsiinstaller

[vlc-0.8.2-svn-win32.exe]
FileVersion=0,8,2,0
file-win32-x86=thiscab

[nsiinstaller]
run=%EXTRACT_DIR%\vlc-0.8.2-svn-win32.exe


The question is what should I change to run the setup file inside the .cab file.
all names in bold have to be the same
Hi, it works.
Thanks a lot, Quovodis. By the way, when is the next version of vlc player available. Can the next version of vlc activeX be loaded in IE without install the vlc player?

Quovodis
Cone that earned his stripes
Cone that earned his stripes
Posts: 271
Joined: 16 Jun 2004 11:13
Location: Cork, Ireland

Postby Quovodis » 16 Sep 2005 23:08

yes, the activex control can be used/installed without the player, but you will probably have to do it yourself. to do so you have several options:

1) you can build a custom version of the installer by modifying vlc.win32.nsi to exclude the player.

2) you can remove the installer from the axvlc.inf file, and replace it with axvlc.dll, which will have to be compiled with built-in plugins; make sure that RegisterServer is set to yes

Unfortunately, both solutions requires some minimum knowlege about VLC built environment.

Guest

Postby Guest » 02 Nov 2005 14:30

Is there a 'recipie' somewhere that describes in detail how to compile axvlc.dll with built-in plugins? on either gentoo or cygwin?

Thanks

marcuschan
Blank Cone
Blank Cone
Posts: 54
Joined: 08 Jul 2006 16:31

Postby marcuschan » 30 Mar 2007 07:35


2) you can remove the installer from the axvlc.inf file, and replace it with axvlc.dll, which will have to be compiled with built-in plugins; make sure that RegisterServer is set to yes

.
Hi ..

I am trying to build (I mean compile) a axvlc.dll with builtin plugins. (What I want is to get a axvlc.dll and can deploy it WITHOUT deploying the plugins folder)

My question is, how to change the configure options.

My config options are :

#! /bin/sh
PKG_CONFIG_PATH=/usr/win32/lib/pkgconfig \
CPPFLAGS="-I/usr/win32/include -I/usr/win32/include/ebml -I/usr/local/include" \
LDFLAGS="-L/usr/win32/lib -L/usr/local/lib" \
./configure \
--enable-static \
--enable-mostly-builtin \
--disable--plugins \

--disable-gtk \
--disable-nls --enable-sdl --with-sdl-config-path=/usr/win32/bin \
--enable-ffmpeg --with-ffmpeg-mp3lame --with-ffmpeg-faac \
--with-ffmpeg-zlib --enable-faad --enable-flac --enable-theora \
--with-wx-config-path=/usr/win32/bin \
--with-freetype-config-path=/usr/win32/bin \
--with-fribidi-config-path=/usr/win32/bin \
--enable-caca --with-caca-config-path=/usr/win32/bin \
--with-xml2-config-path=/usr/win32/bin \
--with-dvdnav-config-path=/usr/win32/bin \
--disable-cddax --disable-vcdx --enable-goom \
--enable-twolame --enable-dvdread \
--disable-mkv --disable-hal \
--enable-debug

Am I using the right options (in bold) ?
PS: my environment is MSYS+minGW

Thanks,
Marcus

slickgoonie
New Cone
New Cone
Posts: 2
Joined: 25 May 2007 20:57

Postby slickgoonie » 25 May 2007 21:01

I tried to do the same but with my own Installer I created, modifying some of the nisi script. Now here is my question, I have my setup.exe, and my .inf file, where do I get the classid? is it really necessary to run the activex control?

thanks


Return to “Web and scripting”

Who is online

Users browsing this forum: No registered users and 12 guests