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

Detecting Vista Flavors...


3 replies to this topic

dwagoner

dwagoner
  • Full Members
  • 6 posts

Posted 18 October 2007 - 22:55

Does anybody know a way to detect the different flavors of Windows Vista? I need to install a SideShow driver, but home basic does not support sideshow. therefore i need to prevent the driver from being installed for that situation. I have not found anything in the knowledgebase/installsite/, and msi documentation.

Any help would be appreciated.

Thanks,

Dave
Sr. Software Technician
Interactive Entertainment
Logitech Inc.

VBScab

VBScab
  • Full Members
  • 436 posts

Posted 19 October 2007 - 08:00

Look in HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\EditionID.

Returned values can be one of:

HomeBasic
HomePremium
Starter
Business
Enterprise
Ultimate
ServerDatacenter
ServerEnterprise
ServerStandard

Edited by VBScab, 19 October 2007 - 08:10.

- Don't know why 'x' happened? Want to know why 'y' happened? ProcMon will tell you.
- Try using http://www.google.com before posting.
- I answer questions only via forums. Please appreciate the time I give here and don't send me personal emails.

Stefan Krueger

Stefan Krueger

    InstallSite.org

  • Administrators
  • 13,269 posts

Posted 19 October 2007 - 08:27

Unfortunately there don't seem to be predefined operating system properties to detect all the flavors of Vista. You could call a Windows API, see documentation about OSVERSIONINFOEX.

dwagoner

dwagoner
  • Full Members
  • 6 posts

Posted 19 October 2007 - 17:33

Thanks for the replies. I'll take a look at both.


Dave
Sr. Software Technician
Interactive Entertainment
Logitech Inc.