|
|
#1 |
|
Senior Member
|
deny all operating systems except for a few
Hello,
I recently wrote asking how do I deny OS's. However, after talking with a few people and more scenarios occurred to us. All these what-ifs. So I would like the installer to FAIL for EVERY OS, but ALLOW a few... my pseudo code is as follows: (this is be rather phpish/crap) Function .onInit switch ($operatingSystem) { case "Windows 2000"; // all editions goto success; break; case "Windows XP" // only pro version GetVersion::WindowsType if $R0 == "Home" goto failure; else; goto success; break; case "Windows 2003"; // all editions goto success; break; default: goto failure; ... function failure msgbox "your $os is not supported. please call 1-800-555-5555 for additional support." ... pretty much 95,98,me should fail...so should vista all editions, and i dont know but XP 64-bit should fail too. thanks for any help you can offer me :-) |
|
|
|
|
|||||||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|