I have managed application targeted for .NET Framework 3.5.
I need it to display messagebox with some text and download link if user don’t have the framework installed.
What is the right and simple way to do this?
So far I see nothing better than writing native bootstrapper that will check presence of the framework and show messagebox otherwise.
You can use the registry to check about .net framework and it’s version
Ref:
How to determine which versions and service pack levels of the Microsoft .NET Framework are installed
Edit: Check this answer on SO thread How do I tell if .NET 3.5 SP1 is installed?.