ReadRegStr $0 HKLM SOFTWARE\Microsoft\Windows\CurrentVersion VersionNumber
StrCmp $0 "" 0 +2
MessageBox MB_OK|MB_ICONEXCLAMATION "This program is for Windows 95/98/Me only"
Abort This causes the error to pop up when it should. This is good. However, the installer just quits under 95/98/Me. This is not good, as these are the only supported platforms. :weirdAny ideas as to what I may be doing wrong?