I found that the setting PluginBaseDir is, for some reason, automatically changed by TC.
In my case, I first set it to:
Code: Select all
%COMMANDER_PATH%\plugins
Code: Select all
%COMMANDER_PATH%\plugins\wlx\
Moderators: Hacker, petermad, Stefan2, white
Code: Select all
%COMMANDER_PATH%\plugins
Code: Select all
%COMMANDER_PATH%\plugins\wlx\
Code: Select all
%COMMANDER_PATH%\plugins
Code: Select all
%COMMANDER_PATH%\plugins\wlx\diskdirW
Code: Select all
%COMMANDER_PATH%\plugins\wlx\
Code: Select all
%COMMANDER_PATH%\plugins\foo\
Code: Select all
%COMMANDER_PATH%\plugins\foo\wcx\diskdirW
Code: Select all
pluginbasedir=%COMMANDER_PATH%\Plugins
Code: Select all
TOTALCMD#BAR#DATA
hh.exe %COMMANDER_PATH%\LANGUAGE\WCMD_ENG.CHM::dlg_choosecommand.htm
C:\WINDOWS\hh.exe
F1 (Help) > Index > Dialog box: Choose command >|List of internal commands that support a parameter: cm_Edit, etc.|https://www.ghisler.ch/board/viewtopic.php?p=446461#p446461
0
-1
Code: Select all
%COMMANDER_PATH%\Plugins\ pluginbasedir
wdx\ type=wdx
DirSizeCalc defaultdir=DirSizeCalc
Code: Select all
%COMMANDER_PATH%\Plugins\wdx\DirSizeCalc\
Code: Select all
%COMMANDER_PATH%\Plugins\wcx\DiskDirW\
Yes, I understand all of what you explained here. I use TC for a long time and before I never had issues with plugins installation, like the glitches I described in my first 2 posts. Please re-read it.tuska wrote: 2025-01-08, 17:36 UTC This ensures that the plugins are assigned to the plugin types, i.e.
wcx_Packer plugins, wdx_Content plugins, wfx_File System plugins, wlx_Lister plugins
in the corresponding directories. This also makes it easier to find them later.
(Hope I expressed myself correctly).
After clicking on the “Yes” button, the plug-in installation was started.DirSizeCalc.wdx wrote:A plugin with this name is already installed in the following
directory:
%COMMANDER_PATH%\Plugins\wdx\DirSizeCalc\
Do you want to overwrite it?
Choose 'No' to select a different location.
Yes No Cancel
Not confirmed.jonathanpoulin wrote: 2025-01-08, 16:10 UTC But, after installing by example a new plugin (in my case, DirSizeCalc 2.22), by double-clicking the compressed file, the setting becomes:
It appends "\wlx\".Code: Select all
%COMMANDER_PATH%\plugins\wlx\
Not confirmed.jonathanpoulin wrote: 2025-01-08, 17:09 UTC I am now trying to install the plugin DiskDirW (Unicode) 1.2.4. I use the same way, by double-clicking on its compressed file I downloaded.
In the dialog that is opened by TC at that moment, I see that the path where it wants to install the plugin is:
Code: Select all
%COMMANDER_PATH%\plugins\wlx\diskdirW
64 bit (not tried that on 32 bit)tuska wrote: 2025-01-08, 21:22 UTC Which version of TC & 32 Bit or 64 Bit did you have this experience with?
Oh! Thanks for all those tests Peter! So, there are some things not okay there.petermad wrote: 2025-01-09, 00:59 UTC BUT if I use pluginbasedir=%COMMANDER_PATH%\plugins\wlx
Then:
wlx plugins will be installed in: %COMMANDER_PATH%\plugins\wlx
wcx plugins will be installed in: %COMMANDER_PATH%\plugins\wlx (unexpected)
wdx plugins will be installed in: %COMMANDER_PATH%\plugins\wlx (unexpected)
wfx plugins will be installed in: %COMMANDER_PATH%\plugins\wlx\wfx
Okay! Good to know! Is it a new thing? By the way, I just realized something. I have the Imagine plugin installed. It seems that this plugin is kind of a "hybrid" one (Packer AND Lister plugin if I can say) because I see files Imagine.wcx64 and Imagine.wlx64 in its directory. Could this be the problem here?ghisler(Author) wrote: 2025-01-09, 08:33 UTC Plugin installation doesn't just take PluginBasedir and puts the plugin there - it looks for plugins of similar type and then tries to put the new plugin there too. For example, I have content plugins in PluginBasedir\content\pluginname, and installing a new content plugin will suggest to put it under "content" too. However, this should not change PluginBasedir itself.
Yes, simple, and this is always what I understood.ghisler(Author) wrote: 2025-01-09, 08:33 UTC I have now tried with a fresh wincmd.ini, and when don't change the suggested destination, plugins are all put in <program path>\plugins followed by the plugin type (e.g. wdx), and PluginBasedir is saved without the plugin type.
If I find out the scenario for PluginBasedir to have "\wlx\" appended, I'll let you know. But, again, is it possible that a plugin with 2 or more types (ex.: containing a .wcx and .wlx file), like Imagine, be our issue here?ghisler(Author) wrote: 2025-01-09, 08:33 UTC In a second test, I changed the path from <program path>\plugins\wdx\Dirsizecalc to c:\plugins\wdx\Dirsizecalc and PluginBasedir was stored as c:\plugins. I then installed a Lister plugin, it was put in c:\plugins\wlx\pluginname and PluginBasedir remained unchanged as c:\plugins.
Can anyone find a way to install a plugin where PluginBasedir is stored with sdx/wlx etc. appended?
Okay, I think I just find the bug! I tried to rename temporarily the file Imagine.wcx64 to Imagine.wcx64.bak. After that, all seems to work as expected!jonathanpoulin wrote: 2025-01-09, 11:51 UTC It seems that this plugin is kind of a "hybrid" one (Packer AND Lister plugin if I can say) because I see files Imagine.wcx64 and Imagine.wlx64 in its directory. Could this be the problem here?
That explains the unexpected results marked with red in my previous post. I have wlx plugins where there are also .wcx and/or .wdx files inside the plugin directory (Imagine, DirSizeCalc Charts).it looks for plugins of similar type and then tries to put the new plugin there too
I don't know what made the setting PluginBaseDir changed automatically, what was the steps I did. I put some time again this morning trying to reproduce to no avail. But, there is something for sure within TC that "plays" with that setting.tuska wrote: 2025-01-09, 14:16 UTC I don't understand why a change should be necessary here,
just because a user, for a reason that he cannot yet find,
installed in a different path than expected and allegedly
a parameter (set path) in the wincmd.ini was changed afterwards.
And yes, I am maybe just a user... BUT I take my own time to report bugs, like this one, and to try to reproduce it over and over again, in order to make a software I like, TC, better in quality.tuska wrote: 2025-01-09, 14:16 UTC I don't understand why a change should be necessary here,
just because a user, for a reason that he cannot yet find,