Condition for Windows 7 Home/basic/Starter - MSI
I'm making a MSI that needs to skip a bunch of files if the plattform is windows 7 "Home"/"Starter"/"Basic".
My first thought was "system search" so i added a property (value 0) and then created a registry(read raw value) - "system search" against "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Productname"
then i added a condition under feature:
OSVERBUILD NOT ="Windows 7 Home Premium" OR OSVERBUILD NOT ="Windows 7 Home Basic" OR OSVERBUILD NOT ="Windows 7 Starter"
The above feature is for pro/enterprise so to speak...
My question is: If you are talking best practice and what not...how do you normaly go about this? Is there a buildt in condition for this already?