[gnuwin32 - Help] patch not working in Vista

View: New views
11 Messages — Rating Filter:   Alert me  

[gnuwin32 - Help] patch not working in Vista

by SourceForge.net :: Rate this Message:

| View Threaded | Show Only this Message


Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=4750067
By: gboutwel

Help.  I've gotten patch and am trying to use it to apply a patch under Vista,
but everything I try results in patch running and nothing happening.  It stays
running (seemingly indefinitely) until I press CTRL-C to stop it.

Thanks,

George

______________________________________________________________________
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit:
https://sourceforge.net/forum/unmonitor.php?forum_id=74807

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
GnuWin32-Users mailing list
GnuWin32-Users@...
https://lists.sourceforge.net/lists/listinfo/gnuwin32-users

[gnuwin32 - Help] RE: patch not working in Vista

by SourceForge.net :: Rate this Message:

| View Threaded | Show Only this Message


Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=4750291
By: keithmarshall

What is your command line?  `patch' reads the patch source from `stdin'; did
you redirect it?  Perhaps it is just waiting for you to type the patch input.

______________________________________________________________________
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit:
https://sourceforge.net/forum/unmonitor.php?forum_id=74807

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
GnuWin32-Users mailing list
GnuWin32-Users@...
https://lists.sourceforge.net/lists/listinfo/gnuwin32-users

[gnuwin32 - Help] RE: patch not working in Vista

by SourceForge.net :: Rate this Message:

| View Threaded | Show Only this Message


Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=5044894
By: panthrax

When I start patch.exe Vista asks for confirmation to allow or deny patch.exe
execution because of the unkown publisher. Now, when execution is allowed, a
command line window opens that awaits input and can be quitted by pressing
Crtl-C.

However, the parameters aren't passed to patch.exe. The following doesn't work:

patch.exe < Filename.patch

Any ideas?

______________________________________________________________________
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit:
https://sourceforge.net/forum/unmonitor.php?forum_id=74807

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
GnuWin32-Users mailing list
GnuWin32-Users@...
https://lists.sourceforge.net/lists/listinfo/gnuwin32-users

[gnuwin32 - Help] RE: patch not working in Vista

by SourceForge.net :: Rate this Message:

| View Threaded | Show Only this Message


Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=5840626
By: elemings


Has this issue been resolved?  I just installed patch.exe and it requires
administrator privileges to install, not to mention to run a simple `patch --version`
or `patch --help' command.  It shouldn't work that way, right?

Thanks,
Eric.


______________________________________________________________________
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit:
https://sourceforge.net/forum/unmonitor.php?forum_id=74807

------------------------------------------------------------------------------
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
_______________________________________________
GnuWin32-Users mailing list
GnuWin32-Users@...
https://lists.sourceforge.net/lists/listinfo/gnuwin32-users

[gnuwin32 - Help] RE: patch not working in Vista

by SourceForge.net :: Rate this Message:

| View Threaded | Show Only this Message


Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=5896406
By: yabcode

you can also disable UAC in vista for avoid this administrator privileges
message

______________________________________________________________________
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit:
https://sourceforge.net/forum/unmonitor.php?forum_id=74807

------------------------------------------------------------------------------
_______________________________________________
GnuWin32-Users mailing list
GnuWin32-Users@...
https://lists.sourceforge.net/lists/listinfo/gnuwin32-users

[gnuwin32 - Help] RE: patch not working in Vista

by SourceForge.net :: Rate this Message:

| View Threaded | Show Only this Message


Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=7093391
By: msec

There's a fairly straightforward workaround:

 in the same folder as patch.exe, add a file named 'patch.exe.manifest' which
has the following content:

<pre>
<?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.v2">
    <security>
      <requestedPrivileges>
        <requestedExecutionLevel level="asInvoker"/>
      </requestedPrivileges>
    </security>
  </trustInfo>
</assembly>
</pre>

Two things need to be borne in mind: you need elevated privileges to create
this file in the right place (otherwise it ends up in your personal virtual
store, which is not the same folder); also, check there is no 'run in compatibility
mode' setting on patch.exe before you create the manifest.


______________________________________________________________________
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit:
https://sourceforge.net/forum/unmonitor.php?forum_id=74807

------------------------------------------------------------------------------
_______________________________________________
GnuWin32-Users mailing list
GnuWin32-Users@...
https://lists.sourceforge.net/lists/listinfo/gnuwin32-users

[gnuwin32 - Help] RE: patch not working in Vista

by SourceForge.net :: Rate this Message:

| View Threaded | Show Only this Message


Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=7093453
By: msec

Please note that the <pre> and </pre> tags in my previous post should NOT be
part of the file content - I didn't read the 'HTML tags will display in your
post as text' warning carefully enough :(

______________________________________________________________________
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit:
https://sourceforge.net/forum/unmonitor.php?forum_id=74807

------------------------------------------------------------------------------
_______________________________________________
GnuWin32-Users mailing list
GnuWin32-Users@...
https://lists.sourceforge.net/lists/listinfo/gnuwin32-users

[gnuwin32 - Help] RE: patch not working in Vista

by SourceForge.net :: Rate this Message:

| View Threaded | Show Only this Message


Read and respond to this message at:
https://sourceforge.net/projects/gnuwin32/forums/forum/74807/topic/1926465
By: sunek1

Unfortunately this does not work on 64-bit Vista. After adding the patch, running
patch results in a prompt saying (loosely translated from Swedish) "The requested
action requires a privilege elevation" and then the program terminates. The
only way to run patch seems to be "as administrator". Not good. And why does
it need elevated privileges? All it does is twiddle some files (in a highly
useful way).


_____________________________________________________________________________________
You are receiving this email because you elected to monitor this topic or entire forum.
To stop monitoring this topic visit:
https://sourceforge.net/projects/gnuwin32/forums/forum/74807/topic/1926465/unmonitor
To stop monitoring this forum visit:
https://sourceforge.net/projects/gnuwin32/forums/forum/74807/unmonitor

------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
GnuWin32-Users mailing list
GnuWin32-Users@...
https://lists.sourceforge.net/lists/listinfo/gnuwin32-users

[gnuwin32 - Help] RE: patch not working in Vista

by SourceForge.net :: Rate this Message:

| View Threaded | Show Only this Message


Read and respond to this message at:
https://sourceforge.net/projects/gnuwin32/forums/forum/74807/topic/1926465
By: msec

[quote]Unfortunately this does not work on 64-bit Vista. [/quote]

Have you applied the workaround described in posts 6 and 7 in this thread?

Patch.exe does not need admin privileges;  it's the heuristics built into Vista
which assumes that executables which do not have a manifest and have certain
strings in their name - such as 'patch' and 'setup' - which causes the elevation
prompt.  Adding the manifest above stops Vista applying this heuristic; patch.exe
then runs using the invoker's privilege.

_____________________________________________________________________________________
You are receiving this email because you elected to monitor this topic or entire forum.
To stop monitoring this topic visit:
https://sourceforge.net/projects/gnuwin32/forums/forum/74807/topic/1926465/unmonitor
To stop monitoring this forum visit:
https://sourceforge.net/projects/gnuwin32/forums/forum/74807/unmonitor

------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
GnuWin32-Users mailing list
GnuWin32-Users@...
https://lists.sourceforge.net/lists/listinfo/gnuwin32-users

[gnuwin32 - Help] RE: patch not working in Vista

by SourceForge.net :: Rate this Message:

| View Threaded | Show Only this Message


Read and respond to this message at:
https://sourceforge.net/projects/gnuwin32/forums/forum/74807/topic/1926465
By: sunek1

Yes I applied the workaround, but it didn't "take" immediately. It works after
rebooting.

_____________________________________________________________________________________
You are receiving this email because you elected to monitor this topic or entire forum.
To stop monitoring this topic visit:
https://sourceforge.net/projects/gnuwin32/forums/forum/74807/topic/1926465/unmonitor
To stop monitoring this forum visit:
https://sourceforge.net/projects/gnuwin32/forums/forum/74807/unmonitor

------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
GnuWin32-Users mailing list
GnuWin32-Users@...
https://lists.sourceforge.net/lists/listinfo/gnuwin32-users

[gnuwin32 - Help] RE: patch not working in Vista

by SourceForge.net :: Rate this Message:

| View Threaded | Show Only this Message


Read and respond to this message at:
https://sourceforge.net/projects/gnuwin32/forums/forum/74807/topic/1926465
By: raysatiro

You have to touch the file to apply it immediately. So if you create a manifest
like patch.exe.manifest:
touch patch.exe

You'll need three manifests for gnuwin32 utils,
patch.exe.manifest
install.exe.manifest
install-info.exe.manifest


_____________________________________________________________________________________
You are receiving this email because you elected to monitor this topic or entire forum.
To stop monitoring this topic visit:
https://sourceforge.net/projects/gnuwin32/forums/forum/74807/topic/1926465/unmonitor
To stop monitoring this forum visit:
https://sourceforge.net/projects/gnuwin32/forums/forum/74807/unmonitor

------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
GnuWin32-Users mailing list
GnuWin32-Users@...
https://lists.sourceforge.net/lists/listinfo/gnuwin32-users