[Beta] installer bug

English support forum

Moderators: white, Hacker, petermad, Stefan2

User avatar
ts4242
Power Member
Power Member
Posts: 2081
Joined: 2004-02-02, 20:08 UTC
Contact:

[Beta] installer bug

Post by *ts4242 »

installer locates "wincmd.ini" inside Windows directory even if you specified the program directory while installing.

1- delete "HKEY_CURRENT_USER\Software\Ghisler" key.
2- delete "wincmd.ini" & "wcx_ftp.ini" from windows directory if they exist.
3- run TC installer
4- press "Change ini file location" button and select Program directory option.
5- complete the installer.
6- run TC
go to Help> About... you will see that the ini file are located in Windows directory not the program directory as you specified while installing.
also open Registry editor and go to "HKEY_CURRENT_USER\Software\Ghisler\Total Commander" and you will not find these values "IniFileName" & "FtpIniName"

BTW: if there was "wincmd.ini" inside Windows directory while installing this file will copy inside the TC folder and the 2 registry values will created.

My OS is WinME
User avatar
Sheepdog
Power Member
Power Member
Posts: 5150
Joined: 2003-12-18, 21:44 UTC
Location: Berlin, Germany
Contact:

Post by *Sheepdog »

Not confirmed here under XP SP2.

Maybe there is still the Reg-key:HKEY_LOCAL_MACHINE\SOFTWARE\Ghisler\Total Commander\
??

Or you run TC with a link withh commandline parameters?

sheepdog
"A common mistake that people make when trying to design something
completely foolproof is to underestimate the ingenuity of complete fools."
Douglas Adams
User avatar
ts4242
Power Member
Power Member
Posts: 2081
Joined: 2004-02-02, 20:08 UTC
Contact:

Post by *ts4242 »

Sheepdog wrote: Maybe there is still the Reg-key:HKEY_LOCAL_MACHINE\SOFTWARE\Ghisler\Total Commander\
??
I don't have "HKLM\SOFTWARE\Ghisler" key
Sheepdog wrote: Or you run TC with a link withh commandline parameters?
No, just double click from Windows explorer.
User avatar
Gral
Power Member
Power Member
Posts: 1468
Joined: 2005-01-26, 15:12 UTC

Post by *Gral »

Not confirmed on Win 98 SE
User avatar
Sir_SiLvA
Power Member
Power Member
Posts: 3300
Joined: 2003-05-06, 11:46 UTC

Re: [Beta] installer bug

Post by *Sir_SiLvA »

ts4242 wrote:My OS is WinME
[OT]Sorry but WinME was NEVER a OS it was just a "frickelei" between 98SE and 2000 :D [/OT]
Hoecker sie sind raus!
User avatar
JohnFredC
Power Member
Power Member
Posts: 886
Joined: 2003-03-14, 13:37 UTC
Location: Sarasota Florida

Post by *JohnFredC »

Public Beta 2, WinXP SP2


This may not be related to the beta... I had to install TC from scratch lately due to disk failure but my key is not working.

I have uninstalled TC, cleared all Ghisler entries from the registry, reinstalled, no luck. Tried all of the INIRELOC options, no luck.

Note that TC does properly locate my INI files which are in the same folder as the key.

Here are the nodes in the registry I have deleted before reinstalling TC:

HKEY_LOCAL_MACHINE\SOFTWARE\Ghisler
HKEY_USERS\S-1-5-21-1275210071-299502267-725345543-1003\Software\Ghisler

Is there some other registry string I should search for besides "ghisler"???
Licensed, Mouse-Centric, moving (slowly) toward Touch-centric
User avatar
ts4242
Power Member
Power Member
Posts: 2081
Joined: 2004-02-02, 20:08 UTC
Contact:

Post by *ts4242 »

Here are the correct steps to reproduce

1- delete "HKEY_CURRENT_USER\Software\Ghisler" key.
2- delete "wincmd.ini" & "wcx_ftp.ini" from windows directory if they exist.
3- run TC installer and install inside new folder not inside current installation.
4- press "Change ini file location" button and select Program directory option.
5- press "Next"
6- press "Next"
7- press "Back"
8- press "Back"
9- press "Change ini file location" again but don't change anything.
10- press "Next"
11- press "Next"
12- press "Next"

now run TC and go to Help> About... you will see that the ini file are located in Windows directory not the program directory as you specified while installing.
also open Registry editor and go to "HKEY_CURRENT_USER\Software\Ghisler\Total Commander" and you will not find these values "IniFileName" & "FtpIniName"
User avatar
Sheepdog
Power Member
Power Member
Posts: 5150
Joined: 2003-12-18, 21:44 UTC
Location: Berlin, Germany
Contact:

Post by *Sheepdog »

Confirmed.

ts4242 wrote: 4- press "Change ini file location" button and select Program directory option.
5- press "Next"
6- press "Next"
7- press "Back"
8- press "Back"
9- press "Change ini file location" again but don't change anything.
10- press "Next"
11- press "Next"
12- press "Next"
This way the change of ini-file location fails, because there is no Reg-Key created.


sheepdog
"A common mistake that people make when trying to design something
completely foolproof is to underestimate the ingenuity of complete fools."
Douglas Adams
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48108
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

I will check that, thanks. I cannot guarantee that it will be in TC 6.54 final, though. The installer has not been changed for years, and apparently no one ever had this problem...
Author of Total Commander
https://www.ghisler.com
User avatar
ts4242
Power Member
Power Member
Posts: 2081
Joined: 2004-02-02, 20:08 UTC
Contact:

Post by *ts4242 »

the same bug occur also if you select "User-defined directory" option in step 4
i cannot test now with "Documents and settings" option because i'm working under WinME
User avatar
ts4242
Power Member
Power Member
Posts: 2081
Joined: 2004-02-02, 20:08 UTC
Contact:

Post by *ts4242 »

belong to the same bug:
if the check box "Set this location for all users on this system" is checked when you go back you will find it unchecked.
User avatar
Sheepdog
Power Member
Power Member
Posts: 5150
Joined: 2003-12-18, 21:44 UTC
Location: Berlin, Germany
Contact:

Post by *Sheepdog »

ts4242 wrote:belong to the same bug:
if the check box "Set this location for all users on this system" is checked when you go back you will find it unchecked.
This seems rather consistent to me as TC-Installer apparently resets all values to default if you switch back to the 'change ini-file location' window.

But this is the only checkbox that actually displays the 'reset state'.

But I agree that it would be desirable that the Installer remembers all settings made on this dialog.

BTW even if I go back, change from Programdir to any other option and back to Programdir there is no Reg-key created.

sheepdog
"A common mistake that people make when trying to design something
completely foolproof is to underestimate the ingenuity of complete fools."
Douglas Adams
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48108
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

I found the problem - TC resets the variable "anything changed in location options" to false, so no settings are saved.
Author of Total Commander
https://www.ghisler.com
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48108
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

2ts4242
I have corrected this error in the installer now. If you want, you can try the new installer now:
https://plugins.ghisler.com/beta/install.exe.zip

This contains just the new install.exe, which you can put in tcm32pb2.exe by opening tcm32pb2.exe with Ctrl+PageDown and then copying the install.exe to it.

Thanks again for your bug report!
Author of Total Commander
https://www.ghisler.com
User avatar
Sheepdog
Power Member
Power Member
Posts: 5150
Joined: 2003-12-18, 21:44 UTC
Location: Berlin, Germany
Contact:

Post by *Sheepdog »

seems to work fine now.

sheepdog
"A common mistake that people make when trying to design something
completely foolproof is to underestimate the ingenuity of complete fools."
Douglas Adams
Post Reply