[SOLVED] Add supported Windows versions to manifest

Report problems with documented functionality
User avatar
fincs
Posts: 527
Joined: 30 Sep 2013, 14:17
Location: Seville, Spain
Contact:

[SOLVED] Add supported Windows versions to manifest

13 Mar 2014, 12:49

EDIT: Solved by AutoHotkey v1.1.15.

Starting with Windows 8.1, GetVersionEx() lies to applications that do not explicitly support Windows 8.1 in their manifest by returning them the Windows 8 OS version (6.2) in lieu of the true OS version (6.3). This affects AutoHotkey. It can be fixed by adding this to the manifest:

Code: Select all

    <compatibility xmlns="urn:schemas-microsoft-com:compatibility.v1"> 
        <application> 
            <!-- Windows 8.1 -->
            <supportedOS Id="{1f676c76-80e1-4239-95bb-83d0f6d0da78}"/>
            <!-- Windows Vista -->
            <supportedOS Id="{e2011457-1546-43c5-a5fe-008deee3d3f0}"/> 
            <!-- Windows 7 -->
            <supportedOS Id="{35138b9a-5d96-4fbd-8e2d-a2440225f93a}"/>
            <!-- Windows 8 -->
            <supportedOS Id="{4a2f28e3-53b9-4441-ba9c-d69d4a4a6e38}"/>
        </application> 
    </compatibility>
fincs
Windows 11 Pro (Version 22H2) | AMD Ryzen 7 3700X with 32 GB of RAM | AutoHotkey v2.0.0 + v1.1.36.02
Get SciTE4AutoHotkey v3.1.0 - [My project list]

Return to “Bug Reports”

Who is online

Users browsing this forum: No registered users and 44 guests