Home arrow C# arrow Page 5 - Creating a .NET Windows Installer – Part 1
SEARCH DEVARTICLES

TOOLS YOU CAN USE

advertisement
Creating a .NET Windows Installer – Part 1 - Creating the Windows Installer Project
(Page 5 of 14 )

You can create a Windows Installer project on its own, or you can add it to an existing solution. The latter solution is often better, because it guarantees that the source project and the setup are always conveniently linked together in the same solution. It's also the approach we use with the FontViewer application.

To start, open the existing project that requires the setup program. Right-click on the solution item in the Solution Explorer window, and choose Add New Project. Choose Setup Project from the Setup and Deployment Projects group.

Once you type in the name of the project, click OK.

You also need to configure the build options for your solution, otherwise every time you run the program from the IDE, both the source and the setup projects will be built. As setup programs typically take several minutes to build, this can be a very time consuming (and annoying) process.

To change this behavior: right-click on the solution item in the Solution Explorer, and then choose Properties. Choose Configuration Properties and clear the Build checkmark for the setup project.

Now the setup file will not be created automatically. To build it manually, right-click on the setup project and choose Build.


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#

Dev Articles Forums 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Weekly Newsletter
 
Developer Updates  
Free Website Content 
Contact Us 
Site Map 
Privacy Policy 
Support 



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