Click here to Skip to main content
15,885,366 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
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
Updated 18-Jan-13 6:54am
v2

1 solution

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.
 
Share this answer
 
Comments
F.moghaddampoor 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)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900