You can modify the Setup1.vbp project if you want to add new screens, prompts, or events to the installation sequence created by the Package and Deployment Wizard. You write code in the setup program just as you would in any other Visual Basic program. A number of function calls are available that are especially useful in setup routines.
Some examples of situations in which you might modify the Setup Toolkit project include:
Important Because the Package and Deployment Wizard uses the files in the Setup Toolkit project, you should always make a backup of the project before making any changes. In addition, you should back up the full contents of the Setup1 directory.
To modify the Setup Toolkit project
Important Any time you create a package, using either the Package and Deployment Wizard or the Setup Toolkit project, you should be sure that the version numbers for your project have been set on the Make tab of the Project Properties dialog box in Visual Basic. This is especially important if you are distributing a new version of an existing application — without the appropriate change in version numbers, the end user's computer may determine that critical files do not need to be updated.