PDA

Click to See Complete Forum and Search --> : Necessary files to run?????


Nida
Mar 14th, 2006, 07:52 AM
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???

RhinoBull
Mar 14th, 2006, 07:57 AM
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

the182guy
Mar 14th, 2006, 08:33 AM
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.

MartinLiss
Mar 14th, 2006, 10:50 AM
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

penagate
Mar 15th, 2006, 04:37 AM
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.

randem
Mar 21st, 2006, 05:40 PM
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