Brian Stoop said:
If .NET is not installed my console application pops up "the application
failed to initialize properly" dialog.
Can I programatically tell if .NET is installed, and pre-emp this message
with my own ?
My guess is that if you wrote that test code as .NET managed one, the
machine should already have .NET installed for that code to be able to run.
I think in order to test if .NET is installed, one should write an external
native application that checks this somehow (maybe looking in the registry,
or trying to run a .NET utility that returns the version of .NET) and
somehow always run that before running the actual .NET console application.
But this is only a guess, maybe I am missing something so don't take what I
said for granted.