Add external manifests for all executablesmob
commitea4e1dc50ccd96fa1018278aa8ccabd7b4ffe29e
authorCesar Eduardo Barros <cesarb@cesarb.net>
Sat, 28 May 2011 22:35:09 +0000 (28 19:35 -0300)
committerCesar Eduardo Barros <cesarb@cesarb.net>
Sat, 28 May 2011 23:40:39 +0000 (28 20:40 -0300)
treebc19bdfc36fd8bece27fbe90d3be7b772d874f23
parent59467863efd336ba3a443a88ce140ab1e59a29f0
Add external manifests for all executables

On Windows Vista, not having an application manifest with a
requestedExecutionLevel can cause several kinds of confusing behavior.

I sent a separate patch to add an embedded manifest to the git
executables. This patch adds a similar external manifest to the rest of
the executables. It detects whether the executable already contains an
embedded manifest before creating the manifest file. The ideal situation
would be for every executable to have an embedded manifest, but
meanwhile this can avoid having to change every build system.

This patch alone will not work as well for the git executables, because
some of them are created by the installer (by copying or hardlinking).
If used together with the previous patch, it should cover every
executable.

Tested by running copy-files.sh by hand on Wine.

Signed-off-by: Cesar Eduardo Barros <cesarb@cesarb.net>
share/WinGit/asInvoker.manifest [new file with mode: 0644]
share/WinGit/copy-files.sh