File: vcPatch.readme.txt

package info (click to toggle)
gccxml 0.9.0%2Bcvs20100501-2
  • links: PTS
  • area: main
  • in suites: squeeze
  • size: 79,132 kB
  • ctags: 73,371
  • sloc: ansic: 751,436; cpp: 34,175; asm: 26,833; sh: 5,077; makefile: 4,696; lex: 589; awk: 566; perl: 334; yacc: 271; pascal: 86; python: 29
file content (27 lines) | stat: -rwxr-xr-x 1,210 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
We use a version of the celebrated Larry Wall "GNU patch" program as ported to Windows.
The executable comes from the port by Karl M. Syring in his nice
UnxUtils( http://unxutils.sourceforge.net/ ) package.   We have renamed the executable
from patch.exe to vcPatch.exe to avoid conflicts.


Updated September 2007
======================
Added a manifest resource using Microsoft's mt.exe to allow running this executable
on Windows Vista without requiring prompting for admin privileges. (Vista automatically
prompts for admin privileges for executables named like *setup* *install* or *patch*.)

Given a manifest resource file named manifest.xml with contents like this...:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">
<trustInfo xmlns="urn:schemas-microsoft-com:asm.v3">
  <security>
    <requestedPrivileges>
      <requestedExecutionLevel level="asInvoker"></requestedExecutionLevel>
    </requestedPrivileges>
  </security>
</trustInfo>
</assembly>

...you add manifest.xml as a resource to an existing executable using the "mt.exe"
command line tool like this:
mt -manifest manifest.xml -outputresource:vcPatch.exe;#1