Categories: MSDN / DotNet / Java / Scripts / Linux / PHP Ask - La ask - La Answer

First C++ Application - Need Lots of Help!

I need to get an app written that will check if the user has the .NET Framework 2.0 or higher installed. If they do not, It will need to start the installer for it, once the installer finishes check again to make sure it was successful, then it needs to start up my .NET application then exit. I hope this will end up being simple, especially since there is no need for a GUI. I have no clue where to start so I need alot of help, or someone to make it for me would be nice too...lol :D
[489 byte] By [RyanB88] at [2007-11-11 10:04:47]
# 1 Re: First C++ Application - Need Lots of Help!
You can use any of several install shield building programs that are free to perform this task. You will need the installer for .net on hand and your application, then just bundle them up and the installer will do the work for you.
jonnin at 2007-11-11 20:59:27 >
# 2 Re: First C++ Application - Need Lots of Help!
You can use any of several install shield building programs that are free to perform this task. You will need the installer for .net on hand and your application, then just bundle them up and the installer will do the work for you.

yeah right, any free installer is way to basic to allow for what i need hence I need to write my own app
RyanB88 at 2007-11-11 21:00:27 >
# 3 Re: First C++ Application - Need Lots of Help!
Then youll need to read the registry to determine if it is installed, and if not, use shellexecute to pop the installer. If it is installed, execute normally. They need to reboot anyway after this install, so you dont have to cover the case of install and then run after that.
jonnin at 2007-11-11 21:01:30 >
# 4 Re: First C++ Application - Need Lots of Help!
this do all :
http://astebner.sts.winisp.net/Tools/detectFX.cpp.txt

and this is the original topic and solutions givien from micro$oft :
http://support.microsoft.com/kb/315291
Amahdy at 2007-11-11 21:02:36 >