Exforsys

VB.NET 2005

  1. VB.NET 2005 Free Training
  2. The .NET Framework Architecture Part 1
  3. The .NET Framework Architecture Part 2
  4. Application Class and Message Class
  5. Implementing Class Library Object
  6. Visual Studio.NET Namespaces
  7. .NET Assemblies
  8. Differences between VB.NET 1.0 and VB.NET 2.0
  9. Introducing VB.NET Windows Forms
  10. Visual Studio Windows Forms Designer
  11. Exploring the Forms Designer generated code
  12. Setting and Adding Properties to Windows Form
  13. Implementing Inheritance
  14. Event Handling In Visual Basic .NET
  15. Building Graphical Interface elements
  16. .NET Common Windows Forms Controls Part 1
  17. .NET Common Windows Forms Controls Part 2
  18. Common Controls and Handling Control Events
  19. DomainUpDown and NumericUpDown Controls
  20. Dialog Boxes in Visual Basic .NET
  21. Visual Studio Adding Controls to Windows Form
  22. VB.NET Validation Controls
  23. Working with Menu Controls
  24. VB.NET MDI Applications
  25. .NET Exceptions
  26. VB.NET Creating and Managing Components Part 1
  27. VB.NET Creating and Managing Components Part 2
  28. Simple Data Binding
  29. .NET Complex Data Binding
  30. .NET Data Form Wizard
  31. Data Manipulation with ADO.NET
  32. SQL Server Stored Procedures
  33. SQL Server Ad Hoc Queries
  34. Finding and Sorting Data in DataSets
  35. ADO.NET Object Model
  36. Working with DataSets
  37. Using XML Data
  38. Working with File System in .NET
  39. Creating Web Service
  40. Instantiating - Invoking Web Services, Creating Proxy Classes with WSDL
  41. Web Reference and Web Services
  42. Web Services - SOAP, WSDL, Disco and UDDI
  43. Web Application Testing in VB.NET 2005
  44. Web Application Tracing and Debugging
  45. Working with Legacy Code and COM Components
  46. ActiveX Controls and Legacy Code
  47. Windows Application Testing
  48. VB.NET Windows Application Testing
  49. Tracing VB.NET Windows Application
  50. Debugging Windows Applications In Visual Studio.NET 2005
  51. Deploying Windows Applications In Visual Studio.NET 2005
  52. Customizing Setup Project in Visual Studio.NET 2005
  53. Shared Assembly
  54. Microsoft .NET Creating Installation Components
  55. The Registry Editor in Visual Studio.NET 2005
  56. The File Types Editor

Ads


Home arrow Technical Training arrow VB.NET 2005

Deploying Windows Applications In Visual Studio.NET 2005

Page 1 of 2
Author : Exforsys Inc.     Published on: 3rd Aug 2005    |   Last Updated on: 8th Apr 2011

VB.NET 2005 Tutorials

Deploying Windows Applications

In this tutorial you will learn how to Deploy a Windows-based Application, Create a Setup Project, Configuring Deployment Properties, Customizing a Setup Project, File System Editor, The Registry Editor, The File Types Editor, The User Interface Editor, The Custom Actions Editor and The Launch Conditions Editor

Ads

A number of different methodologies for deploying Windows based applications have been available since the first version of Visual Basic. In this lesson we shall briefly discuss the different technologies available and the evolution of this technology leading up to the creation of ClickOnce.

Windows Forms have traditionally been deployed in two ways—using the XCOPY deployment or the Windows installer.

XCOPY deployment describes an ideal deployment scenario that enables the copying of an entire directory structure to a computer on which the program is to be run. However, the current windows applications cannot be deployed in this manner as the installation process is a multi-step one. For instance applications using COM will have to copy the component to the user machine, register it, create dependencies between the component and the registry and then activate it.

Even simple applications would require other dependencies to be defined. The CLR, which tries to overcome the problem of coupling the registry with the component, has not completely eliminated the issue of multi-step deployment. Runtime issues, such as what files are required at runtime, also retard the achievement of the ideal.

