Running the Setup Wizard

Creating a Setup Application

In this exercise, you will use the Visual Basic Setup Wizard to create a setup application.

* To create a setup application

  1. Start the Visual Basic Application Setup Wizard.
  2. The Introduction dialog will appear, click Next .
  3. Click Browse and locate the following project file:
     c:\Program Files\DevStudio\VB\samples\PGuide\calc\Calc.vbp 
  4. Select Rebuild the Project and click Next .
  5. Select Single Directory distribution method and click Next .
  6. Locate the folder, WA\Practice\Ch12\Setup and click Next .
  7. There are no ActiveX Server Components. Click Next .

    The Application Setup Wizard will determine which files are required for distribution.

  8. Review the File Summary and click Next .
  9. Click Finish to create the setup application.
  10. Click OK when finished.
* To test the setup application
  1. From the Windows 95 desktop, open My Computer .
  2. Double-click Setup.exe in WA\Practice\Ch12\Setup .
  3. The Calc Setup dialog will appear. Close any applications and click OK .
  4. Review the default directory and click the installation icon.
  5. Click OK when finished.
  6. From the Windows 95 Programs group , click Calc .

    This starts the Visual Basic calculator sample program that was installed with Visual Basic 5.0

  7. Close the calculator program.
* To uninstall the calculator application
  1. Open the Windows 95 Control Panel.
  2. Double-click Add/Remote Programs .
  3. Select CALC and click Add/Remove . Click Yes when prompted.
  4. Click OK when finished.
  5. Notice the Calc entry has been removed from the Windows 95 Programs group.


Microsoft Windows Architecture Training
Microsoft Windows Architecture for Developers Training Kit
ISBN: B00007FY9D
EAN: N/A
Year: 1998
Pages: 324

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net