Jump to content


This is a ready-only archive of the InstallSite Forum. You cannot post any new content here. / Dies ist ein Archiv des InstallSite Forums. Hier können keine neuen Beiträge veröffentlicht werden.
Photo

Prevent installation if not 2K/XP


2 replies to this topic

rhoward99

rhoward99
  • Members
  • 1 posts

Posted 11 February 2003 - 21:49

In the "Project Settings" dialog, "Platforms" tab, I select Windows 2000 and Windows XP as the target platforms for my setup, and all file groups have been set to XP/2K.

However, the setup still runs on a 9X platform.  What I expect to see is "This product only runs on 2K/XP" type of message at startup.

Am I missing something?

Thanks,
Rick

Stefan Krueger

Stefan Krueger

    InstallSite.org

  • Administrators
  • 13,269 posts

Posted 12 February 2003 - 11:58

You will have to write this into your script yourself. Display a MassageBox based on SYSINFO.

prozacrefugee

prozacrefugee
  • Members
  • 38 posts

Posted 10 April 2003 - 21:01

Try something like this at the begining of your script:

IF !(SYSINFO.WINNT.bWin2000 || SYSINFO.WINNT.bWinXP) then
MessageBox("Unsupported Platform!",SEVERE);
abort;
endif;