Visual Basic Concepts

Testing Your Setup Program

After you have completed the packaging process and produced distribution media for your application, you must test your setup program. Be sure to test your setup program on a machine that does not have Visual Basic or any of the ActiveX controls required by your application. You should also test your setup on all applicable operating systems.

To test your floppy disk-based or CD-based setup program

  1. Insert the first disk or the CD in the appropriate drive.

  2. In Windows 95, Windows NT 4.0, or later systems, from the Start menu choose Run and type:

    drive:\setup
    -or-
    Double-click Setup.exe from the disk drive.

  3. When the installation finishes, run the installed program to be sure it behaves as expected.

To test your network drive-based setup program

  1. From another computer on the same network as the distribution server, connect to the server and directory containing your distribution files.

  2. In the distribution directory, double-click the Setup.exe file.

  3. When the installation finishes, run the installed program to be sure it behaves as expected.

To test your Web-based setup program

  1. Deploy your package to a Web server.

  2. Access the Web page from which your application's .cab file can be referenced. Download will begin automatically, and you will receive prompts asking you if you want to proceed.

  3. When the installation finishes, run the installed program to be sure it behaves as expected.