Mirage Source

Free ORPG making software.
It is currently Thu Mar 28, 2024 7:59 pm

All times are UTC




Post new topic Reply to topic  [ 10 posts ] 
Author Message
 Post subject: Packaging a Program
PostPosted: Thu Sep 24, 2009 6:22 pm 
Offline
Pro

Joined: Sat Jun 03, 2006 8:32 pm
Posts: 415
Ok my last question for a while. I made a program with nothing added thats not built into VB6. What do I have to include with it so that people without VB6 can run the program. Also if anything needs registered or anything whats the bat file to do it?

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


Top
 Profile  
 
 Post subject: Re: Packaging a Program
PostPosted: Thu Sep 24, 2009 7:39 pm 
Offline
Pro

Joined: Mon May 29, 2006 5:01 pm
Posts: 420
Location: Canada, BC
Google Talk: anthony.fleck@gmail.com
It depends on the computer, some people have the files needed and registered and others don't. It also depends on what files your specific game requires to run.

For a base MS4 you would most likely need to include these files in the client folder:

dx7vb.dll
MSWINSCK.OCX
RICHTX32.OCX

You can create a batch file in notepad which will register the files with this code:
Code:
@echo off
echo Registering game library files...
regsvr32 dx7vb.dll /s
regsvr32 MSWINSCK.OCX /s
regsvr32 RICHTX32.OCX /s
echo Done


Hope this helps.


Last edited by Anthony on Thu Sep 24, 2009 8:53 pm, edited 1 time in total.

Top
 Profile  
 
 Post subject: Re: Packaging a Program
PostPosted: Thu Sep 24, 2009 8:16 pm 
Offline
Persistant Poster
User avatar

Joined: Thu Mar 29, 2007 10:30 pm
Posts: 1510
Location: Virginia, USA
Google Talk: hpmccloud@gmail.com
You put the /s after the file name.

_________________
Nean wrote:
Yes harold. Give it to me.

Image
Image


Top
 Profile  
 
 Post subject: Re: Packaging a Program
PostPosted: Thu Sep 24, 2009 8:52 pm 
Offline
Pro

Joined: Mon May 29, 2006 5:01 pm
Posts: 420
Location: Canada, BC
Google Talk: anthony.fleck@gmail.com
Oh >.<

Fixed.


Top
 Profile  
 
 Post subject: Re: Packaging a Program
PostPosted: Thu Sep 24, 2009 11:11 pm 
Offline
Pro

Joined: Sat Jun 03, 2006 8:32 pm
Posts: 415
Its not a game at all. Just a contract calculator made in VB6. Is there anything I need to include with that?

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


Top
 Profile  
 
 Post subject: Re: Packaging a Program
PostPosted: Thu Sep 24, 2009 11:12 pm 
Offline
Persistant Poster
User avatar

Joined: Thu Mar 29, 2007 10:30 pm
Posts: 1510
Location: Virginia, USA
Google Talk: hpmccloud@gmail.com
Depends on what you use in your program.

_________________
Nean wrote:
Yes harold. Give it to me.

Image
Image


Top
 Profile  
 
 Post subject: Re: Packaging a Program
PostPosted: Fri Sep 25, 2009 7:08 am 
Offline
Pro

Joined: Sat Jun 03, 2006 8:32 pm
Posts: 415
I didnt add anything in at all... its pretty basic just calculations and labels and text boxes so on

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


Top
 Profile  
 
 Post subject: Re: Packaging a Program
PostPosted: Fri Sep 25, 2009 7:23 am 
Offline
Persistant Poster
User avatar

Joined: Thu Mar 29, 2007 10:30 pm
Posts: 1510
Location: Virginia, USA
Google Talk: hpmccloud@gmail.com
Try to get them to run it and if they get errors, then install the runtimes...

http://support.microsoft.com/kb/192461

_________________
Nean wrote:
Yes harold. Give it to me.

Image
Image


Top
 Profile  
 
 Post subject: Re: Packaging a Program
PostPosted: Fri Sep 25, 2009 6:36 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
Is it possible to make an entire installer with a batch file? I tried making a batch that created a folder in the inside the Programs folder, and then tried moving a .png file to that folder, but I couldn't get the syntax right. Is there a way to make a desktop shortcut in a batch?

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

Image


Top
 Profile  
 
 Post subject: Re: Packaging a Program
PostPosted: Fri Sep 25, 2009 6:48 pm 
Offline
Persistant Poster

Joined: Fri Jun 26, 2009 10:15 pm
Posts: 701
Google Talk: FAProductions
Rian wrote:
Is it possible to make an entire installer with a batch file? I tried making a batch that created a folder in the inside the Programs folder, and then tried moving a .png file to that folder, but I couldn't get the syntax right. Is there a way to make a desktop shortcut in a batch?


http://www.msfn.org/board/lofiversion/i ... 46011.html

Maybe that thread can help you? I dunno. I didn't fully read through it.


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

All times are UTC


Who is online

Users browsing this forum: No registered users and 8 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:  
cron
Powered by phpBB® Forum Software © phpBB Group