The Windows Installer service, introduced as part of the Windows 2000 addressed some of the problems of existing installation programs. It is freely available to all Win9X and NT 4 platforms and is automatically installed with a number of Microsoft applications.

It is an Operating system component that implements all the required rules of setup and creates a file called a Windows installer package file(.msi). It divides the application in terms of the product to be installed, the feature (a unit of the product) to be installed and the component to be installed. This installer can be a single file or multiple files belonging together logically. The Windows Installer package file contains a list of actions and rules that need to be applied to these actions.

The implementation rules are not a part of this package. It also provides a rich API that can be used by developers to include features (eg. On demand installing) into their applications. A drawback of the Windows installer is that installation failure leaves the user system in an unstable condition. To circumvent this problem, the Windows installer provides a rollback option which rollbacks the system to its original state. Hence the Windows installer installation is referred to as transactional.

Visual Studio Installer(VSI) was an add on to the Visual Studio 6. VS.NET provided a set of project templates that helped the user set up the application and deploy it. The setup of the application involved creation of a process that would package up the application and define the mechanics by which the application can be deployed in another machine. Deployment of the application would imply the installation process on another machine.



 
This tutorial is part of a VB.NET 2005 tutorial series. Read it from the beginning and learn yourself.

VB.NET 2005

  1. VB.NET 2005 Free Training
  2. The .NET Framework Architecture Part 1
  3. The .NET Framework Architecture Part 2
  4. Application Class and Message Class
  5. Implementing Class Library Object
  6. Visual Studio.NET Namespaces
  7. .NET Assemblies
  8. Differences between VB.NET 1.0 and VB.NET 2.0
  9. Introducing VB.NET Windows Forms
  10. Visual Studio Windows Forms Designer
  11. Exploring the Forms Designer generated code
  12. Setting and Adding Properties to Windows Form
  13. Implementing Inheritance
  14. Event Handling In Visual Basic .NET
  15. Building Graphical Interface elements
  16. .NET Common Windows Forms Controls Part 1
  17. .NET Common Windows Forms Controls Part 2
  18. Common Controls and Handling Control Events
  19. DomainUpDown and NumericUpDown Controls
  20. Dialog Boxes in Visual Basic .NET
  21. Visual Studio Adding Controls to Windows Form
  22. VB.NET Validation Controls
  23. Working with Menu Controls
  24. VB.NET MDI Applications
  25. .NET Exceptions
  26. VB.NET Creating and Managing Components Part 1
  27. VB.NET Creating and Managing Components Part 2
  28. Simple Data Binding
  29. .NET Complex Data Binding
  30. .NET Data Form Wizard
  31. Data Manipulation with ADO.NET
  32. SQL Server Stored Procedures
  33. SQL Server Ad Hoc Queries
  34. Finding and Sorting Data in DataSets
  35. ADO.NET Object Model
  36. Working with DataSets
  37. Using XML Data
  38. Working with File System in .NET
  39. Creating Web Service
  40. Instantiating - Invoking Web Services, Creating Proxy Classes with WSDL
  41. Web Reference and Web Services
  42. Web Services - SOAP, WSDL, Disco and UDDI
  43. Web Application Testing in VB.NET 2005
  44. Web Application Tracing and Debugging
  45. Working with Legacy Code and COM Components
  46. ActiveX Controls and Legacy Code
  47. Windows Application Testing
  48. VB.NET Windows Application Testing
  49. Tracing VB.NET Windows Application
  50. Debugging Windows Applications In Visual Studio.NET 2005
  51. Deploying Windows Applications In Visual Studio.NET 2005
  52. Customizing Setup Project in Visual Studio.NET 2005
  53. Shared Assembly
  54. Microsoft .NET Creating Installation Components
  55. The Registry Editor in Visual Studio.NET 2005
  56. The File Types Editor
 

Comments