How to avoid error messagebox if .net is not installed on client system
I have a C# application which request .net 2 on client system. I like to replace the error message box in case if .net2 is not detected with ruuning an executable program which I开发者_Go百科 have a written how do not request .net2.
Edited a solution can be found at url
What would be the point of hiding the error message? Now your customer (nor you) would not have any clue at all why your program won't run. A friendlier error message still doesn't solve the problem. Include the .NET bootstrapper in your setup program so this just won't happen.
You'll have to run a native app first to check if it's installed and if so you start the .Net app otherwise your other native app.
精彩评论