Windows Develop Bookmark and Share   
 index > ClickOnce and Setup & Deployment Projects > Creating an installer for a C# application
 

Creating an installer for a C# application

I've created a C# application that I want to deploy across multiple machines. Simple enough except for the fact that I need to make sure that .NET 3.5 is installed on the users machine, and if not, have it install silently. All the guides I found talked about how to create a distributable C# app installer but not how to install the .NET framework along with it.

Could anyone give me an Idea of how to do this? I was considering wrapping the whole program in a C++ block (since c# can't run without .NET installed) that, if the .NET framework wasn't installed, would direct them to the download site. I want to make this program as simple to use/install as possible however, and this would defeat that goal. The work involved wouldn't be worth it either if there is an easy way to build an installer package for .NET and my C# program.

Any help is greatly appreciated, Thanks.
  • Moved byOmegaManMVPWednesday, July 15, 2009 4:54 PM (From:Visual C# General)
  •  
Gary Oak  Wednesday, July 15, 2009 3:25 PM

Hi �I think my information can help:

I’ve answered such question before, check-out this thread: http://social.msdn.microsoft.com/Forums/en-US/csharpgeneral/thread/0effb67d-1d63-45b1-b3ff-068eb0a7a62e

I hope this information was helpful�

Have a nice day�br/>
Best regards,
Fisnik

Feedback
If you have any feedback, please tell us.
Send us any feedback you have about the help from MSFT at
fbmsdn@microsoft.com.


Coder24.com
Coder24.com  Wednesday, July 15, 2009 3:35 PM

Hi �I think my information can help:

I’ve answered such question before, check-out this thread: http://social.msdn.microsoft.com/Forums/en-US/csharpgeneral/thread/0effb67d-1d63-45b1-b3ff-068eb0a7a62e

I hope this information was helpful�

Have a nice day�br/>
Best regards,
Fisnik

Feedback
If you have any feedback, please tell us.
Send us any feedback you have about the help from MSFT at
fbmsdn@microsoft.com.


Coder24.com
Coder24.com  Wednesday, July 15, 2009 3:35 PM
Awesome, thanks alot!
Gary Oak  Friday, July 17, 2009 12:44 PM

You can use google to search for other answers

Custom Search

More Threads

• Adware?
• Framework and Windows Installer not present
• Visual Studio2005 Application doesn't run on a normal .NET 2.0 PC
• exclude office.dll from application files, but still in manifest
• Event to run on a timer
• Error trying to install (only on one machine)
• need to copy files to the system32 folder.
• How to install 3rd party dll and register with reg.bat file?
• How to install a file without showing it
• ClickOnce application won't start