VB.Net
  Home arrow VB.Net arrow Page 3 - Deploying Applications in VB.NET: Part 1/2
Dev Articles Forums 
ADO.NET  
Apache  
ASP  
ASP.NET  
C#  
C++  
ColdFusion  
COM/COM+  
Delphi-Kylix  
Design Usability  
Development Cycles  
DHTML  
Embedded Tools  
Flash  
Graphic Design  
HTML  
IIS  
Interviews  
Java  
JavaScript  
MySQL  
Oracle  
Photoshop  
PHP  
Reviews  
Ruby-on-Rails  
SQL  
SQL Server  
Style Sheets  
VB.Net  
Visual Basic  
Web Authoring  
Web Services  
Web Standards  
XML  
Mobile Linux 
App Generation ROI 
IBM® developerWorks 
Weekly Newsletter
 
Developer Updates  
Free Website Content 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us Get Paid 
Request Media Kit
Contact Us 
Site Map 
Privacy Policy 
Support 
 USERNAME
 
 PASSWORD
 
 
  >>> SIGN UP!  
  Lost Password? 
VB.NET

Deploying Applications in VB.NET: Part 1/2
By: Jayesh Jain
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: 5 stars5 stars5 stars5 stars5 stars / 256
    2002-11-03

    Table of Contents:
  • Deploying Applications in VB.NET: Part 1/2
  • What is Microsoft Windows Installer?
  • Modifying Properties (contd.)
  • Conclusion

  • Rate this Article: Poor Best 
      ADD THIS ARTICLE TO:
      Del.ici.ous Digg
      Blink Simpy
      Google Spurl
      Y! MyWeb Furl
    Email Me Similar Content When Posted
    Add Developer Shed Article Feed To Your Site
    Email Article To Friend
    Print Version Of Article
    PDF Version Of Article
     
     
    ADVERTISEMENT


    Deploying Applications in VB.NET: Part 1/2 - Modifying Properties (contd.)


    (Page 3 of 4 )

    Open the Solution Explorer, right click on the MyClockSetup project, click View and select File System to open the File System window.

    From the File System on the Target Machine, right click the Application Folder, click Add and select Project Output... . In the Add Project Output Group, select Primary output from the list of options available and finally, click OK.

    Adding a project output group

    To run the application on the target machine, we need to create a shortcut for the application on the user's desktop. To do this, right click on the Primary Output from MyClock (Active) and select Create ShortCut to Primary Output from MyClock (Active). Rename this newly created entry to MyClock and drag this entry (MyClock) to the user's Desktop in the File System on Target Machine Window.

    The screenshot below shows you what everything should look like:

    Setting our deployment project options

    Building the Deployment Project
    Open the Solution Explorer and select the MyClockSetup project. From the Build menu, select Build MyClockSetup to build our deployment project. This procedure may take a few minutes, depending upon your machine and will create a Debug folder under the MyClockSetup folder.

    Looking at Installer Files
    After the Setup Project is built without any errors, the following files will be created:
    • InstMsiA.exe
    • InstMsiW.exe
    • MyClockSetup.msi
    • Setup.exe
    • Setup.Ini
    MyClockSetup.msi is the Windows Installer file for our application. Setup.exe is the wrapper for the MyClockSetup.msi, which checks if the correct version of Windows installer is available before the application is installed.

    InstMsiA.exe and InstMsiW.exe are the Windows Installer application file(s), which are used to support different Windows platforms, such as Windows 95, Windows 98, Windows ME, Windows NT and Windows 2000.

    Make sure you distribute all of these files when you deploy your application and always run Setup.exe to install the application

    Guess what? You've finished creating your deployment application! Pat yourself on the back, and let's install our application.

    Installing the Application
    To test and run our installer, click Install from the Project menu. Alternatively, you could also start the installation by running setup.exe from the installation folder.



    Click on the Next button to continue.



    Click next and follow the Screens to install the application. Once the installation is complete, make sure that a shortcut is created on the desktop and that it correctly launches our MyClock application.

    Uninstalling the Application
    Once you have successfully installed the application, you can also uninstall it by selecting Uninstall from the Project menu. You could also uninstall the application from the Add/Remove Programs list in control panel.

    More VB.Net Articles
    More By Jayesh Jain


       · Nice intro, where's Part 2 ?
       · What a great article! Although i haven't tried it yet (but i will, maybe...
       · nice explanation and complete with satisfaction....
       · Firstly thanks for the explanation.I recently downloaded VB2008 Express Edition...
       · Thanks man, this is a great article for beginners. I have tested the procedures and...
       · Nice Explanation by the author of deploying the vb.net application but till I have...
       · I recently struggled with this.The answer is simple but very difficult to find. ...
       · Thanks for this article, Iwish u knew the great favour it did.Well done
       · i want mini application with gui example with connection Ado to VB.Net.
       · Hi this was a satisfaction guaranteed kinda article....i was searching for the same...
       · Very helpful article I must say. Thank you.
       · I too have the VB 2008 Express version.I have found that, by right-clicking on the...
     

    VB.NET ARTICLES

    - MyClass - Implementing Polymorphism in VB.Net
    - Building a News Ticker Using VB.Net
    - Everything You Wanted to Know About Forms In...
    - Building Assemblies with VB.Net
    - Simple VB.NET Notify Icon with Panel Applica...
    - Regular Expressions in .NET
    - String Encryption With Visual Basic .NET
    - Deploying Applications in VB.NET: Part 1/2
    - Watching Folder Activity in VB.NET
    - Creating A Windows Service in VB.NET
    - Implementing The Google Web Service In VB.NET
    - Migrating to Visual Basic.NET from Visual Ba...







    © 2003-2009 by Developer Shed. All rights reserved. DS Cluster 1 Hosted by Hostway
    For more Enterprise Application Development news, visit eWeek