|
-
Mar 14th, 2006, 08:52 AM
#1
Thread Starter
Lively Member
Necessary files to run?????
i want to make my own setup program in vb6. this program will also required
some necessary files to run on another machine tell me what have i do???
-
Mar 14th, 2006, 08:57 AM
#2
Re: Necessary files to run?????
 Originally Posted by Nida
i want to make my own setup program in vb6. ...
Not sure what that means - do you want to package your program or you want to write new utility to build distribution packages?
- if first then use Package & Deployment Wizard (aka P&DW) that comes shipped with VB for ages (or whatever else you might have)
- if second then take a look at Setup1.vbp sample project (comes with VB as well) - P&DW is based on it; default location is as follows:
C:\Program Files\Microsoft Visual Studio\VB98\Wizards\PDWizard\Setup1
-
Mar 14th, 2006, 09:33 AM
#3
Re: Necessary files to run?????
you wil have to pack all of the files into your setup app which is difficult, it would be much easier to use the 'Package and deployment wizard' which you can build a setup application which will unpack all of the files, and its very fast and easy to use.
-
Mar 14th, 2006, 11:50 AM
#4
Re: Necessary files to run?????
And you may not realize it but the Package & Deployment Wizard is a VB program and so you can modify it however you see fit. You can find the project in
C:\Program Files\Microsoft Visual Studio\VB98\Wizards\PDWizard\Setup1\Setup1.vbp
-
Mar 15th, 2006, 05:37 AM
#5
Re: Necessary files to run?????
The P&D Wizard uses a primer (setup.exe), presumably written in C, that installs the VB runtime and does the actual unpacking of installation files. It then loads Setup1.exe which allows for customisation of the installation process.
If you were to write your own installer from scratch in VB it would require the VB runtime files and so would not be able to install on computers lacking the runtime library.
-
Mar 21st, 2006, 06:40 PM
#6
Re: Necessary files to run?????
Nida,
Why would you want to re-invent the wheel when there are several good wheels around???? (A Round...LOL).
http://www.vbforums.com/showthread.php?t=315829
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
|