summaryrefslogtreecommitdiff
path: root/win
diff options
context:
space:
mode:
authorunknown <iggy@amd64.(none)>2007-06-26 11:26:01 -0400
committerunknown <iggy@amd64.(none)>2007-06-26 11:26:01 -0400
commitf39d636a9224a1ffe06eb694996bf7d7adaeb3a8 (patch)
treee40a815223b24029ba705c3173b166d30c42f045 /win
parent37344c68f5c006c582b3f9793d7eb15102a5e807 (diff)
downloadmariadb-git-f39d636a9224a1ffe06eb694996bf7d7adaeb3a8.tar.gz
Bug#24732 Executables do not include Vista manifests
- Corrected manifest attributes. CMakeLists.txt: Bug#24732 Executables do not include Vista manifests - Use correct value for 64 built binaries. win/create_manifest.js: Bug#24732 Executables do not include Vista manifests - Remove type attribute as the only valid value is win32. win/mysql_manifest.cmake: Bug#24732 Executables do not include Vista manifests - Remove type attribute.
Diffstat (limited to 'win')
-rwxr-xr-xwin/create_manifest.js10
-rwxr-xr-xwin/mysql_manifest.cmake2
2 files changed, 4 insertions, 8 deletions
diff --git a/win/create_manifest.js b/win/create_manifest.js
index 520ecec21b8..8569bd508ff 100755
--- a/win/create_manifest.js
+++ b/win/create_manifest.js
@@ -1,11 +1,10 @@
/*
manifest.js - Writes a custom XML manifest for each executable/library
- 6 command line options must be supplied:
+ 5 command line options must be supplied:
name - Name of the executable/library into which the mainfest will be
embedded.
version - Version of the executable
arch - Architecture intended.
- type - Application type.
exe_level - Application execution level.
[asInvoker|highestAvailable|requireAdministrator]
outfile - Final destination where mainfest will be written.
@@ -37,9 +36,6 @@ try
case "arch":
var app_arch= parts[1];
break;
- case "type":
- var app_type= parts[1];
- break;
case "exe_level":
var app_exe_level= parts[1];
break;
@@ -50,7 +46,7 @@ try
WScript.echo("Invalid argument supplied.");
}
}
- if (i != 6)
+ if (i != 5)
throw new Error(1, "Incorrect number of arguments.");
var manifest_xml= "<?xml version=\'1.0\' encoding=\'UTF-8\' standalone=\'yes\'?>\r\n";
@@ -61,7 +57,7 @@ try
manifest_xml+= " version=\'" + app_version + "\'";
manifest_xml+= " processorArchitecture=\'" + app_arch + "\'";
// TOADD - Add publicKeyToken attribute once we have Authenticode key.
- manifest_xml+= " type=\'" + app_type + "\' />\r\n";
+ manifest_xml+= " type=\'win32\' />\r\n";
// Identify the application security requirements.
manifest_xml+= "\t<trustInfo xmlns=\'urn:schemas-microsoft-com:asm.v2\'>\r\n";
manifest_xml+= "\t\t<security>\r\n\t\t\t<requestedPrivileges>\r\n\t\t\t\t";
diff --git a/win/mysql_manifest.cmake b/win/mysql_manifest.cmake
index b5bb6fda8fb..4c88be1d800 100755
--- a/win/mysql_manifest.cmake
+++ b/win/mysql_manifest.cmake
@@ -9,7 +9,7 @@ MACRO(MYSQL_EMBED_MANIFEST _target_name _required_privs)
TARGET ${_target_name}
PRE_LINK
COMMAND cscript.exe
- ARGS "${PROJECT_SOURCE_DIR}/win/create_manifest.js" name=$(ProjectName) version=${VERSION} arch=${PROCESSOR_ARCH} type=$(PlatformName) exe_level=${_required_privs} outfile=$(IntDir)\\$(TargetFileName).intermediate.manifest
+ ARGS "${PROJECT_SOURCE_DIR}/win/create_manifest.js" name=$(ProjectName) version=${VERSION} arch=${PROCESSOR_ARCH} exe_level=${_required_privs} outfile=$(IntDir)\\$(TargetFileName).intermediate.manifest
COMMENT "Generates the contents of the manifest contents.")
ADD_CUSTOM_COMMAND(
TARGET ${_target_name}