Browse Source

Add (unused) manifest for Windows

Joseph C. Lehner 7 years ago
parent
commit
3df6829e4a
3 changed files with 17 additions and 2 deletions
  1. 3 2
      nmrpflash.dev
  2. 12 0
      nmrpflash.manifest
  3. 2 0
      nmrpflash.rc

+ 3 - 2
nmrpflash.dev

@@ -27,8 +27,8 @@ CommandLine=-L
 Folders=
 IncludeVersionInfo=0
 SupportXPThemes=0
-CompilerSet=3
-CompilerSettings=0000000100100000000001000
+CompilerSet=4
+CompilerSettings=0000000100000000001000000
 UnitCount=5
 
 [VersionInfo]
@@ -99,3 +99,4 @@ Link=1
 Priority=1000
 OverrideBuildCmd=0
 BuildCmd=
+

+ 12 - 0
nmrpflash.manifest

@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
+<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">
+  <description>nmrpflash</description>
+  <assemblyIdentity version="1.0.0.0" name="nmrpflash"/>
+  <trustInfo xmlns="urn:schemas-microsoft-com:asm.v2">
+    <security>
+      <requestedPrivileges>
+        <requestedExecutionLevel level="requireAdministrator" uiAccess="false"/>
+        </requestedPrivileges>
+       </security>
+  </trustInfo>
+</assembly>

+ 2 - 0
nmrpflash.rc

@@ -0,0 +1,2 @@
+#include "winuser.h"
+CREATEPROCESS_MANIFEST_RESOURCE_ID RT_MANIFEST nmrpflash.manifest