Determine PC type (Laptop, Notebook or Desktop)
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.
Unfortunately there are no in-build function from InstallShield, and Win32_SystemEnclosure class/wmic is the only way to get the Chassis related information.
If required https://blogs.technet.microsoft.com/brandonlinton/2017/09/15/updated-win32_systemenclosure-chassis-types/ contains all the chassis types.