How to package .Net framework in Visual Studio project?

Posted by raj.tiwari on Stack Overflow See other posts from Stack Overflow or by raj.tiwari
Published on 2010-04-26T22:45:17Z Indexed on 2010/04/26 22:53 UTC
Read the original article Hit count: 358

Filed under:
|
|
|

I have created a C#/.Net application using visual studio. I have also created an installer project that puts out two files:

  • An MSI file
  • Setup.exe file

In my installer project properties I have setup .Net 3.5 as a prerequisite.

What I would like my installer to do as as follows:

  • Put out a single file (MSI/exe/whatever) that also includes .Net framework prerequisite
  • The installer should check whether .Net framework is installed on the target machine. If not, it should install it from its own bundled copy.

Right now my installer sends people to the web for getting .Net. This is not the user experience I want.

Thanks for your help.

-Raj

© Stack Overflow or respective owner

Related posts about visual

Related posts about studio