Mirage Source
http://web.miragesource.net/forums/

VB 6 Runtimes
http://web.miragesource.net/forums/viewtopic.php?f=143&t=6228
Page 1 of 1

Author:  halla [ Tue Sep 15, 2009 7:32 pm ]
Post subject:  VB 6 Runtimes

Well I never gave out a project to people who don't have VB6 or whatever. So I beleive you have to give them dlls or runtimes for VB6 and register them right? Is there a simple way to do this? Maybe an installer that would do it automatically... or maybe just something they click that would do it?

Author:  Rian [ Tue Sep 15, 2009 7:58 pm ]
Post subject:  Re: VB 6 Runtimes

What I do is make a folder inside the client, I usually name the folder "Help Files" so more people are inclined to click it when something fucks up.

Anyhow, inside this folder, paste over all of the dll and oxc files your game uses. Then open notepad and paste this inside of it:

Code:
@ECHO OFF
ECHO :: This Will Install All RunTime Files To Run A Mirage Based Game
Pause

COPY MSWINSCK.OCX C:\Windows\System32 /Y
REGSVR32 MSWINSCK.OCX /S
ECHO MSWINSCK.OCX Registered Successfully!

COPY RICHTX32.OCX C:\Windows\System32 /Y
REGSVR32 RICHTX32.OCX /S
ECHO RICHTX32.OCX Registered Successfully!


Now, save this file to your "Help Files" folder. I save mine as Registration.bat

The actual name of the file is up to you, but it does need to be .bat (batch file). I'm not sure if it makes a difference (been a while since I learned about batch files), but save as a Text Document using the encoding ANSI.

Now all the player has to do is double click the Registration.bat. I believe Vista users will need to right click and run it as an administrator.

Author:  Matt [ Tue Sep 15, 2009 8:04 pm ]
Post subject:  Re: VB 6 Runtimes

I wonder if there's a line of batch code that will run it as an administrator.. If so, you could include two of the files, one for XP and one for Vista..

Page 1 of 1 All times are UTC
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/