Reputation: 267
I have a VS2005 setup project. I want to put a launch condition for the MSI such that it is installable only on Windows Server OS's. Installation must fail for other Windows OS. What condition can I use?
Thanks, Kunal
Upvotes: 0
Views: 34
Reputation: 20780
The MsiNTProductType property value has a value greater than one for servers:
http://msdn.microsoft.com/en-us/library/aa370329(v=vs.85).aspx
so you can use that in your launch condition, >1
Upvotes: 1