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.
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.
XP64 erkennen
Started by
andyPT
, Aug 09 2005 11:02
1 reply to this topic
Posted 09 August 2005 - 11:02
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
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)
SYSINFO.blsWow64
(gibt es in IS 11, weiss nicht ob es auch schon in X oder 10.5 war)
Stefan Krüger
InstallSite.org twitter facebook