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

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
TABLE OF CONTENTS:
  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
SEARCH DEVARTICLES

Creating a .NET Windows Installer Part 1 - The Setup Designers
(Page 6 of 14 )

When you create a setup project, Visual Studio .NET provides you with several different designers, each of which can be used to configure one aspect of your setup program. To see all the designers that you can use, right click on the solution item in the Solution Explorer, and select View.

  • The File System designer allows you to copy files to the destination computer. You can use a pre-defined directory, or one of several "recognized" directory options.
  • The Registry designer allows you to add new keys and values to the destination computer's registry.
  • The File Types designer allows you to register a document extension with your application (so that double-clicking the document launches the program automatically). These settings could be set through the Registry designer, but it would involve more work.
  • The User Interface designer allows you to tweak the default user interface (which is provided automatically) or add your own custom dialogs.
  • The Custom Actions designer allows you to link to another program, which will launch at the end of the setup to perform extra configuration.
  • The Launch Conditions designer allows you to specify special conditions that must be met in order for a setup to run.

You can also set some basic options like Author, Manufacturer, ManufacturerURL, Title, ProductName, and Version from the project properties window. Most of these are descriptive settings used in the setup wizard or other Windows dialogs, like the Support Info window (which can be launched from the Add/Remove Programs window). You can also set the icon that represents your program in the list of currently installed applications (AddRemoveProgramsIcon).


blog comments powered by Disqus
C# ARTICLES

- 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 
Support 

Developer Shed Affiliates

 




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