Jump to content

Checking for .NET framework ....


Recommended Posts

I was wondering if there was a way to make an installer for C# applications that would check and see if the .NET framework was installed, and installs if it's not present? Also, can the framework be installed on earlier versions of Windows (before 2k)? Thanks :).

Link to comment
Share on other sites


I'm no good with programming, but it should be possible to check the existance of .NET Framework by programming your installer to check in:

Registry: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\NET Framework Setup\NDP\v1.1.4322

Folder: %systemroot%\Microsoft.NET\Framework\v1.1.4322

Link to comment
Share on other sites

i guess you could, all i'd actually suggest is when u run your program, if it cant find the Latest .NET framework registry key or keys, make it popup with a message box "Unable to continue without .Net Framework" and make it kill the app.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...