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

Packaging a Program
http://web.miragesource.net/forums/viewtopic.php?f=143&t=6242
Page 1 of 1

Author:  halla [ Thu Sep 24, 2009 6:22 pm ]
Post subject:  Packaging a Program

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?

Author:  Anthony [ Thu Sep 24, 2009 7:39 pm ]
Post subject:  Re: Packaging a Program

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.

Author:  GIAKEN [ Thu Sep 24, 2009 8:16 pm ]
Post subject:  Re: Packaging a Program

You put the /s after the file name.

Author:  Anthony [ Thu Sep 24, 2009 8:52 pm ]
Post subject:  Re: Packaging a Program

Oh >.<

Fixed.

Author:  halla [ Thu Sep 24, 2009 11:11 pm ]
Post subject:  Re: Packaging a Program

Its not a game at all. Just a contract calculator made in VB6. Is there anything I need to include with that?

Author:  GIAKEN [ Thu Sep 24, 2009 11:12 pm ]
Post subject:  Re: Packaging a Program

Depends on what you use in your program.

Author:  halla [ Fri Sep 25, 2009 7:08 am ]
Post subject:  Re: Packaging a Program

I didnt add anything in at all... its pretty basic just calculations and labels and text boxes so on

Author:  GIAKEN [ Fri Sep 25, 2009 7:23 am ]
Post subject:  Re: Packaging a Program

Try to get them to run it and if they get errors, then install the runtimes...

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

Author:  Rian [ Fri Sep 25, 2009 6:36 pm ]
Post subject:  Re: Packaging a Program

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?

Author:  Matt [ Fri Sep 25, 2009 6:48 pm ]
Post subject:  Re: Packaging a Program

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.

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