|
After successfully created a VB
program, you might want to market your product, either online or
offline. This means that you need to create a package that can
be distributed to your potential customers. The package created
can be distributed using CD ROM, diskette or the Internet. The
package will allow the user to install the program to install in
the computer with the standard setup routine.
To create the distributable
package, you can use the Package and Development Wizard that
came with Visual Basic 6. The main purpose of this wizard is to
create a setup program that can be used to install the
application. Off course, it also does many other jobs like
compiling your application and compresses the files for easy
distribution.
When you start the Package and
Development Wizard, you will be presented with the following
dialog box:

First of all, you need to select
the project you want to package. Here I have selected the
starwar.vbp project. Next, you need to select one of the three
options. Here, I suggest you select the first option to let the
wizard create the installation package for you to
distribute it using CD ROM or the Internet.
Once you click the package option,
you will see the following dialog box where you are asked to
choose a packaging script:

.....continue
on the right
|

After you click next, you will see the following
dialog box where you will be asked to choose a packaging type. Normally we
choose the Standard Setup Package.
The next dialog box that shows
up will ask you where to store the package, as shown below:
The next dialog box will show you the files that
will be included in the package. When you
click the Finish button, the package will be created and ready for distribution.
Here is the packaged files for the starwar program for download at
Setup.exe
SETUP.LST
starwar5.CAB
You must download all the three files into a
folder and then run the setup program. |