So, I have an application (tool) that uses .NET 3.0. When run on a machine that has only .NET 2.0 installed (for example, the default installation of Server 2008 R2), it fails.
What I have seen so far is that people use a shunt, which will first check the .NET version. Is there any way to create it or add some manifest so that the user is warned about this problem (and, I hope, it will be suggested to install .NET)?
I know this can be solved by the installer, but I have requirements that require it to be a standalone executable. (Well, it's hard to explain, but it is related to the device driver. The tool comes with a driver, but the user should not force .NET 3.0 to install if they do not use this tool.)
I just need to stop at the point where the critical message “failed with exception message 0xe0434f4d” and at least give the user some idea of what happened.
moogs source share