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

Vista version


1 reply to this topic

RayKode

RayKode
  • Full Members
  • 58 posts

Posted 26 April 2009 - 21:27

Hello everyone,

I have the need, to determine if the version of Vista on the pc, is a HOME edition or not.

And I can’t seem to figure out a way to do that.

Has anyone else actually DONE so ?

And if you have, would you share with me how you DID do it ?

The following works to determine if the OS is XP home edition.

if (SYSINFO.nSuites & ISOS_ST_XP_HOME) then /* Perform operations that are
specific to Windows XP Home Edition. */

endif;

But I can't quite figure out how to do something similar so that I can tell if the OS is a HOME version of Vista.

Thanks in advance for all replies.

Ray in Wisconsin


Stefan Krueger

Stefan Krueger

    InstallSite.org

  • Administrators
  • 13,269 posts

Posted 29 April 2009 - 18:12

If ISOS_ST_XP_HOME doesn't work on Vista (I haven't tried) then maybe SYSINFO.nOSSuiteMask with VER_SUITE_PERSONAL will do the trick.