chloroform Posted March 24, 2004 Posted March 24, 2004 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 .
Aaron Posted March 24, 2004 Posted March 24, 2004 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
Doggie Posted March 24, 2004 Posted March 24, 2004 yeah that be right aaron i think.. as for installing on other OS's, i think its possible to install on older windows, but probably only as far as 2000
chloroform Posted March 24, 2004 Author Posted March 24, 2004 So I can check for the .NET framework. I'm gussing I can write a batch file that checks the registry and installs the needed files if the framework is absent, and then launches my C# application?
Doggie Posted March 24, 2004 Posted March 24, 2004 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.
chloroform Posted March 24, 2004 Author Posted March 24, 2004 Or ask the user if he wants to go ahead and install the framework. I'll try that, thanks .
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now