This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- How do I detect Windows Server 2008 from a basic MSI?
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Mar 08, 2009
06:44 PM
How do I detect Windows Server 2008 from a basic MSI?
You can't just check VersionNT because it's the same for Windows Server 2008 and Vista. Anyone know another way?
Ken
Ken
(2) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Mar 08, 2009
09:00 PM
The MsiNTProductType property will tell if you're running on a Workstation or Server (or Domain Controller).
The condition (VersionNT = 600) And (MsiNTProductType > 1) will be true for Server 2008 but not for Vista.
The condition (VersionNT = 600) And (MsiNTProductType > 1) will be true for Server 2008 but not for Vista.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Mar 08, 2009
10:21 PM
Thanks, that's just what I needed!
Ken
Ken
![](/skins/images/D60DF682EA37BF37032955CE10F3F0BB/responsive_peak/images/icon_anonymous_message.png)