Archive: detect if OpenGL and .net framework


detect if OpenGL and .net framework
Is there a way to detect if OpenGL is installed and if not it will automatically install the files needed.

Also is there anway to detect for .net framework? I know that ms installer will check if there is .net installed and if not it will run dotnetfx.exe, but I would like any way to detect if .net is installed and if not it will run this app. So when I compile .nsi I would include the dotnetfx.exe. I just have no clue on how to do this and would appreciate any help.


This page should help you with .NET:
http://msdn.microsoft.com/library/de...otnetfxref.asp

I don't quite understand what files exactly you want for OpenGL... AFAIK every graphics card has different OpenGL drivers, and you can't just driver that will handle them all. There is a program that comes with Q3A that is supposed to install the latest OpenGL drivers for you. It's called GLSetup, but it's pretty much dead now, last news item on their website is from September 17th, 2001...


your right most will have opengl already, but in case they don't. I would like to install
you can go to opengl.org and download the files. They are to be extracted into your system directory.
I'll looking at the post you posted about .net now


thanks for the link. I just wasn't able to get anything done though. I mean unless I used their installer, but I would pefer to use NSIS


sorry for being a pain, but I'm a college student that's working on a project that's due in a few weeks. I have 120 page paper on groups project and I wrote 10 pages on the benifits of NSIS. So I have to get this to work.
I found out that I can do a silent install, which will install and then do a check, so if there's a way I can include this it would be nice

dotnetfx /q:a /c:"install /q"

Just not sure how I would put this in the nsi
thanks again


Originally posted by Jaszbo
sorry for being a pain, but I'm a college student that's working on a project that's due in a few weeks. I have 120 page paper on groups project and I wrote 10 pages on the benifits of NSIS. So I have to get this to work.
I found out that I can do a silent install, which will install and then do a check, so if there's a way I can include this it would be nice

dotnetfx /q:a /c:"install /q"

Just not sure how I would put this in the nsi
thanks again
Try doing a check to see if the windows\Microsoft.net\framework directory exists...if it doesn't then run the dotnetfx /q:a /c:"install /q" command.

To execute a program use Exec, ExecWait or nsExec (only with the latest version from the CVS).

For example:
ExecWait '"$INSTDIR\MyProg.exe" bla.blo'

I wrote 10 pages on the benifits of NSIS. So I have to get this to work.
Any chance we'll get to see it? :D

And about OpenGL, quoted from the download page on OpenGL.org:
You do need an OpenGL hardware driver for your particular 3D hardware accelerator board.

thank you both for the help
it seems to be working great now.
just have to finish other things on the project now. One more question. Does anybody have a list of popular software that uses NSIS? I would like to add it in my documentation for the project
thanks again


http://www.nullsoft.com/free/nsis/users.html

-=Gonzotek=-