Cannot overwrite plugin

The behaviour described in the bug report is either by design, or would be far too complex/time-consuming to be changed

Moderators: sheep, Hacker, Stefan2, white

Post Reply
Thany
Senior Member
Senior Member
Posts: 251
Joined: 2003-09-30, 09:20 UTC
Location: Netherlands

Cannot overwrite plugin

Post by *Thany » 2018-07-04, 14:26 UTC

When I install a plugin (the automatic way) first, TC asks me if I want to install it. Yes I do. Then it asks if I want to overwrite it. Yes I do. Then is says access denied. So "as administrator" please. Then Windows asks me if that's okay. YES PLEASE. Then TC asks me to overwrite the files. I said yes like five times! "overwrite all" is my choice. Then it says "access denied" on one of the files, I can skip or cancel - both options are undesirable, I want it to overwrite. Use force if you have to :)

Okay, so there's a lot wrong here.

1) Most of the questions are redundant. Please consolidate all the tedious questions into one, or two if you count UAC: user opens plugin. TC realizes it's already installed and asks to overwrite it. "Yes". Then the inevitable UAC question. "Yes". That's it. Don't ask anything anymore, you've got all the answers needed to go ahead and overwrite the plugin.

2) Why the "access denied" at the end? Aren't I admin by now? Surely an admin can overwrite a plugin? It could be that a file is in use. In that case, how about TC deactivates the plugin before bloody overwriting it?

User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 38094
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) » 2018-07-04, 14:27 UTC

Hmm, no problems here. In which directory is that plugin installed?
Author of Total Commander
http://www.ghisler.com

Thany
Senior Member
Senior Member
Posts: 251
Joined: 2003-09-30, 09:20 UTC
Location: Netherlands

Post by *Thany » 2018-07-05, 07:53 UTC

ghisler(Author) wrote:Hmm, no problems here. In which directory is that plugin installed?
This coincides with my other topic about where a plugin is installed.

My TC is installed in C:\Program Files\totalcmd, but because of that setting, plugins get installed in C:\Program Files (x86)\totalcmd.

I get that not all plugins have the "access denied" on overwriting problem, because probably not all plugins are continuously active. But the number of questions should still be reduced to 1, or 2 if you count UAC. I can't think of a reason to ask the user 5 times if it's okay to install a plugin before it actually happens, or is there a use-case for the number of questions?

User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 38094
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) » 2018-07-05, 08:05 UTC

Just set a different location for the plugin, TC will remember it.
Author of Total Commander
http://www.ghisler.com

Thany
Senior Member
Senior Member
Posts: 251
Joined: 2003-09-30, 09:20 UTC
Location: Netherlands

Post by *Thany » 2018-07-06, 07:48 UTC

Alright, but this topic was about the many questions, and eventually "access denied" when overwriting a plugin (i.e. updating). I get that installing in a different location is a workaround for that.

Post Reply