Page 1 of 1

axvlc.cab does not automatically install the vlc player.

Posted: 14 Sep 2005 00:45
by monsterrast
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.

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

Posted: 14 Sep 2005 13:14
by Quovodis
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

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

Posted: 14 Sep 2005 21:50
by monsterrast
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?

Posted: 16 Sep 2005 23:08
by Quovodis
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.

Posted: 02 Nov 2005 14:30
by Guest
Is there a 'recipie' somewhere that describes in detail how to compile axvlc.dll with built-in plugins? on either gentoo or cygwin?

Thanks

Posted: 30 Mar 2007 07:35
by marcuschan

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

Posted: 25 May 2007 21:01
by slickgoonie
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