File icon not shown in Total Commander

English support forum

Moderators: white, Hacker, petermad, Stefan2

User avatar
Gral
Power Member
Power Member
Posts: 1460
Joined: 2005-01-26, 15:12 UTC

Re: File icon not shown in Total Commander

Post by *Gral »

The Author always advises in this case:
ghisler(Author) wrote: 2021-12-21, 11:37 UTC Please run my registry info tool from here:
https://www.totalcommander.ch/win/tools/registryinfo.zip

Enter the file extension which doesn't have an icon ....
Then please paste the results here in the forum.
User avatar
HolgerK
Power Member
Power Member
Posts: 5406
Joined: 2006-01-26, 22:15 UTC
Location: Europe, Aachen

Re: File icon not shown in Total Commander

Post by *HolgerK »

twoflowers wrote: 2022-04-26, 18:55 UTC I have a similar problem with .indd files (Indesign Document). They show fine in properties and explorer but i have no icon in total commander.

Image: https://i.ibb.co/qk5JZsY/indd.jpg
The properties dialog called from TC (<alt+Enter>) also shows only a default white icon!
Just a guess:
- Do you use the 32Bit version of TC with an 64 Bit installation of Indesign?
- Does TC show the correct icon if you use the 64Bit Version of TC (totalcmd64.exe)?
( https://www.ghisler.com/download.htm -> 64-bit+32-bit combined download )

tldr:
Adobe seems to install file icon resources in
64Bit: C:\Program Files\Common Files\Adobe\Shell\CS5.5\
or
32Bit: C:\Program Files (x86)\Common Files\Adobe\Shell\CS5.5\

If adobe messed up the registry with

[HKEY_CLASSES_ROOT\InDesign.Document\DefaultIcon]
@="%CommonProgramFiles%\Adobe\Shell\CS5.5\<icon-resource>"

the 32Bit TC (or any other 32Bit Program) would resolve %CommonProgramFiles% as "C:\Program Files (x86)\Common Files\"
while a 64Bit Process (64Bit TC or Explorer) would resolve %CommonProgramFiles% as "C:\Program Files\Common Files\"

Another cause could be that adobe provided the icons via a 64Bit ShellExtension which are not accessible from any 32Bit process.

Regards
Holger
Make our planet great again
twoflowers
Junior Member
Junior Member
Posts: 4
Joined: 2022-04-26, 18:49 UTC

Re: File icon not shown in Total Commander

Post by *twoflowers »

Here's the export. I'm not quite sure what to look for as there are many entries :(
icons.dll exists and has multiple icons

Code: Select all

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\InDesign.Document]
@="InDesign Document"

[HKEY_CLASSES_ROOT\InDesign.Document\DefaultIcon]
@="%1"

[HKEY_CLASSES_ROOT\InDesign.Document\Icons]

[HKEY_CLASSES_ROOT\InDesign.Document\Icons\1.0]
"IconIndex"=dword:ffffff78
"IconFile"="C:\\Program Files\\Common Files\\Adobe\\Shell\\CC.2022\\icons.dll"

[HKEY_CLASSES_ROOT\InDesign.Document\Icons\1.256]
"IconIndex"=dword:ffffff76
"IconFile"="C:\\Program Files\\Common Files\\Adobe\\Shell\\CC.2022\\icons.dll"

[HKEY_CLASSES_ROOT\InDesign.Document\Icons\1.5]
"IconIndex"=dword:ffffff77
"IconFile"="C:\\Program Files\\Common Files\\Adobe\\Shell\\CC.2022\\icons.dll"

[HKEY_CLASSES_ROOT\InDesign.Document\Icons\1.52]
"IconIndex"=dword:ffffff77
"IconFile"="C:\\Program Files\\Common Files\\Adobe\\Shell\\CC.2022\\icons.dll"

[HKEY_CLASSES_ROOT\InDesign.Document\Icons\17.0]
"IconIndex"=dword:ffffff31
"IconFile"="C:\\Program Files\\Common Files\\Adobe\\Shell\\CC.2022\\icons.dll"

[HKEY_CLASSES_ROOT\InDesign.Document\Icons\2.0]
"IconIndex"=dword:ffffff7d
"IconFile"="C:\\Program Files\\Common Files\\Adobe\\Shell\\CC.2022\\icons.dll"

[HKEY_CLASSES_ROOT\InDesign.Document\Icons\2.1]
"IconIndex"=dword:ffffff7d
"IconFile"="C:\\Program Files\\Common Files\\Adobe\\Shell\\CC.2022\\icons.dll"

[HKEY_CLASSES_ROOT\InDesign.Document\Icons\2.2]
"IconIndex"=dword:ffffff7d
"IconFile"="C:\\Program Files\\Common Files\\Adobe\\Shell\\CC.2022\\icons.dll"

[HKEY_CLASSES_ROOT\InDesign.Document\Icons\3.0]
"IconIndex"=dword:ffffff7c
"IconFile"="C:\\Program Files\\Common Files\\Adobe\\Shell\\CC.2022\\icons.dll"

[HKEY_CLASSES_ROOT\InDesign.Document\Icons\4.0]
"IconIndex"=dword:ffffff75
"IconFile"="C:\\Program Files\\Common Files\\Adobe\\Shell\\CC.2022\\icons.dll"

[HKEY_CLASSES_ROOT\InDesign.Document\Icons\5.0]
"IconIndex"=dword:ffffff74
"IconFile"="C:\\Program Files\\Common Files\\Adobe\\Shell\\CC.2022\\icons.dll"

[HKEY_CLASSES_ROOT\InDesign.Document\Icons\6.0]
"IconIndex"=dword:ffffff73
"IconFile"="C:\\Program Files\\Common Files\\Adobe\\Shell\\CC.2022\\icons.dll"

[HKEY_CLASSES_ROOT\InDesign.Document\Icons\7.0]
"IconIndex"=dword:ffffff72
"IconFile"="C:\\Program Files\\Common Files\\Adobe\\Shell\\CC.2022\\icons.dll"

[HKEY_CLASSES_ROOT\InDesign.Document\Icons\7.5]
"IconIndex"=dword:ffffff71
"IconFile"="C:\\Program Files\\Common Files\\Adobe\\Shell\\CC.2022\\icons.dll"

[HKEY_CLASSES_ROOT\InDesign.Document\Icons\CurrentVersion]
@="17.0"

[HKEY_CLASSES_ROOT\InDesign.Document\Icons\Default]
"IconIndex"=dword:ffffff7b
"IconFile"="C:\\Program Files\\Common Files\\Adobe\\Shell\\CC.2022\\icons.dll"

[HKEY_CLASSES_ROOT\InDesign.Document\Shell]

[HKEY_CLASSES_ROOT\InDesign.Document\Shell\Open]

[HKEY_CLASSES_ROOT\InDesign.Document\Shell\Open\Command]
@="\"C:\\Program Files\\Adobe\\Adobe InDesign 2022\\InDesign.exe\" \"%1\""

[HKEY_CLASSES_ROOT\InDesign.Document\ShellEx]

[HKEY_CLASSES_ROOT\InDesign.Document\ShellEx\IconHandler]
@="{53611C75-C9E9-11D3-8018-00C04FA375F6}"

twoflowers
Junior Member
Junior Member
Posts: 4
Joined: 2022-04-26, 18:49 UTC

Re: File icon not shown in Total Commander

Post by *twoflowers »

Gral wrote: 2022-04-26, 20:01 UTC The Author always advises in this case:
ghisler(Author) wrote: 2021-12-21, 11:37 UTC Please run my registry info tool from here:
https://www.totalcommander.ch/win/tools/registryinfo.zip

Enter the file extension which doesn't have an icon ....
Then please paste the results here in the forum.
Thanks. Here are the results:

Code: Select all

[HKEY_CLASSES_ROOT\.indd]
@="InDesign.Document"
=============================
[HKEY_CLASSES_ROOT\InDesign.Document]
@="InDesign Document"
[HKEY_CLASSES_ROOT\InDesign.Document\DefaultIcon]
@="%1"
[HKEY_CLASSES_ROOT\InDesign.Document\Icons]
[HKEY_CLASSES_ROOT\InDesign.Document\Icons\1.0]
"IconIndex"=dword:FFFFFF78
[HKEY_CLASSES_ROOT\InDesign.Document\Icons\1.256]
"IconIndex"=dword:FFFFFF76
[HKEY_CLASSES_ROOT\InDesign.Document\Icons\1.5]
"IconIndex"=dword:FFFFFF77
[HKEY_CLASSES_ROOT\InDesign.Document\Icons\1.52]
"IconIndex"=dword:FFFFFF77
[HKEY_CLASSES_ROOT\InDesign.Document\Icons\17.0]
"IconIndex"=dword:FFFFFF31
[HKEY_CLASSES_ROOT\InDesign.Document\Icons\2.0]
"IconIndex"=dword:FFFFFF7D
[HKEY_CLASSES_ROOT\InDesign.Document\Icons\2.1]
"IconIndex"=dword:FFFFFF7D
[HKEY_CLASSES_ROOT\InDesign.Document\Icons\2.2]
"IconIndex"=dword:FFFFFF7D
[HKEY_CLASSES_ROOT\InDesign.Document\Icons\3.0]
"IconIndex"=dword:FFFFFF7C
[HKEY_CLASSES_ROOT\InDesign.Document\Icons\4.0]
"IconIndex"=dword:FFFFFF75
[HKEY_CLASSES_ROOT\InDesign.Document\Icons\5.0]
"IconIndex"=dword:FFFFFF74
[HKEY_CLASSES_ROOT\InDesign.Document\Icons\6.0]
"IconIndex"=dword:FFFFFF73
[HKEY_CLASSES_ROOT\InDesign.Document\Icons\7.0]
"IconIndex"=dword:FFFFFF72
[HKEY_CLASSES_ROOT\InDesign.Document\Icons\7.5]
"IconIndex"=dword:FFFFFF71
[HKEY_CLASSES_ROOT\InDesign.Document\Icons\CurrentVersion]
@="17.0"
[HKEY_CLASSES_ROOT\InDesign.Document\Icons\Default]
"IconIndex"=dword:FFFFFF7B
[HKEY_CLASSES_ROOT\InDesign.Document\Shell]
[HKEY_CLASSES_ROOT\InDesign.Document\Shell\Open]
[HKEY_CLASSES_ROOT\InDesign.Document\Shell\Open\Command]
@=""C:\Program Files\Adobe\Adobe InDesign 2022\InDesign.exe" "%1""
[HKEY_CLASSES_ROOT\InDesign.Document\ShellEx]
[HKEY_CLASSES_ROOT\InDesign.Document\ShellEx\IconHandler]
@="{53611C75-C9E9-11D3-8018-00C04FA375F6}"
=============================
[Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.indd]
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.indd\OpenWithList]
"a"="InDesign.exe"
"b"="ab"
"MRUList"="abc"
"c"="a"
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.indd\OpenWithProgids]
"InDesign.Document"=hex(0):
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.indd\UserChoice]
"ProgId"="InDesign.Document"
"Hash"="LgH+S8F/5uo="
=============================
Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.indd\UserChoice="InDesign.Document"
twoflowers
Junior Member
Junior Member
Posts: 4
Joined: 2022-04-26, 18:49 UTC

