Skip to content

Instantly share code, notes, and snippets.

@tmplinshi
Created August 30, 2015 04:22
Show Gist options
  • Save tmplinshi/a69012cf9b7d3ef65909 to your computer and use it in GitHub Desktop.
Save tmplinshi/a69012cf9b7d3ef65909 to your computer and use it in GitHub Desktop.
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0" xmlns:v3="urn:schemas-microsoft-com:asm.v3">
<assemblyIdentity
version="1.1.00.00"
name="AutoHotkey"
type="win32"
/>
<dependency>
<dependentAssembly>
<assemblyIdentity
type="win32"
name="Microsoft.Windows.Common-Controls"
version="6.0.0.0"
processorArchitecture="*"
publicKeyToken="6595b64144ccf1df"
language="*"
/>
</dependentAssembly>
</dependency>
<compatibility xmlns="urn:schemas-microsoft-com:compatibility.v1">
<!--
This section has two important effects:
- Prevent the Program Compatibility Assistant from popping up if Windows
thinks something went wrong (such as if "setup" exits too quickly).
- Obsolete: Allow OS version number checks to work correctly on Windows 8.1.
(This was superseded by the change from GetVersionEx to RtlGetVersion.)
If the VC++ manifest tool is enabled, it adds redundant xmlns prefixes and
declarations to this node and each of its child nodes. This causes bloat,
and having two xmlns attributes on a node causes XP SP2 systems to blue-
screen just by running the program once or twice. It can be avoided by
using an explicit namespace prefix here, but instead we just avoid the
manifest tool entirely and do our own processing to minimize size.
-->
<application>
<!-- Windows 10 -->
<supportedOS Id="{8e0f7a12-bfb3-4fe8-b9a5-48fd50a15a9a}"/>
<!-- 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>
<v3:application>
<v3:windowsSettings xmlns="http://schemas.microsoft.com/SMI/2005/WindowsSettings">
<dpiAware>true</dpiAware>
</v3:windowsSettings>
</v3:application>
<v3:trustInfo>
<v3:security>
<v3:requestedPrivileges>
<!-- This prevents UAC from using heuristics to detect the program as an installer.
It's normally inserted by the VC++ manifest tool, which is disabled for this
project for reasons described above. -->
<v3:requestedExecutionLevel level="asInvoker" uiAccess="false" />
</v3:requestedPrivileges>
</v3:security>
</v3:trustInfo>
</assembly>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment