Menu

#73 Update Far with admin rights

WontFix
nobody
None
Medium
Defect
2013-03-19
2013-03-19
Anonymous
No

Originally created by: rast...@gmail.com

What plug-in?
Renewal

What version of the plug-in?
3.15.0.2841

What platform and version of the Far?
3.0.0.3156 x64

What platform and version of the OS?
Windows 7 x64, UAC turned on

What steps will reproduce the problem?
1. Use Windows 7 with User Access Control turned on. It will require right elevation for some operations.
2. Install Far into c:\program files\far manager.
3. Try to update with Renewal plugin.

What is the expected output? What do you see instead?
upd_far.cmd should execute xcopy and replace files. But it fails, because this directory require administrator rights.
Same applies to upd_self.cmd.

Please provide any additional information below.
I've modified both cmd files so that xcopy is executed as elevated. I've used simple utility http://jpassing.com/2007/12/08/launch-elevated-processes-from-the-command-line/.
New copy line is: elevate xcopy /E /Y %SRC_PATH%* %DST_PATH%*

Discussion

  • Anonymous

    Anonymous - 2013-03-19

    Originally posted by: artem...@gmail.com

    This plug-in is depricated - Far group made plug-in's web site (http://plugring.farmanager.com) which is not compatable with this plug-in. So, I think Far developers will create own autoupdate system. Sorry :-)

    Status: WontFix

     
  • Anonymous

    Anonymous - 2013-03-19

    Originally posted by: rast...@gmail.com

    Thank you for the information. But I think plugins from farplugs site are still maintained this way. So at least that should be updated.

     

Anonymous
Anonymous

Add attachments
Cancel





MongoDB Logo MongoDB