check if .net framework is not installed
-
hello, I am creating an application in .NET I want the application to display a message to inform the user that the .net framework should be installed instead of saying there is a missing dll when the user tries to run the application
-
hello, I am creating an application in .NET I want the application to display a message to inform the user that the .net framework should be installed instead of saying there is a missing dll when the user tries to run the application
You can simly use the .NET bootstrapper ,it will check if the .NET is installed and, if so it will install youe application ,otherwise it will install the .NET frmaework by it self and after installing it will start your application installation immediatly. http://msdn.microsoft.com/vstudio/downloads/tools/bootstrapper/default.aspx[^].
-
hello, I am creating an application in .NET I want the application to display a message to inform the user that the .net framework should be installed instead of saying there is a missing dll when the user tries to run the application
Your requirements are self excluding. You can't create a .NET application that checks to see if the .NET Framework is installed. It HAS to be installed before you launch your application, otherwise, how is it going to launch in the first place? You have two options. 1) Your installer must handle installing the .NET Framework required by your application. 2) You write a launcher application in Visual C++ (not Managed C++!!) that checks for the existance of the correct version of the .NET Framework, then if found, launches the real application, and if not, puts up a dialog telling the user to install the correct version of .NET. Option #1 is MUCH easier to deal with. RageInTheMachine9532 "...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome