summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--setup/setup-manifest.xml16
-rw-r--r--setup/setup-res.rc.in2
2 files changed, 18 insertions, 0 deletions
diff --git a/setup/setup-manifest.xml b/setup/setup-manifest.xml
new file mode 100644
index 00000000..dacaa311
--- /dev/null
+++ b/setup/setup-manifest.xml
@@ -0,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>
+
diff --git a/setup/setup-res.rc.in b/setup/setup-res.rc.in
index 4ae01348..2b7d203b 100644
--- 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@