I've recently asked if you can detect from the application if .NET is installed (so that application will not crash with a general exception fault).
The answer seems to be a plain "no". I still want to be able to exit gracefully if .NET is not installed, is there any way to do this?
Keep in mind that I don't want to change the executable name, meaning it's ok to have an unmanaged executable doing the check and a dll doing having the real .NET program but not having to executables.
Edit: I don't mean failing from the installer, there's no installer at all, just the executable. Of course it's highly unlikely for this to happen but still I'd like to be able to check it anyway.
You have two different options:
OR
And of course you could combine both for the best of both worlds.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With