Search | Contact | Link To Us  


      VB .NET       

.NET Defined
OOP with VB
VB Language
Win Forms
Windows Controls
ADO .NET
User Controls
File Handling
Multithreading
Deployment
XML Web Services Essential XML
Resources
Discussions
ASP.NET
About



Advertisement

visual basic, deploy visual basic.net, .net deployment, deploying .net applications, .net languages, microsoft .net, .net assemblies, .net controls, microsoft languages, programming, progrmmaing .net, programming vb.net, compiling assemblies, compile .net applications,programming visual basic.net








     Home> Deployment> Part2


Deploying Applications

Deploying the Application

To deploy the application we need to copy Setup1.msi file to the target machine. Once copying is done,
double-click that file which opens the Windows Installer which is a new window which says "Welcome to Setup1 Setup Wizard". It looks like the image below (mine was Setup7, yours will be Setup1).

Click next to move to next window which allows us to specify the location where the application should be installed. It looks like the image below.

Select the location for installation and click next. Clicking next installs the application. The confirmation window looks like the image below.

Now, double-click the newly installed Deployment.exe file to run and get the desired result. You can select that from your Programs Menu or Desktop. That completes the process of Deploying Applications.

Make sure the Target Machine on which the application will be installed supports Windows Installer and .NET Framework.

XCOPY Deployment

In addition to the deployment tools included in Visual Studio .NET there are other alternative methods for deploying applications. In most cases, the deployment tools provide more robust installation. For some simple cases the alternative methods may be adequate.

XCOPY-deployment enables applications to be deployed to client machines simply by copying files into the desired application directory. With this method no complicated setup scripts or interactions with the system registry are required. In addition, the auto-downloading of applications for Windows makes the deployment of rich Windows-based applications as easy as deploying a Web page.

Xcopy Command

The DOS Xcopy command is a simple way to copy a project or application from one location to another. But it is recommended that you deploy your project rather than using Xcopy. The Xcopy command does not register or verify the location of assemblies. More importantly, using Xcopy to deploy an application will not take advantage of Windows Installer features, making it possible to overwrite files that could cause other applications to break.

To see the command-line syntax and options for the Xcopy command, type Xcopy /? in the Visual Studio command-prompt window.

Related: DLL Hell

  Privacy Policy | Terms of Use | Site Map | Contact

  © 2004-2010 Startvbdotnet.com. All rights reserved.