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

XP64 erkennen


1 reply to this topic

andyPT

andyPT
  • Full Members
  • 21 posts

Posted 09 August 2005 - 11:02

Hi,

ich bin's mal wieder.
Weiss jemand, wie ich zwischen XP und XP64 unterscheiden kann?

In folgendem script bekomme ich bei XP64 ein false zurück.

CODE

// LOOKFOR WIN95
if (SYSINFO.WIN9X.bWin95) then
MessageBox("Installing on Windows 95: Error: (OS not supported)",1);
Return 0;
// LOOK FOR WIN98
elseif (SYSINFO.WIN9X.bWin98)then
MessageBox("Installing on Windows 98:",1);
Return 1;
// LOOK FOR WINME
elseif (SYSINFO.WIN9X.bWinMe)then
MessageBox("Installing on Windows ME: Error: (OS not supported)",1);
Return 0;
// LOOK FOR WINNT
elseif (SYSINFO.WINNT.bWinNT4) then
MessageBox("Installing on Windows NT:",1);
Return 1;
// LOOK FOR WIN2000
elseif (SYSINFO.WINNT.bWin2000) then
MessageBox("Installing on Windows 2000:",1);
Return 1;
// LOOK FOR WINXP
elseif (SYSINFO.WINNT.bWinXP) then
MessageBox("Installing on Windows XP:",1);
Return 1;
// LOOK FOR WIN2003_SERVER
elseif (SYSINFO.WINNT.bWinServer2003) then
MessageBox("Installing on Windows Server 2003:",1);
Return 1;
else
Return 0;
endif;


gruss AndyPT

Stefan Krueger

Stefan Krueger

    InstallSite.org

  • Administrators
  • 13,269 posts

Posted 09 August 2005 - 14:12

Hast du es mal damit probiert:
SYSINFO.blsWow64
(gibt es in IS 11, weiss nicht ob es auch schon in X oder 10.5 war)