Re: File icon not shown in Total Commander

Post by *twoflowers »

Sorry, you're correct, it shows a white icon in properties, mistook the program icon with the .indd icon, my fault. though it shows fine in windows explorer.

Thanks for the Explanation. Yes i'm using 32-Bit Total Commander and you're correct it shows the icon in the 64-bit Total Commander. Never noticed that, thanks.

Looking at the logs above, it seems it's pointing to the 64-bit icons.dll, so there is probably nothing i can do there to fix this for the 32-bit version?

HolgerK wrote: 2022-04-26, 20:59 UTC
twoflowers wrote: 2022-04-26, 18:55 UTC I have a similar problem with .indd files (Indesign Document). They show fine in properties and explorer but i have no icon in total commander.

Image: https://i.ibb.co/qk5JZsY/indd.jpg
The properties dialog called from TC (<alt+Enter>) also shows only a default white icon!
Just a guess:
- Do you use the 32Bit version of TC with an 64 Bit installation of Indesign?
- Does TC show the correct icon if you use the 64Bit Version of TC (totalcmd64.exe)?
( https://www.ghisler.com/download.htm -> 64-bit+32-bit combined download )

tldr:
Adobe seems to install file icon resources in
64Bit: C:\Program Files\Common Files\Adobe\Shell\CS5.5\
or
32Bit: C:\Program Files (x86)\Common Files\Adobe\Shell\CS5.5\

If adobe messed up the registry with

[HKEY_CLASSES_ROOT\InDesign.Document\DefaultIcon]
@="%CommonProgramFiles%\Adobe\Shell\CS5.5\<icon-resource>"

the 32Bit TC (or any other 32Bit Program) would resolve %CommonProgramFiles% as "C:\Program Files (x86)\Common Files\"
while a 64Bit Process (64Bit TC or Explorer) would resolve %CommonProgramFiles% as "C:\Program Files\Common Files\"

Another cause could be that adobe provided the icons via a 64Bit ShellExtension which are not accessible from any 32Bit process.

Regards
Holger
User avatar
HolgerK
Power Member
Power Member
Posts: 5406
Joined: 2006-01-26, 22:15 UTC
Location: Europe, Aachen

Re: File icon not shown in Total Commander

Post by *HolgerK »

Code: Select all

[HKEY_CLASSES_ROOT\InDesign.Document\ShellEx\IconHandler]
@="{53611C75-C9E9-11D3-8018-00C04FA375F6}"
Looks like adobe is using a 64Bit ShellExtension to provide the document Icons. :-(

TC would prefer a static icon assignment against the IconHandler if this were provided like this:

Code: Select all

[HKEY_CLASSES_ROOT\InDesign.Document\DefaultIcon]
@="C:\\Program Files\\Common Files\\Adobe\\Shell\\CC.2022\\icons.dll,<iconindex>"
instead of

Code: Select all

[HKEY_CLASSES_ROOT\InDesign.Document\DefaultIcon]
@="%1"
If you can't switch to TC 64 there may be a workaround using "Files->Internal Association (Total Commander Only)..."
1. "Files->Internal Association (Total Commander Only)..."
2. [Add]
3. specify FileType : "*.indd"
4. [OK]
5. [Change Icon] and Browse [>>] for Icon File: "C:\\Program Files\\Common Files\\Adobe\\Shell\\CC.2022\\icons.dll"
6. Select the correct icon for the indd-File from the Listbox
7. [OK]
8. under Actions: Open enter ** (two asterisk)
9. [OK]

from Help: "** A double asterisk opens the file with the default system association"

HTH
Holger
Make our planet great again
User avatar
Squadacheck
Junior Member
Junior Member
Posts: 4
Joined: 2022-08-10, 11:41 UTC

Re: File icon not shown in Total Commander

Post by *Squadacheck »

I have the same issue with .txr & .qsq files (Winshuttle app).
They show fine in properties and Windows explorer but i have no icons in Total Commander.
Please note I am not expert in registry, so please advice what to do step by step :wink:

Code: Select all

###Winshuttle STUDIO###
[HKEY_CLASSES_ROOT\.txr]
@="Winshuttle Studio Transaction"
[HKEY_CLASSES_ROOT\.txr\Winshuttle Studio Transaction]
[HKEY_CLASSES_ROOT\.txr\Winshuttle Studio Transaction\ShellNew]
=============================
[HKEY_CLASSES_ROOT\Winshuttle Studio Transaction]
@="Winshuttle Studio Transaction"
[HKEY_CLASSES_ROOT\Winshuttle Studio Transaction\DefaultIcon]
@="C:\WINDOWS\Installer\{B3C28221-A51E-42F3-9BB7-8AB3C5905C0B}\_3506DD38_0399_46F3_B78E_57A41037B0F8,0"
[HKEY_CLASSES_ROOT\Winshuttle Studio Transaction\shell]
[HKEY_CLASSES_ROOT\Winshuttle Studio Transaction\shell\Open]
@="Winshuttle Studio Transaction"
[HKEY_CLASSES_ROOT\Winshuttle Studio Transaction\shell\Open\command]
@=""C:\Program Files (x86)\Winshuttle\Studio\Winshuttle.Application.Initializer.exe" -Open"%1""
command=type(7)
=============================
[Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.txr]
@="Winshuttle STUDIO"
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.txr\OpenWithList]
"a"="Winshuttle Studio.exe"
"MRUList"="adcb"
"b"="a"
"c"="EXCEL.EXE"
"d"="Winshuttle.Application.Initializer.exe"
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.txr\OpenWithProgids]
"Winshuttle Studio Transaction"=hex(0):

