41
edits
Changes
no edit summary
It relies on a vbs script which queries WMI to identify the hardware chassis type then writes the returned value to wherever you specify in the Registry.<br>
You will then need to use [http://wpkg.org/[Packages.xml#Check_conditions_.2F_check_type | logical conditions]] to determine if an application target at a specific platform (laptop or desktop for example) is installed. Remember that logical conditions are counter-intuitive, if you want to install an application on a specific platform you check for what your target platform '''isn't'''. <br>
For example:<br>
<source lang="xml">