View forum topic
List of forum topicsSubject: Detect system version and refuse unsupported
My software supports Windows 7, 8, 8.1 and 10.
How can I prevent XP users to install ? Is there a way to detect the system the installer is running under, and stop installation if it is not supported ?
You can use the 'Check' command, specify unsupported Windows version and error text message there.
For example,
What to Check: Windows version
Name: 95,98,ME, NT,2000,XP,2003,VISTA
Error message: Unsupported Windows version!
Another way is to use the predefined 'oswindows' variable.
0 - Unknown, 1 - WIN 95, 2 - WIN 98, 3 - WIN ME, 4 - WIN NT, 5 - WIN 2000, 6 - WIN XP, 7 - WIN 2003, 8 - WIN VISTA, 9 - WIN 7, 10 - WIN2008, 11 - WIN2008R2, 12 - WIN8, 13 - WIN2012, 14 - WIN81, 15 - WIN2012R2, 16 - WIN10
So, you can insert If Statement command
Variable: oswindows
Comparison: Less
Value: 9
and insert Message command for showing error message and Exit/Reboot (you can specify Error message in it) inside this If Statement.
January 16, 2025 Installer CreateInstall 8.11.1 was released.
June 19, 2024 Installer CreateInstall 8.11.0 was released. read more
November 13, 2022 Installer CreateInstall 8.10.1 was released.
May 21, 2022 Installer CreateInstall 8.10.0 was released.
September 25, 2021 Installer CreateInstall 8.9.0 was released.
July 15, 2021 Installer CreateInstall 8.8.1 was released.