We tried to identify the required settings which can associate the files with icon to the two option mentioned and we agreed to have these association to ALLUsers on the machine which reflects on the second column.
When we import the required registry to associate these two file extensions we do not see icons associated to them and when we launched the application and we have to redo the setting on the UI to get the file associated. When we zip it wit .7zip or .zip file after importing the required registry on top of the install given source it shows as below as a file association icons do not show.
This is same issue with the current production application 7Zip 15.14 64bit and the new version which is 7Zip 19.0 installed.
In the attchment is the File assciation icons that don't show
This how it post to display:
You can try this:
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\Applications\7zFM.exe\DefaultIcon]
@=hex(2):43,00,3a,00,5c,00,57,00,69,00,6e,00,64,00,6f,00,77,00,73,00,5c,00,73,\
00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,69,00,6d,00,61,00,67,00,\
65,00,72,00,65,00,73,00,2e,00,64,00,6c,00,6c,00,2c,00,31,00,36,00,35,00,00,\
00
[HKEY_CURRENT_USER\SOFTWARE\Classes\Applications\7zFM.exe\DefaultIcon]
@=hex(2):43,00,3a,00,5c,00,57,00,69,00,6e,00,64,00,6f,00,77,00,73,00,5c,00,73,\
00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,69,00,6d,00,61,00,67,00,\
65,00,72,00,65,00,73,00,2e,00,64,00,6c,00,6c,00,2c,00,31,00,36,00,35,00,00,\
00
[HKEY_USERS.DEFAULT\Software\Classes\Applications\zFM.exe\DefaultIcon]
@=hex(2):43,00,3a,00,5c,00,57,00,69,00,6e,00,64,00,6f,00,77,00,73,00,5c,00,73,\
00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,69,00,6d,00,61,00,67,00,\
65,00,72,00,65,00,73,00,2e,00,64,00,6c,00,6c,00,2c,00,31,00,36,00,35,00,00,\
00
Save it as a .reg file (e.g. 7zicon.reg) then double-click on it.
Logout/login and check. This may not work for an existing user and it may not work for any new users that login to the PC. On my PC, after using DefaultProgramsEditor (see below) and searching my registry, there are two entries that lead to my Windows SID which is why I say it may not work for existing users. Also, there isn't an entry under .Default in the registry, but I suspect if an entry is there, it'll create it for new users that login. The above mentioned registry keys simply point DefaultIcon to C:\Windows\System32\imageres.dll,165 which is the icon you want.
If this doesn't work, you can try DefaultProgramsEditor
https://web.archive.org/web/20130906181009/http://defaultprogramseditor.com/
You'll likely have to go further back in the Way Back Machine to get it.