Request administrative privileges on Vista.
authorThomas Lopatic <thomas@lopatic.de>
Wed, 28 Mar 2007 14:36:59 +0000 (14:36 +0000)
committerThomas Lopatic <thomas@lopatic.de>
Wed, 28 Mar 2007 14:36:59 +0000 (14:36 +0000)
gui/win32/Main/Main.vcproj
gui/win32/Main/trustInfo.manifest [new file with mode: 0644]

index 91d39ea..466d76c 100644 (file)
                        />
                        <Tool
                                Name="VCManifestTool"
+                               EmbedManifest="true"
                        />
                        <Tool
                                Name="VCXDCMakeTool"
                                >
                        </File>
                </Filter>
-               <File
-                       RelativePath=".\LQ-Default.olsr"
-                       >
-               </File>
                <File
                        RelativePath=".\olsrd_cfgparser.lib"
                        >
                </File>
                <File
-                       RelativePath=".\RFC-Default.olsr"
+                       RelativePath=".\trustInfo.manifest"
                        >
                </File>
        </Files>
diff --git a/gui/win32/Main/trustInfo.manifest b/gui/win32/Main/trustInfo.manifest
new file mode 100644 (file)
index 0000000..d3cec03
--- /dev/null
@@ -0,0 +1,10 @@
+<assembly>
+  <trustInfo xmlns="urn:schemas-microsoft-com:asm.v3">
+    <security>
+      <requestedPrivileges>
+        <requestedExecutionLevel level="requireAdministrator" />
+      </requestedPrivileges>
+    </security>
+  </trustInfo>
+</assembly>
+