Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: C#
Dear friends how can we install .Net framework 4.02 Silently using c# and i need it programatically. I think Sql server localdb 2012 needs this package to be installed And it can't make connections without it.
 
suppose i have written a mixe installer. the first installer instals .net framework 4, and then after a restart it runs an exe file that instals .net framework 4.02 update.
Posted 18-Jan-13 6:12am
Edited 18-Jan-13 6:54am
v2

1 solution

Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

You don't. If your code is compiled against .NET 4.0, your C# code won't be running because the .NET 4.0 isn't installed.
 
These are the command lines[^] to install the .NET Framework.
 
You'll especially want to read this page[^] on the options for installing .NET 4.0.
  Permalink  
Comments
F.moghaddampoor at 18-Jan-13 12:53pm
   
suppose i have written a mixe installer. the first installer instals .net framework 4, and then after a restart it runs an exe file that instals .net framework 4.02 update.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
0 Sergey Alexandrovich Kryukov 547
1 ChauhanAjay 170
2 CHill60 130
3 Maciej Los 125
4 RyanDev 108
0 Sergey Alexandrovich Kryukov 9,735
1 OriginalGriff 6,989
2 CPallini 5,825
3 George Jonsson 4,017
4 Gihan Liyanage 3,266


Advertise | Privacy | Mobile
Web04 | 2.8.140926.1 | Last Updated 18 Jan 2013
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100