View Full Version : Determine PC type (Laptop, Notebook or Desktop)

05-08-2017, 03:57 AM
Hi All,

Is there any built-in function or variable in the Install Shield (2016 or earlier versions too) that contains the type of the platform?
I have to call different executable (actually a VGA driver) from script depends on the platform type( Desktop or Laptop ).

I know that the Win32_SystemEnclosure WMI class has a ChassisTypes member that contains 3 if the current machine is a Desktop and 9 if Laptop and 10 if Notebook.
But I hope that an easier solution exists in the Install Shield to get this information.