Home arrow C# arrow Page 9 - Creating a .NET Windows Installer Part 1

Creating a .NET Windows Installer Part 1

In this article, Matthew MacDonald considers how to use VS.NET to build a simple setup program for a .NET desktop application.

Author Info:
By: Wrox Team
Rating: 4 stars4 stars4 stars4 stars4 stars / 118
March 06, 2003
  1. · Creating a .NET Windows Installer Part 1
  2. · Article
  3. · Introducing the Windows Installer Service
  4. · The Sample Project
  5. · Creating the Windows Installer Project
  6. · The Setup Designers
  7. · Adding Files, Project Outputs, and Shortcuts
  8. · Support Files and Project Outputs
  9. · Shortcuts
  10. · Customizing the User Interface
  11. · Abstract
  12. · Article
  13. · Introducing the Windows Installer Service
  14. · The Sample Project

print this article

Creating a .NET Windows Installer Part 1 - Shortcuts
(Page 9 of 14 )

You can also add shortcuts. Typically, you will create these in the Desktop folder, the StartUp folder, the user's Favorites folder, or (most commonly) an application-specific sub-directory in the Programs menu.

To create a shortcut for the FontViewer application, you should follow these steps:

  1. Add the shortcut icon to the setup project.
  2. Create a folder for the application in the Programs menu (in this case, we call it FontViewer).
  3. Right-click on the new folder and select Create New Shortcut . A special window will appear prompting you to choose one of the files in the setup as the shortcut target.
  4. Once you choose the target, the shortcut will be added. You can rename it, and configure additional options using the Properties Window.

At this point, you have a fully functional simple setup. You can build it to a single .msi file, and use it to install the FontViewer application. A very simple interface will be used that provides a generic "welcome" window, prompts for a destination, shows a progress bar as it copies files and shortcuts, and ends with a generic message. You'll see how to modify some of these elements in the next section.
blog comments powered by Disqus

- Introduction to Objects and Classes in C#, P...
- Visual C#.NET, Part 1: Introduction to Progr...
- C# - An Introduction
- Hotmail Exposed: Access Hotmail using C#
- Razor Sharp C#
- Introduction to Objects and Classes in C#
- Making Your Code CLS Compliant
- Programming with MySQL and .NET Technologies
- Socket Programming in C# - Part II
- Socket Programming in C# - Part I
- Creational Patterns in C#
- Type Conversions
- Creating Custom Delegates and Events in C#
- Inheritance and Polymorphism
- Understanding Properties in C#

Watch our Tech Videos 
Dev Articles Forums 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us 
Weekly Newsletter
Developer Updates  
Free Website Content 
Contact Us 
Site Map 
Privacy Policy 

Developer Shed Affiliates


© 2003-2019 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap
Popular Web Development Topics
All Web Development Tutorials