We're a community of 1.1M IT Pros here for help, advice, solutions, professional growth and fun. Join us!
1,080,453 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Start New Discussion Reply to this Discussion

How to make .Net Framework automatically install?

Hi guys, I created an application in C#, which requires .Net Framework 4.0 (Not the client profile)

I created a Setup project for my application, since it has to be installed on a very big number of computers, some of which may have not access to the internet. Moreover, I don't want to install dotNetFx40_Full_setup.exe manually, so how can I "embed" this installer in my application's installer?

p.s.: I tried putting the exe file in the debug folder of the setup project before the debug, it didn't work.

and I appreciate a quick help. I need it today or tomorrow.. Thanks in advance..

4
Contributors
4
Replies
2 Days
Discussion Span
1 Year Ago
Last Updated
5
Views
staticclass
Newbie Poster
9 posts since Feb 2011
Reputation Points: 8
Solved Threads: 0
Skill Endorsements: 0

Go to your Properties of the Project (in solution explorer right mousr click on your project name).
It will open a new tabPage of Properties. Go to "Publish" tab. Now select all the prerequisites you want to install. And ot the bottom select when (how) you want them to be installed.
You can select them to be installed from the internet, or from th application. If you select the last, you have to put all these prerequisites into your application folder.
This ia aobut it.

Mitja Bonca
Posting Maven
2,561 posts since May 2009
Reputation Points: 642
Solved Threads: 486
Skill Endorsements: 15

I've worked with ClickOnce deployment.. very veryy useful and simple to use especially when releasing various versions to spread to different clients.

http://msdn.microsoft.com/en-us/library/t71a733d%28v=vs.80%29.aspx

jfarrugia
Junior Poster
113 posts since May 2011
Reputation Points: 17
Solved Threads: 17
Skill Endorsements: 0

When you create installer for your application using setup project,

Click "Add prerequisites" and check Dotnet framework 4...
And below check the radio button to get the dotnet framework from the same folder..

Hope you understand, Orelse reply ...

samueal
Junior Poster
111 posts since Apr 2011
Reputation Points: 18
Solved Threads: 16
Skill Endorsements: 0

thanks guys, I understood the issue,

but exactly which folder will I put the dot net framework installer?

staticclass
Newbie Poster
9 posts since Feb 2011
Reputation Points: 8
Solved Threads: 0
Skill Endorsements: 0

This article has been dead for over three months: Start a new discussion instead

Post: Markdown Syntax: Formatting Help
 
You
View similar articles that have also been tagged:
 
© 2013 DaniWeb® LLC
Page generated in 0.0625 seconds using 2.64MB