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

InstallCondition: Desktop or Server system?


2 replies to this topic

yesso

yesso
  • Full Members
  • 3 posts

Posted 16 February 2009 - 18:00

Hi,

how can i query if the installer is running on a Desktop system or a Server system?

thanks


Stefan Krueger

Stefan Krueger

    InstallSite.org

  • Administrators
  • 13,269 posts

Posted 16 February 2009 - 19:07

Would the MsiNTProductType property do what you need?

VBScab

VBScab
  • Full Members
  • 436 posts

Posted 17 February 2009 - 09:57

Check it out here

Hmmm...it's not exactly what one would call "granular", is it?!? smile.gif

If this were me, I'd use a WMI-based script, specifically, the OSProductSuite or ProductType property of the Win32_OperatingSystem class. Check out this MSDN article.

For the terminally idle, there's a nice script one could use as a template for this, available as a free d/l from MouseTrax. It's the Domain Report script.
- 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.