VB6 program becomes an installer (How?)


Follow the following steps to create the installer for ur project. but before trying this make sure that u have created the executable(.exe) for ur project. hope u know how to create that.

1.close ms vb6.0 ide
2.click start>-programs->microsoft visual studio 6.0->microsoft visual studio 6.0 tools->package and deployment wizard
3.click browse to locate ur project file(.vbp)
4.click package
5.click yes to start the recompilation process
6.in package type select standard setup package and click next
7.select the destination where u want to create the package folder for ur project.this folder will contain all the supported and main application files required to install ur apps in some other client machine.
8.click yes to create the folder if it doesn't exist and click next
9.the next list that will come will display all necessary files to build the setup.click add to insert some other files from ur project to the said list.if u any access database file,click this button,locate ur db file and click open to add the file to the list.this list will also help u to remove any unnecessary files that u donot wish to install in the target machine with apps.u can also add help files(if any) for project from this option.but do not ever try to remove the .dll,.ocx,.lib or .exe files.click next
10.if u want ur setup becomes a standalone package select single cab otherwise if u want part installer then select multiple cab.if u select the 2nd option u have mention the size of the floppy disks.then the wizard will ask u insert the floppies one after another.i will recommend u not to use this option.click next
(if u see any shared files box or dependency information box just skip that)
11.insert a title for the installer and click next
12.in the next screen adjust the menu apperance the setup will create for u.this will become the startmenu shortcuts for ur apps.
13.click next->click next
14.in the script name box u do not require to enter anything but do not erase the default text.
15.click finish to build the installer.
16.click close->click close

after the installer is created just goto the package folder and there u will find a file "setup.exe".double click that to run the installer.

Hope u will like this.

Jed

Comments