Okay.. I got a couple of more questions.
In GetVersion they have the ability to find home edition detection (probably why i used it to begin with), is WinVer.nsh going to detect the different SKUs of Home/Vista/7 (Home/Pro/Home Basic/Ultimate/...) Is there a way to detect that?
Also, I like to detect anything below Win 95 (Windows 1.0 - 3.11). is there a way to detect < 95? (I know GetVersion does for example)
Since I know GetVersion more, is my logic below correct? How do I get the version to display in the second message?
; Give warning about Windows 7
MessageBox MB_YESNO|MB_ICONEXCLAMATION|MB_TOPMOST|MB_DEFBUTTON2 \
"The blah software has not been tested on, and is not supported on Windows 7.$\r$\n$\r$\nFoobar Industries cannot \
provide technical support for this installation.$\r$\n$\r$\nDo you still want to continue with the installation?" \
IDYES go_away IDNO done
MessageBox MB_OK|MB_ICONSTOP "Windows -version- is not supported by the blah software." IDOK ; Anything below 2000 throw error
; what about below 95 (Win 1 - 3.11)
Thanks so much!