Skip to content
⌘ NSIS Forum Archive

NSIS how to check if it is laptop/desktop/tablet

6 posts

meoit#

NSIS how to check if it is laptop/desktop/tablet

Hi guys.

How to check if it is laptop/desktop/tablet.

Thanks.
Anders#
WMI maybe? For these types of questions you should ideally do some resource on your own to find a general solution and then port it to NSIS.
r2du-soft#
DeviceTypeTool News

New version of DeviceTypeTool Plug-in released

What's new in version 1.0.0.0
  • Get Device Type (Desktop OR Laptop) With Using method "DeviceType"
r2du-soft#
Originally Posted by r2du-soft View Post
DeviceTypeTool News

New version of DeviceTypeTool Plug-in released

What's new in version 1.0.0.0
  • Get Device Type (Desktop OR Laptop) With Using method "DeviceType"

Actually You should test the application on a laptop without battery (Directly into AC power) and with a battery,To Make sure the program is functioning correctly...
r2du-soft#
Unfortunately I do not have enough information about Clr to rewrite the plugin to C ++
but you can use this plugin by plugin CLR by command CLR::CALL like my example