detecting no ".net framework" prior to install [RESOLVED]
I searched for this but didn't find anything. How do you scan the target computer to see if the .net framework is installed before the user can install your software? And if it's detected as not being there, is there an .exe to include when you deploy your application?
I thought the included installers in VS.NET could detect, but I'm not sure how to use them. If you wanted to, you could create an executable in C++ that checks for the .NET framework directories and if they don't exist, download it. That may be more trouble for you than it's worth (since you may not know C++). I'll let someone else give you a different answer for that.
Well if the installer was built in VS.NET, the framework would have to be on the computer for it to work, which defeats the purpose of what you are trying to accomplish.
Originally posted by DevGrp Well if the installer was built in VS.NET, the framework would have to be on the computer for it to work, which defeats the purpose of what you are trying to accomplish.
I was talking about the Installers VS.NET comes with, which don't use the .NET framework themselves.
Originally posted by DevGrp Well if the installer was built in VS.NET, the framework would have to be on the computer for it to work, which defeats the purpose of what you are trying to accomplish.
Also installshield is able to detect and install the framework.
well, that's what I'm saying. If a user installs my app that I wrote in .net, they can't use it until the framework is installed. What I need to be able to do is check that the framework is there and if not, have it prompt to install it from my cd (or whatever meda) or maybe even prompt to connect to windows update etc, etc....
Some programs do this but I don't know what method is used to check.
I think I've tried it before, works fine. I think I used InnoSetup and had the DotNetFix file, and used this bootstrapper thingie
rate my posts if they help ya!
Extract thumbnail without reading the whole image file: (C# - VB)
Apply texture to bitmaps: (C# - VB)
Extended console library: (VB)
Save JPEG with a certain quality (image compression): (C# - VB ) VB.NET to C# conversion tips!!
Originally posted by Phenglai I wrote an autorun program in C++ that detects for the framework. It just reads through the registry and looks for the entry for the framkework.
I can send you the code if you are interested.
that'd be great. That's what I'm actually after. When the user doesn't have it installed, I want to give a choice of wether or not they want to install it.(some people don't)
I just got to work this morning. Give me a bit to remove some of the stuff in the code so it becomes generic. I will try to have it up here by this afternoon
Here it is. I stripped out the stuff that is for my employer. I dont think I took out anything that will stop it from not working. If it does not work, let me know. If you need any help, let me know.
I am not that great at C++. But I did get this to work.