Visual Basic

  1. Home
  2. Computing & Technology
  3. Visual Basic

Setup Project Deployment in VB.NET 2005 - Part I

Finishing the Install

By Dan Mabbutt, About.com

Once Framework is installed, the real setup starts. A series of generated setup dialogs do all the work, and your system is installed. The next illustration shows you the default setup user interface. You can completely customize this using the setup User Interface designer.

--------
Click Here to display the illustration
Click the Back button on your browser to return
--------

Note that the default is to create a program folder in your standard Program Files folder using "Company" from the metadata in Assembly Information. Right click the application project, select Properties, then the Application tab, and finally click the Assembly Information button.

You can now run the installed program on the target machine by opening the folder in Program Files. Here's a shot of our program running on the Windows 2000 computer.

--------
Click Here to display the illustration
Click the Back button on your browser to return
--------

You'll notice that there's a lot left to be added and refined in this basic setup. A shortcut you can reference from the Start button would be nice. The default settings does create an uninstall reference in the Windows registry so you can use Add/Remove Programs from Control Panel to delete it again. And if you try to reinstall the program after making a change, you'll discover that it won't work. (This is a "feature" not a "bug". This is default prevents programs from being overwritten when they shouldn't.) And what about all of those other "designers"? What do they do?

We'll tackle some of these refinements in the next article!

Explore Visual Basic

By Category

About.com Special Features

Visual Basic

  1. Home
  2. Computing & Technology
  3. Visual Basic
  4. Using VB.NET
  5. Setup Project Deployment in VB.NET 2005 - Part I

©2009 About.com, a part of The New York Times Company.

All rights reserved.