|
-
May 18th, 2010, 12:41 PM
#1
Thread Starter
Fanatic Member
Inno setup registering my projects dll problems.
Hi Guys i know this isnt about a question in my VB project. But i am begging anyone who know's about inno setup or has used it that can help me, please do.
I am using the active x plugin on my form by VideoLan - it's the VLC Active X Plugin.
When I run my installer it doesent seem to be registering the DLL's properly as the VLC plugin wont work on my form on another machine without VLC being installed.
I know i did something a few weeks back that allowed it to work without it being installed i just cant remember what.
This is in my source code part for Inno Setup -
Code:
Source: "C:\Program Files\VLC\axvlc.dll"; DestDir: "{app}"; Flags: restartreplace uninsneveruninstall sharedfile regserver
Source: "C:\Program Files\VLC\axvlc.dll"; DestDir: "{sys}"; Flags: restartreplace uninsneveruninstall sharedfile regserver
Source: "C:\Program Files\VLC\axvlc.dll.manifest"; DestDir: "{app}"; Flags: restartreplace uninsneveruninstall sharedfile regserver
Source: "C:\Program Files\VLC\libvlc.dll"; DestDir: "{app}"; Flags: restartreplace uninsneveruninstall sharedfile regserver
Source: "C:\Program Files\VLC\libvlccore.dll"; DestDir: "{app}"; Flags: restartreplace uninsneveruninstall sharedfile regserver
Is their anything wrong with that could that could suggest why iit's not registering the DLL's mainly the axvlc one.
Thanks all help is appreciated
Cheers
-
May 18th, 2010, 12:46 PM
#2
Re: Inno setup registering my projects dll problems.
Question. Do the other dlls need to be installed & registered first? Try moving the last 2 lines to the front maybe.
Suggestion. Browse the "Application Deployment" section of the forums; that's where this should have been posted.
-
May 18th, 2010, 12:59 PM
#3
Re: Inno setup registering my projects dll problems.
Moved To Application Deployment
-
May 18th, 2010, 01:01 PM
#4
Thread Starter
Fanatic Member
Re: Inno setup registering my projects dll problems.
The thing is also when running the installer it get's to the part of registering files and it gives the errors
'libvlc.dll unable to register the dll/ocx regserv32 failed with exit code 0x4'
'libvlccore.dll unable to register the dll/ocx regserv32 failed with exit code 0x4'
'axvlc.dll unable to register the dll/ocx regserv32 failed with exit code 0x4'
'axvlc.dll unable to register the dll/ocx regserv32 failed with exit code 0x4'
Thanks
-
May 18th, 2010, 01:29 PM
#5
Re: Inno setup registering my projects dll problems.
I think I'm going to disappoint you here, but VLC contains a 50MB plugin folder that is also required. Just the axvlc.dll, libvlc.dll and libvlccore.dll files are not enough.
The reason you can't register the DLL properly, is because you first need to set the InstallDir in the registry, for example: HKEY_LOCAL_MACHINE\SOFTWARE\VideoLAN\VLC -> InstallDir
In other words, VLC needs to be installed before you can use the ActiveX dll.
-
May 18th, 2010, 02:15 PM
#6
Thread Starter
Fanatic Member
Re: Inno setup registering my projects dll problems.
Thanks for your relpy.
I dont mind including the whole plugins folder in my install as the vlc activex control is the main part and idea behind my application. So without it = No app!
Is there away around VLC physically having to be installed,
For example including the files in my installer other than having to run the VLC installer?
If so what would be the best method to do this
Thanks
-
May 19th, 2010, 03:06 AM
#7
Thread Starter
Fanatic Member
Re: Inno setup registering my projects dll problems.
Please someone help me I really need to get the VLC plugin thing to work as it's the main part of my app. 
Please
-
Sep 14th, 2010, 03:54 AM
#8
Addicted Member
Re: Inno setup registering my projects dll problems.
You can call the VLCInstaller from your Inno Setup Script.
Code:
[Run]
; NOTE: The following entry contains an English phrase ("Launch"). You are free to translate it into another language if required.
Filename: "{app}\VLCInstaller.exe"; Description: "Install and Register VLC"; Flags: nowait
I hope this works....
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|