I have a WPF .NET 4 program that will be running off of a USB flash drive. And it is set to auto-start when the flash drive is inserted into the port. The problem is, if the customer does not have .NET 4 installed,the ugly message below pops
Title bar: MyProgram.EXE - .NET framework Initialization Error
Body: To run this application, you first must install one of the following versionse of the .NET Framework:
Contact your application publisher for instructions about obtaining the appropriate version of the .NET Framework.
This is very unacceptable. I need to present a much better message to the user as well as buttons to click that will automate the installation of the appropriate .NET framework.
How do I test if the .NET Framework is installed on the customer's computer?
I'm hoping that I don't need a separate program for this test, for then I'd have to have that program start first each and every time and if the appropriate .NET framework is present, it will start MyProgram.
View Complete Post