[TC11 64bit/installer]: Installer does not detect existing installation
Moderators: Hacker, petermad, Stefan2, white
[TC11 64bit/installer]: Installer does not detect existing installation
When upgrading from 10.52 64bit to 11 64bit, the installer didn't ask to replace the current installation. Instead, the default install dir was set to "c:\totalcmd11".
Maybe this is a leftover from beta installer?
CoolWater
Maybe this is a leftover from beta installer?
CoolWater
- ghisler(Author)
- Site Admin
- Posts: 50386
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: [TC11 64bit/installer]: Installer does not detect existing installation
The installer remembers the last install location in the registry:
HKEY_CURRENT_USER\Software\Total Commander
So when you installed the beta to c:\totalcmd11, it will use that the next time you install an update. It doesn't differentiate between old release version and beta version installs.
HKEY_CURRENT_USER\Software\Total Commander
So when you installed the beta to c:\totalcmd11, it will use that the next time you install an update. It doesn't differentiate between old release version and beta version installs.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Re: [TC11 64bit/installer]: Installer does not detect existing installation
This happened on my production system where I didn't install any TC 11 beta at all...
That's why I thought, it could be a leftover from a beta installer.
That's why I thought, it could be a leftover from a beta installer.
Re: [TC11 64bit/installer]: Installer does not detect existing installation
Shouldn't that be:HKEY_CURRENT_USER\Software\Total Commander
HKEY_CURRENT_USER\Software\Ghisler\Total Commander
Anyway - I don't have an InstallDir key in neither of the 3 Registry entries:
HKEY_CURRENT_USER\Software\Ghisler\Total Commander
HKEY_LOCAL_MACHINE\SOFTWARE\Ghisler\Total Commander
HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Ghisler\Total Commander
But still - the installer correctly suggests the C:\totalcmd folder when I use the 64bit version installer, but does not suggest anything when I use the 32bit version installer.
Is there a chance that TC uses the info in:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Totalcmd64
I do NOT have a similar entry:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Totalcmd
probably bexause I have never let the 32bit installer run the installation (I just extract the files from the installers manually).
License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
- ghisler(Author)
- Site Admin
- Posts: 50386
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: [TC11 64bit/installer]: Installer does not detect existing installation
The installer looks in the following locations for the last install dir:
HKEY_CURRENT_USER\Software\Ghisler\Total Commander
HKEY_LOCAL_MACHINE\SOFTWARE\Ghisler\Total Commander
HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Ghisler\Total Commander
If this doesn't return any results, it looks for the last wincmd.ini , for the key InstallDir in section [Configuration].
If this doesn't return anything either, it uses the value Dir from section [Destination] in INSTALL.INF. By default, this is set to %TotalcmdDefaultDir%, which will translate to c:\Program Files\totalcmd
I don't know where c:\totalcmd11 comes from, maybe it was in the wincmd.ini? Its location is determined from the same registry keys above, otherwise the default location is %APPDATA%\GHISLER\wincmd.ini
HKEY_CURRENT_USER\Software\Ghisler\Total Commander
HKEY_LOCAL_MACHINE\SOFTWARE\Ghisler\Total Commander
HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Ghisler\Total Commander
If this doesn't return any results, it looks for the last wincmd.ini , for the key InstallDir in section [Configuration].
If this doesn't return anything either, it uses the value Dir from section [Destination] in INSTALL.INF. By default, this is set to %TotalcmdDefaultDir%, which will translate to c:\Program Files\totalcmd
I don't know where c:\totalcmd11 comes from, maybe it was in the wincmd.ini? Its location is determined from the same registry keys above, otherwise the default location is %APPDATA%\GHISLER\wincmd.ini
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Re: [TC11 64bit/installer]: Installer does not detect existing installation
Thats really strange. My installation dir always was "d:\totalcmd".
I thought maybe the beta installer didn't want to overwrite a previous (final) installation. And maybe that part of the souce code is still in the final installer.
If I now re-run the installer, everything seems to be correct.
I thought maybe the beta installer didn't want to overwrite a previous (final) installation. And maybe that part of the souce code is still in the final installer.
If I now re-run the installer, everything seems to be correct.
- ghisler(Author)
- Site Admin
- Posts: 50386
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: [TC11 64bit/installer]: Installer does not detect existing installation
It remembers the last installation target in multiple places, see above.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
- ghisler(Author)
- Site Admin
- Posts: 50386
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: [TC11 64bit/installer]: Installer does not detect existing installation
Moderator message
Moved to will not be changed
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com