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

Windows 8.1 Operating System Property Values


2 replies to this topic

bernard

bernard
  • Full Members
  • 127 posts

Posted 07 November 2013 - 09:15

Habe InstallShield 2012 Professional Edition, Version 18

In meinem Script habe ich so gelöst:
   if SYSINFO.WINNT.bWin8 then
oder
   if ((TRUE = SYSINFO.WINNT.bWinNT) && (6 = SYSINFO.nWinMajor) && (2 = SYSINFO.nWinMinor)) then
       svOSWind = "Windows 8";
   endif;

Auf der Seite:
http://msdn.microsof...556(VS.85).aspx
Operating System Property Values
Build date: 10/12/2013

Ist keine Information über Windows 8.1 noch.

Wie soll ich mein Script ändern?

 

Danke im Voraus



Stefan Krueger

Stefan Krueger

    InstallSite.org

  • Administrators
  • 13,269 posts

Posted 07 November 2013 - 11:22

Windows 8.1 wird intern als 6.3 gezählt.

https://www.facebook...572198716162843 

http://forum.install...showtopic=21476 



bernard

bernard
  • Full Members
  • 127 posts

Posted 18 November 2013 - 15:51

Danke Stefan für den Tipp.

1.
PC mit Windows 8
cmd>systeminfo
Zeigt:
...
Betriebssystemname:        Microsoft Windows 8 Pro
Betriebssystemversion:    6.2.9200  Build 9200

2.
PC mit Windows 8.1
Zeigt:
...
cmd>systeminfo
Betriebssystemname:        Microsoft Windows 8.1 Pro
Betriebssystemversion:    6.3.9600  Build 9600

Lösung im Script:
   if ((TRUE = SYSINFO.WINNT.bWinNT) && (6 = SYSINFO.nWinMajor) && (3 = SYSINFO.nWinMinor)) then
       svOSWind = "Windows 8.1";
   endif;
 


Edited by bernard, 18 November 2013 - 15:52.