###Winshuttle Query###
[HKEY_CLASSES_ROOT\.qsq]
@="Winshuttle Studio Query"
[HKEY_CLASSES_ROOT\.qsq\Winshuttle Studio Query]
[HKEY_CLASSES_ROOT\.qsq\Winshuttle Studio Query\ShellNew]
=============================
[HKEY_CLASSES_ROOT\Winshuttle Studio Query]
@="Winshuttle Studio Query"
[HKEY_CLASSES_ROOT\Winshuttle Studio Query\DefaultIcon]
@="C:\WINDOWS\Installer\{B3C28221-A51E-42F3-9BB7-8AB3C5905C0B}\_F1DE24C6_42DB_4343_9C8C_012BBB654038,0"
[HKEY_CLASSES_ROOT\Winshuttle Studio Query\shell]
[HKEY_CLASSES_ROOT\Winshuttle Studio Query\shell\Open]
@="Winshuttle Studio Query"
[HKEY_CLASSES_ROOT\Winshuttle Studio Query\shell\Open\command]
@=""C:\Program Files (x86)\Winshuttle\Studio\Winshuttle.Application.Initializer.exe" -Open"%1""
command=type(7)
=============================
[Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.qsq]
@="Winshuttle STUDIO"
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.qsq\OpenWithList]
"a"="Winshuttle Studio.exe"
"MRUList"="ab"
"b"="EXCEL.EXE"
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.qsq\OpenWithProgids]
"Winshuttle Studio Query"=hex(0):
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: File icon not shown in Total Commander

