Summary
This article shows how to detect if the target OS is a workstation or a serverSynopsis
Even though the MSI property VersionNT provides a means of distinguishing between the main operating systems, another parameter is required to select between workstations and servers.
Discussion
The Windows Installer property MsiNTProductType can be used to detect if the target OS is a workstation or a server.| Value | Meaning |
|---|---|
| 1 | Workstation |
| 2 | Domain Controller |
| 3 | Server |
You then need to use the Windows Installer properties VersionNT and MsiNTProductType with a Boolean AND to set the condition you would like.
VersionNT is mentioned in detail in Knowledge Base article Detecting the Operating System and in the Windows Installer Help Library article VersionNT Property.
Additional Information
For more information on MsiNtProductType, see the Windows Installer Help Library topic MsiNTProductType Property.
For additional information on creating conditions, refer to the InstallShield Help Library topic Building Conditional Statements.
For a good reference for MSI properties, see the InstallShield Help Library topic Using Windows Installer Properties Reference.
Related Articles
Discovered Device role is incorrect e.g. printer showing as a workstation 7Number of Views Detecting If a MSI Setup Is Running from the Add/Remove Programs 3Number of Views Detecting If the User Has Selected A Specific Feature 3Number of Views Red Hat Enterprise Server and SuSE Enterprise commercial OS are missing in the Application tab of the Inventory devices 21Number of Views Known Issue: EvidenceAlerts import writer step may fail with error when using SQL Server 2016: INSERT EXEC failed because … 12Number of Views
Hi, I am Reva - Ask me anything.
No new updates
Thanks for the feedback!
Your feedback has been saved.Rate this response:
Add Additional feedback ( Optional )
Are you sure you want to cancel
the case creation?
Are you sure you want to cancel the case creation?
Are you sure you want to close this case
| Products | Region | Phone Numbers |
|---|---|---|
| FlexNet Operations FlexNet Embedded FlexNet Publisher FlexNet Connect FlexNet Code Insight InstallAnywhere InstallShield |
North America * |
+1 630-332-2513 (toll) +1 877-279-2853 (toll-free in North America) |
| Europe * |
+44 1925 944367 (toll) +44 800 047 8642 (toll-free in Europe) |
|
| Japan * | +81 3-4540-5335 (select option 2) | |
| Australia * |
+61 3 9895 2177 +61 1800 560 603 (toll-free in Australia) |
|
|
Usage Intelligence (formerly
Revulytics) Compliance Intelligence |
Please use the Case Portal to submit your support ticket or reach out to your Revenera contact. | |
Case id: 00001065
Activity: Status change: 2 hours ago