- NSIS Discussion
- detect if OpenGL and .net framework
Archive: detect if OpenGL and .net framework
Jaszbo
23rd November 2002 23:15 UTC
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.
kichik
24th November 2002 17:37 UTC
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...
Jaszbo
24th November 2002 21:57 UTC
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
Jaszbo
24th November 2002 22:16 UTC
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
Jaszbo
24th November 2002 23:08 UTC
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
mlbl
25th November 2002 05:02 UTC
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.
kichik
25th November 2002 15:34 UTC
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.
Jaszbo
26th November 2002 05:41 UTC
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
Gonzotek
26th November 2002 05:57 UTC
http://www.nullsoft.com/free/nsis/users.html
-=Gonzotek=-