Post by *ghisler(Author) »

Thanks for the registry extract. From that list, there should be an icon file for .txr in directory
C:\WINDOWS\Installer\{B3C28221-A51E-42F3-9BB7-8AB3C5905C0B}
named
_3506DD38_0399_46F3_B78E_57A41037B0F8
The ,0 just means that the icon at index 0 should be used.

And for .qsq, the icon file should be in
C:\WINDOWS\Installer\{B3C28221-A51E-42F3-9BB7-8AB3C5905C0B}
named
_F1DE24C6_42DB_4343_9C8C_012BBB654038

Could you please send me these two files via e-mail to support at ghisler.com? They don't have an extension, so TC is probably struggling to get valid data from them. Normally icon files have extension .ico, .dll, .exe or more recently also .png.
Author of Total Commander
https://www.ghisler.com
User avatar
Squadacheck
Junior Member
Junior Member
Posts: 4
Joined: 2022-08-10, 11:41 UTC

Re: File icon not shown in Total Commander

Post by *Squadacheck »

OK, email sent.
Could you please send me these two files via e-mail
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: File icon not shown in Total Commander

Post by *ghisler(Author) »

Got them, thanks. They are normal dlls, so I wonder what else could be wrong...
Author of Total Commander
https://www.ghisler.com
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: File icon not shown in Total Commander

