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 OriginalGriff 205
1 Sergey Alexandrovich Kryukov 185
2 jlopez788 144
3 Rob Philpott 100
4 Prakriti Goyal 97
0 OriginalGriff 6,837
1 Sergey Alexandrovich Kryukov 5,559
2 Maciej Los 3,479
3 Peter Leow 3,323
4 DamithSL 2,505


Advertise | Privacy | Mobile
Web04 | 2.8.140721.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