hopefully this can be fixed in the next .net release... .net progs ran on a system sans the framework report an initilization error and give some address. i dont know why it doesnt explain that the user needs to install the .net framework..
Printable View
hopefully this can be fixed in the next .net release... .net progs ran on a system sans the framework report an initilization error and give some address. i dont know why it doesnt explain that the user needs to install the .net framework..
I agree that the error code sucks. I was thinking about writing a small exe in C++ or something that checks for the framework, and if it is installed, start the real install of the app. If the framework isn't there, then give a real message to the user explaining how to get it.
Of course, I just haven't got around to it yet.
If anyone has tried downloading the asp.net forums source code they have a page that will tell if you have the framework installed and what version. You could use the same principal seeing as a webpage does not require the user to have the framework.
Also setup projects for .net apps can include a check for the redistributable and not install if it isn't on the machine. I don't know what message it shows if you don't have it.
The MSDN has a "bootstrap" C++ example that does just that. Poke around and you'll find it if you want a headstart or a time saver :-DQuote:
was thinking about writing a small exe in C++ or something that checks for the framework, and if it is installed, start the real install of the app. If the framework isn't there, then give a real message to the user explaining how to get it.
[edit] here it is http://msdn.microsoft.com/downloads/...mpositedoc.xml [/edit]