ref: 7be9552290f80d9dd68d03642be2618335a51cde
parent: d190b596c566394717324296cbf6b46e67c64f5c
author: Simon Howard <[email protected]>
date: Sun May 4 23:11:29 EDT 2008
(Hopefully) fix for Windows Vista asking for security elevation when running chocolate-setup. Subversion-branch: /trunk/chocolate-doom Subversion-revision: 1141
--- /dev/null
+++ b/setup/setup-manifest.xml
@@ -1,0 +1,16 @@
+<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
+<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">
+ <!-- The "name" field in this tag should be the same as the executable's
+ name -->
+ <assemblyIdentity version="1.0.0.0" processorArchitecture="*"
+ name="chocolate-setup" type="win32"/>
+ <trustInfo xmlns="urn:schemas-microsoft-com:asm.v3">
+ <security>
+ <requestedPrivileges>
+ <!-- Hi Vista! We don't require elevated privileges. Thanks! -->
+ <requestedExecutionLevel level="asInvoker"/>
+ </requestedPrivileges>
+ </security>
+ </trustInfo>
+</assembly>
+
--- a/setup/setup-res.rc.in
+++ b/setup/setup-res.rc.in
@@ -1,5 +1,7 @@
1 ICON "..\\data\\setup.ico"
+CREATEPROCESS_MANIFEST_RESOURCE_ID RT_MANIFEST "setup-manifest.xml"
+
1 VERSIONINFO
PRODUCTVERSION @WINDOWS_RC_VERSION@
FILEVERSION @WINDOWS_RC_VERSION@