Tuesday, December 13, 2011

How to Create Installation Files in Visual Basic 6


1. Complete all development work on the program including debugging and thoroughly testing it. Then click on 'File' and within the drop-down menu, chose the option beginning 'Make,' which should include the name of your project and the type, 'EXE.'
2. Save the EXE file created with a name of your choice in a folder dedicated to holding installation files. Test the executable version by locating it in Windows Explorer and double clicking on the file.
3. Click on 'Add-Ins' within the Visual Basic program while the programming project is open. Select 'Add-In Manager' and then 'Package and Deployment Wizard' in the drop down menu. Put a check in the 'Load Behavior' section where you see 'Loaded/Unloaded' by clicking on the box.
4. Click on the 'Package and Deployment Wizard' that will now show in the list of 'Add-Ins.' Save the program again as prompted, and then select the 'Package' option, which will be the first one showing in the wizard. This creates the installation files.
5. Follow the instructions in the Wizard to select a package type, which should be a 'Standard Setup Package,' creating a setup.exe program. Click 'Next' at the bottom of this screen. Continue clicking 'Next' at each following screen after reviewing the information. This will create a default setup file.