Setup.VBP

The Setup sample is the source used to create the setup.exe that the 
Application Install Wizard uses when it creates setup programs for your 
Visual Basic for Windows CE Applications.  

This is not a Windows CE Project, but a Standard EXE project for Visual 
Basic 5.0. It is provided here for your use, should you wish to customize 
your setup programs.  

The following changes were added by Mike Dixon - mike@vbce.com

+ The Startup object is Sub Main in Setup.bas to facilitate setup.ini check
+ Forms now have icons
+ Forms are now non-sizable (no need for this)
+ Main form now shows in the taskbar
+ Added improved setup bitmap
+ Compiled Setup.exe includes a disk icon instead of VB's form Icon
+ Creates multiple nested subdirectories for custom user directory
+ Checks for the existence of setup.ini on startup
+ Checks for the existence of the Windows CE 2.0 Application Manager
+ Fixed code where a "\" was added to paths even when it was already there
+ Copies the files with a very accurate status bar showing the percent of 
  the files copied, including the percent of each file as it is copied
+ The project file now does NOT contain references to the Microsoft DAO 3.5 
  Object Library, COMDLG32.OCX, COMCTL32.OCX, SHDOCVW.DLL, and COMCT232.OCX

+ Corrected a bug that does not allowed to copy multiple CAB files

USAGE NOTES:
1) Create your setup using the Windows CE Application Install Wizard. This will produce the following files in a folder called "CD1" below the directory you choose with the Wizard:
 - msvbvm50.dll
 - Various .CAB files (depending on the processors, controls, and files you choose)
 - Setup.exe
 - Setup.ini

2) Compile the setup project included in this zip file, REPLACING the setup.exe in the CD1 folder.

3) REPLACE the msvbvm50.dll in the CD1 folder with the version of msvbvm50.dll that you are currently developing with VB5. The one that the wizard places in the CD1 folder is the original VB5 msvbvm50.dll, and if you are compiling with any later versions from service packs the setup.exe will not run if the msvbvm50.dll in the CD1 directory is an earlier version.