How to diffuse VLC with no installation

All you've ever wanted to know about the ActiveX, Mozilla plugins, the web interface and various PHP extensions
FrereDavid
New Cone
New Cone
Posts: 6
Joined: 23 May 2006 15:19

How to diffuse VLC with no installation

Postby FrereDavid » 12 Jul 2006 10:42

Hi

I'd like to diffuse my ATL/C++ application where VLC ActiveX is embedded without people having to install VLC.
But I've got some problems with that.
First, to get the ActiveX to work on the machine without VLC, I need to add axvlc.dll and libvlc.dll to the installation, and in my application apply regsvr32 to them to register them. But with only that, the media don't play, I only get the VLC cone on white background.
However, as soon as I install VLC on this machine, the media plays.
What do I need to do to make it play without installing VLC ?

Thanks

Guest

Postby Guest » 24 Jul 2006 05:04

Does anyone have any information on this, I am also looking to do this.

The only solution i have found is to directly run the program from its directory.

Cheers
Ollie

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

Postby Quovodis » 24 Jul 2006 10:39

you forgot to distribute the VLC modules, which are located under the plugins folder when you installed VLC. You also need to add some info into the registry to tell VLC where to locate those modules. more info about this in the activex README:
http://trac.videolan.org/vlc/file/trunk ... README.TXT

Guest

Postby Guest » 24 Jul 2006 15:55

Hi Quovodis,

The "plugins" directory was pacakged with the program and copyed to into my install directory.

The only fix i have found for this currently would be to actually run the program from the installed program files folder.

AXVLC.DLL was all registered but do i need to set the registry keys:

[HKEY_LOCAL_MACHINE\Software\VideoLAN\VLC]
InstallDir="C:\Program Files\VideoLAN\VLC"

For my install dir even though im not using any custom plugins?

Cheers
Ollie


Return to “Web and scripting”

Who is online

Users browsing this forum: No registered users and 3 guests