8.0 final installation problem (?)

English support forum

Moderators: Hacker, petermad, Stefan2, white

Locked
Octopuss
Junior Member
Junior Member
Posts: 53
Joined: 2011-11-30, 13:15 UTC

8.0 final installation problem (?)

Post by *Octopuss »

Maybe I am doing something wrong and there's nothing wrong with TC.
I edited install64.inf so it's automatic and doesn't ask for stuff.

This is what I have there (only the relevant stuff):

Code: Select all

[Installation]
program=Total Commander 64+32bit
progver=8.0
progvermajor=8
progverminor=0128
progname=Total Commander
copyright=Copyright © 1993-2012 by Christian Ghisler, All Rights reserved
url=http://www.ghisler.com
publisher=Ghisler Software GmbH
updatecheck=totalcmd64.exe
// User for shortcut creation: Blank for current user, * for all users
UserName=*

[auto]
// Set auto=1 for automatic installation, hidden=1 for invisible installer, with parameters below and from [Installation]
auto=1
hidden=0
lang=1
alllang=1
iniloc=%ProgramFiles%\totalcmd
iniall=1
mkgroup=1
mkdesktop=1

[Versioncheck]
Vernum=2

[Not running]
1=WINDOW,Total Commander
2=TTOTAL_CMD,Total Commander
3=TTOTAL_CMD.UnicodeClass,Total Commander
4=TApplication,Total Commander,Total Commander

[Destination]
Dir=%ProgramFiles%\totalcmd
Ini=wincmd.ini,Configuration,InstallDir
I am obviously using 64bit Windows. I expected to see TC install in C:\Program Files\totalcmd\, but only the configuration files ended up there. The program is in C:\Program Files (x86)\totalcmd\ instead. That is not (as far as I know) what I set in the inf file.

Christian, is this working as intended, or is there a bug of some sort? I'd theorize the installator doesn't correctly "understand" system variables.
In 64bit Windows
%programfiles% is C:\Program Files\
%programfiles(x86)% is C:\Program Files (x86)\
umbra
Power Member
Power Member
Posts: 876
Joined: 2012-01-14, 20:41 UTC

Post by *umbra »

The combined installer (32+64) is a 32b application. That means %programfiles% = %programfiles(x86)% = 'C:\Program Files (x86)\'. You should use %ProgramW6432% instead. On 64b Windows it always points to 'C:\Program Files\'.
Windows 10 Pro x64, Windows 11 Pro x64
Octopuss
Junior Member
Junior Member
Posts: 53
Joined: 2011-11-30, 13:15 UTC

Post by *Octopuss »

But I executed install64.exe.
Octopuss
Junior Member
Junior Member
Posts: 53
Joined: 2011-11-30, 13:15 UTC

Post by *Octopuss »

Ok I downloaded just the 64bit version and tried again.

SAME RESULT.

By the way, the configuration files DO end up in correct folder, but the program itselt doesn't. Since all this is handled by the installed, I assume there is a bug.
Octopuss
Junior Member
Junior Member
Posts: 53
Joined: 2011-11-30, 13:15 UTC

Post by *Octopuss »

And I tried again setting the path as you suggested.

It still doesn't work.
umbra
Power Member
Power Member
Posts: 876
Joined: 2012-01-14, 20:41 UTC

Post by *umbra »

But I executed install64.exe.
In that case, %programfiles% should work too. But as I noted in your other thread, "Dir=" is ignored, if you already have TC on your computer.
Windows 10 Pro x64, Windows 11 Pro x64
Octopuss
Junior Member
Junior Member
Posts: 53
Joined: 2011-11-30, 13:15 UTC

Post by *Octopuss »

Well, I uninstalled it first too. Same result :(
umbra
Power Member
Power Member
Posts: 876
Joined: 2012-01-14, 20:41 UTC

Post by *umbra »

2Octopuss
Unfortunately that doesn't help. You have to manually delete its install path from registry. Search for these keys:

Code: Select all

HKEY_CURRENT_USER\Software\Ghisler\Total Commander
HKEY_CURRENT_USER\Software\Wow6432Node\Ghisler\Total Commander
HKEY_LOCAL_MACHINE\SOFTWARE\Ghisler\Total Commander
HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Ghisler\Total Commander
Windows 10 Pro x64, Windows 11 Pro x64
User avatar
white
Power Member
Power Member
Posts: 6018
Joined: 2003-11-19, 08:16 UTC
Location: Netherlands

Post by *white »

[mod]Thread locked.

Two threads about the same subject were opened by the topic starter. Discussion may continue in the other thread: Installation always ends up in \\Program Files.

White (moderator)
[/mod]
Locked