shithub: choc

ref: f7e752f3527cdbab73c83f1d31878ec151d53510
dir: /src/setup/setup-manifest.xml.in/

View raw version
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>

<!-- Magic manifest file that should make Windows Vista/7 not
     attempt to gain elevated privileges for chocolate-setup.
     
     Based on:
     
     http://www.cygwin.com/ml/cygwin/2006-12/msg00580.html
  -->

<assembly xmlns="urn:schemas-microsoft-com:asm.v1"
          xmlns:asmv3="urn:schemas-microsoft-com:asm.v3"
          manifestVersion="1.0">

  <!-- The "name" field in this tag should be the same as the executable's
       name -->
  <assemblyIdentity version="0.0.0.0" processorArchitecture="X86"
                    name="@PROGRAM_PREFIX@setup.exe" type="win32"/>
  <trustInfo xmlns="urn:schemas-microsoft-com:asm.v3">
    <security>
      <requestedPrivileges>
        <requestedExecutionLevel level="asInvoker" uiAccess="false" />
      </requestedPrivileges>
    </security>
  </trustInfo>

  <!-- Stop the Program Compatibility Assistant appearing: -->

  <compatibility xmlns="urn:schemas-microsoft-com:compatibility.v1">
    <application>
      <supportedOS Id="{35138b9a-5d96-4fbd-8e2d-a2440225f93a}"/> <!-- 7 -->
      <supportedOS Id="{e2011457-1546-43c5-a5fe-008deee3d3f0}"/> <!-- Vista -->
      <supportedOS Id="{4a2f28e3-53b9-4441-ba9c-d69d4a4a6e38}"/> <!-- 8 -->
      <supportedOS Id="{1f676c76-80e1-4239-95bb-83d0f6d0da78}"/> <!-- 8.1 -->
      <supportedOS Id="{8e0f7a12-bfb3-4fe8-b9a5-48fd50a15a9a}"/> <!-- 10 -->
    </application>
  </compatibility>

  <!-- Declare app as DPI aware, so that Windows Vista and later will not
       apply DPI virtualization. -->

  <asmv3:application>
    <asmv3:windowsSettings xmlns="http://schemas.microsoft.com/SMI/2005/WindowsSettings">
      <dpiAware>true</dpiAware>
    </asmv3:windowsSettings>
  </asmv3:application>
</assembly>