Use the MsiNTProductType Property to test what type of machine you are using.
|
Value |
Meaning |
|
1 |
Windows 2000 Professional and later |
|
2 |
Windows 2000 domain controller and later |
|
3 |
Windows 2000 Server and later |
To do this in a package:
Go to the Setup Editor view:
-Click the Product tab
-Go to Launch Conditions
-In right panel, right-click New -> Launch Conditions
-In condition enter: MsiNTProductType = 1
-In message text:
This package was designed to NOT allow installation on Servers and Domain servers as a precaution. Please refer to you MSI packaging team for workarounds.
-Click Ok