Plugin install location issue

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

Moderators: white, Hacker, petermad, Stefan2

Post Reply
User avatar
roentgen
Power Member
Power Member
Posts: 757
Joined: 2005-12-03, 19:58 UTC

Plugin install location issue

Post by *roentgen »

This plugin tries to install in "%COMMANDER_PATH%\plugins\Tools\OOView"

Am I missing something?

Also had an issue with another plugin (I don't remember which) but I thought I just did something wrong.

Tested with TC 7.01 - clean ini. TC 6.56 seems OK.
TC for Linux please!
icfu
Power Member
Power Member
Posts: 6052
Joined: 2003-09-10, 18:33 UTC

Post by *icfu »

Not confirmed.

This happens when you have a WLX file in your tools directory. TC checks disk (edited: not wincmd.ini) for the first WLX file it finds and then assumes that it has found the right directory.

Icfu
Last edited by icfu on 2007-06-26, 21:15 UTC, edited 1 time in total.
This account is for sale
User avatar
roentgen
Power Member
Power Member
Posts: 757
Joined: 2005-12-03, 19:58 UTC

Post by *roentgen »

Hmm...

I had c:\TotalCMD\Plugins\Tools\TCThemes\TCTheme_viewer.wlx
Since when? Since the last undiscovered bug...

It seems that if I copy a .wlx file to

Code: Select all

c:\TotalCMD\Plugins\ICO\TCTheme_viewer.wlx
TC offers to install plugins directly in C:\TotalCMD\plugins\

I wonder what's the purpose of

Code: Select all

[Configuration]
PluginBaseDir=%COMMANDER_PATH%\Plugins
TC for Linux please!
icfu
Power Member
Power Member
Posts: 6052
Joined: 2003-09-10, 18:33 UTC

Post by *icfu »

PluginBaseDir is not plugin type specific, that's the problem. So, TC uses WLX, WFX, etc... in this basedir only if it doesn't find another location by examining the INI file.

INI entries like PluginBaseDirWLX, PluginBaseDirWFX, ToolsBaseDir, etc... would solve these annoying problems. Requested but ignored, as usual. ;)

Icfu
This account is for sale
User avatar
roentgen
Power Member
Power Member
Posts: 757
Joined: 2005-12-03, 19:58 UTC

Post by *roentgen »

by examining the INI file
Most of my tests were done with a clean ini. TC seems to be searching the hard drive :roll:
TC for Linux please!
icfu
Power Member
Power Member
Posts: 6052
Joined: 2003-09-10, 18:33 UTC

Post by *icfu »

Yeah, I confused that, also in the past, sorry:
http://www.ghisler.ch/board/viewtopic.php?t=11876

Icfu
This account is for sale
Post Reply