Post by *ghisler(Author) »

I have tried to reproduce the error here with the following .reg file added to the registry:

Code: Select all

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\.txr]
@="Winshuttle Studio Transaction"
[HKEY_CLASSES_ROOT\Winshuttle Studio Transaction]
@="Winshuttle Studio Transaction"
[HKEY_CLASSES_ROOT\Winshuttle Studio Transaction\DefaultIcon]
@="C:\\WINDOWS\\Installer\\{B3C28221-A51E-42F3-9BB7-8AB3C5905C0B}\\_3506DD38_0399_46F3_B78E_57A41037B0F8,0"
[HKEY_CLASSES_ROOT\Winshuttle Studio Transaction\shell]
[HKEY_CLASSES_ROOT\Winshuttle Studio Transaction\shell\Open]
@="Winshuttle Studio Transaction"
[HKEY_CLASSES_ROOT\Winshuttle Studio Transaction\shell\Open\command]
@=""C:\\Program Files (x86)\\Winshuttle\\Studio\\Winshuttle.Application.Initializer.exe" -Open"%1""
command=type(7)

[Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.txr]
@="Winshuttle STUDIO"
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.txr\OpenWithList]
"a"="Winshuttle Studio.exe"
"MRUList"="adcb"
"b"="a"
"c"="EXCEL.EXE"
"d"="Winshuttle.Application.Initializer.exe"
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.txr\OpenWithProgids]
"Winshuttle Studio Transaction"=hex(0):
Note: The file needs to be stored as Unicode UTF-16.
Then I copied the icon you sent me to
C:\WINDOWS\Installer\{B3C28221-A51E-42F3-9BB7-8AB3C5905C0B}\_3506DD38_0399_46F3_B78E_57A41037B0F8

