We are working on converting the wiki to a static website controlled by markdown files in https://github.com/nsis-community. You can already see there how plug-ins will be posted. The end-user interface will still be a website but with a fresh coat of paint. Come meet us at Discord to talk about it.
Detect TabletPC
From NSIS Wiki
Jump to navigationJump to search
| Author: crdoconnor (talk, contrib) |
Note: This detection is now also available in WinVer.nsh
The Script
RequestExecutionLevel User ShowInstDetails Show Function ".onInit" System::Call 'user32::GetSystemMetrics(i 86) i .r0' strcmp $0 0 +1 +3 MessageBox MB_OK|MB_ICONINFORMATION "This is not a tablet PC." Quit MessageBox MB_OK|MB_ICONINFORMATION "This is a tablet PC." FunctionEnd Section SectionEnd