Mirage Source

Free ORPG making software.
It is currently Thu Apr 18, 2024 7:32 am

All times are UTC




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: VB 6 Runtimes
PostPosted: Tue Sep 15, 2009 7:32 pm 
Offline
Pro

Joined: Sat Jun 03, 2006 8:32 pm
Posts: 415
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?

_________________
OREH
http://www.flawsin.com/oreh
Image


Top
 Profile  
 
 Post subject: Re: VB 6 Runtimes
PostPosted: Tue Sep 15, 2009 7:58 pm 
Offline
Persistant Poster
User avatar

Joined: Tue May 30, 2006 2:07 am
Posts: 836
Location: Nashville, Tennessee, USA
Google Talk: rs.ruggles@gmail.com
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.

_________________
I'm on Facebook! Google Plus My Youtube Channel My Steam Profile

Image


Top
 Profile  
 
 Post subject: Re: VB 6 Runtimes
PostPosted: Tue Sep 15, 2009 8:04 pm 
Offline
Persistant Poster

Joined: Fri Jun 26, 2009 10:15 pm
Posts: 701
Google Talk: FAProductions
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..


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 6 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group