However, the icons show up just fine in Total Commander.

Question:
Can you open the icon file _3506DD38_0399_46F3_B78E_57A41037B0F8 with F3, or do you get an error? It will appear as binary, but it will tell me whether Total Commander can access the file or not.
Author of Total Commander
https://www.ghisler.com
User avatar
Squadacheck
Junior Member
Junior Member
Posts: 4
Joined: 2022-08-10, 11:41 UTC

Re: File icon not shown in Total Commander

Post by *Squadacheck »

Can you open the icon file _3506DD38_0399_46F3_B78E_57A41037B0F8 with F3, or do you get an error?
Yes, I can open/review this file - seems like strange string of characters but it opens.
And .reg was successfully added to the registry. However still I see white replacement icons.
User avatar
Squadacheck
Junior Member
Junior Member
Posts: 4
Joined: 2022-08-10, 11:41 UTC

Re: File icon not shown in Total Commander

Post by *Squadacheck »

.reg was successfully added to the registry. However still I see white replacement icons.
Any news on that?
Still I am doing something wrong or TC is settings are not ok.
Can you advice?
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: File icon not shown in Total Commander

Post by *ghisler(Author) »

Sorry, I don't know what's wrong on your system. There is no demo version of WinShuttle Studio, so there is no way to test it myself. The registry entries seem to be correct, I cannot find any problems with them.

You can assign an icon just for Total Commander like this:
Menu Files - Internal associations - Add
*.txr
OK
Change icon
Pick the icon file
Leave all other fields empty
OK
Author of Total Commander
https://www.ghisler.com
Post Reply