Is there a 'MSI plugin' for TC 64bit?

Discuss and announce Total Commander plugins, addons and other useful tools here, both their usage and their development.

Moderators: white, Hacker, petermad, Stefan2

TW
Senior Member
Senior Member
Posts: 383
Joined: 2005-01-19, 13:35 UTC

Post by *TW »

Dec wrote:
TW wrote:the development of wcx32host seems to be dead.
There is another one WCX32Host - http://tc4shell.com/binary/decTC32HostSetup.exe
good to know, will give it a try, thanks a lot!
licenced and happy TC user since 1994 (#11xx)
User avatar
deus-ex
Power Member
Power Member
Posts: 969
Joined: 2003-02-10, 17:45 UTC

Post by *deus-ex »

Dec wrote:There is another one WCX32Host - http://tc4shell.com/binary/decTC32HostSetup.exe
Thanks for the hint, this wcx32host actually works great.

Here are my first impressions:
  • Filesize of decTC32HostSetup.exe is ~7MB which is rather huge (may be due to the used programming language, compiler, compiler settings).
  • decTC32HostSetup requires you to point to the location of wincmd.ini. You are then presented with a listing of all installed wcx32-plugins, derived from the packer section of your current wincmd.ini: http://i.imgur.com/c4caW6o.png
  • Each listed wcx32-plugin has a checkmark in front, allowing to individually exclude plugins from processing.
  • Choosing "Install for all users" or "Install for current user only" creates each a copy of the selected wcx32-plugins with the file extension .wcx64 and ~3.1 MB in file size. NOTE: These are not standard wcx64-plugins but require decTC32Host.exe for execution (see next item).
  • On every wcx64-plugin creation cylce the file decTC32Host.exe (~2 MB) is created in the default location %commander_path%\Plugins\decTC32Host\. This path may be changed from within the decTC32HostSetup interface and is stored in the Windows registry:

    Code: Select all

    REGEDIT4
    
    [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\WOW6432Node\CLSID\{2427A819-558F-4BB4-8103-D8AC75EE8D77}]
    @="TC4ShellHost Object"
    
    [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\WOW6432Node\CLSID\{2427A819-558F-4BB4-8103-D8AC75EE8D77}\LocalServer32]
    @="C:\\PROGRA~2\\TOTALC~1\\Plugins\\DECTC3~1\\DECTC3~1.EXE"
    
    [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\WOW6432Node\CLSID\{2427A819-558F-4BB4-8103-D8AC75EE8D77}\ProgID]
    @="decTC32Host.decTC32Host"
    
    [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\WOW6432Node\CLSID\{2427A819-558F-4BB4-8103-D8AC75EE8D77}\TypeLib]
    @="{2427A819-558F-4BB4-8103-D8AC75EE8D72}"
    
    [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\WOW6432Node\CLSID\{2427A819-558F-4BB4-8103-D8AC75EE8D77}\Version]
    @="1.0"
    Additional registry entries crerated by decTC32HostSetup:

    Code: Select all

    REGEDIT4
    
    [HKEY_CLASSES_ROOT\decTC32Host.decTC32Host]
    @="TC4ShellHost Object"
    
    [HKEY_CLASSES_ROOT\decTC32Host.decTC32Host\Clsid]
    @="{2427A819-558F-4BB4-8103-D8AC75EE8D77}"
    
    [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\decTC32Host.decTC32Host]
    @="TC4ShellHost Object"
    
    [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\decTC32Host.decTC32Host\Clsid]
    @="{2427A819-558F-4BB4-8103-D8AC75EE8D77}"
  • Executing such a wcx64-plugin calls decTC32Host.exe, which remains active during the windows session by the name "Host for 32 bit plugins (32 bit)": http://i.imgur.com/gFbmIRX.png
Dec
Member
Member
Posts: 115
Joined: 2006-11-23, 12:48 UTC

Post by *Dec »

deus-ex wrote:Filesize of decTC32HostSetup.exe is ~7MB which is rather huge
Are you serious? In 2016? People have a plan to travel to the Mars but you still calculate filesize.
User avatar
Hacker
Moderator
Moderator
Posts: 13063
Joined: 2003-02-06, 14:56 UTC
Location: Bratislava, Slovakia

Post by *Hacker »

Dec,
People have a plan to travel to the Mars but you still calculate filesize.
Especially people travelling to Mars need to make sure programs are efficient. ;)

Roman
Mal angenommen, du drückst Strg+F, wählst die FTP-Verbindung (mit gespeichertem Passwort), klickst aber nicht auf Verbinden, sondern fällst tot um.
Dec
Member
Member
Posts: 115
Joined: 2006-11-23, 12:48 UTC

Post by *Dec »

Hacker wrote:Especially people travelling to Mars need to make sure programs are efficient.
Could you explain me relationship between filesize (that consist of size of code and size of lot of resources) and efficiency?
User avatar
deus-ex
Power Member
Power Member
Posts: 969
Joined: 2003-02-10, 17:45 UTC

Post by *deus-ex »

Dec wrote:Are you serious? In 2016? People have a plan to travel to the Mars but you still calculate filesize.
Agreed, file size does not matter much these days. Though judging alone from the functions your tool provides I still find its file size to be rather huge. Therefore I guessed this is maybe related to the programming environment you have chosen.

I did not mean to lessen the value of your work in any way. For comparison the latest beta release of Total Commander 64-bit is ~8.1 MB, which in terms of provided functionality is in a complete different ball park.
Dec
Member
Member
Posts: 115
Joined: 2006-11-23, 12:48 UTC

Post by *Dec »

deus-ex wrote:latest beta release of Total Commander 64-bit is ~8.1
This is not correct comparison.

1) Are you developer? Do you know how file size grows when developer adds new functions?
2) Did you read my notice that file size consist of code and size of lot of resources. So my setup consist of
a) Sepup itself
b) Full copy of proxy dll (3.1M)
c) Full copy of host app (2M)

So naked files size of setup 1.9M (7-3-2).
User avatar
Hacker
Moderator
Moderator
Posts: 13063
Joined: 2003-02-06, 14:56 UTC
Location: Bratislava, Slovakia

Post by *Hacker »

Dec,
Could you explain me relationship between filesize (that consist of size of code and size of lot of resources) and efficiency?
Yes of course. Create a "Hello world!" program in assembly and in AutoHotkey. Compile both and measure the file size and measure the performance. Efficiency would be the performance divided by the file size.
Given a specific function that a program should perform, it is usually most efficient to create the smallest program possible. You do not need to load the printer drivers nor use Direct3D directly to create that Hello World! message but some programs may initialize those interfaces by default. Some programs might use one function from a DLL but the DLL may be statically linked and several MB large while only a few KB would be necessary. Etc.
If you are planning a mission to Mars, you need software that does its job and is as humanly possible bug free. Additional complexity and bloat, like a Windows 10 update reminder or an automatic wallpaper changer are not something you would need nor like to encounter. Remove the notification and the changer from the code, the code gets smaller and faster, thus more efficient.
Of course you can write larger code that is faster

Code: Select all

Sleep, 1
Sleep, 1
[1000x the same line]
Sleep, 1
and smaller code that is slower

Code: Select all

Sleep, 2000
(unless a good optimizer does away with the multiple Sleeps).
You can also instruct a compiler to compile for speed instead of size (which is not always reliable) but the difference in the code size is not, say, tenfold.
So, as I implied, a 10 KB EXE and a 100 MB EXE might do same thing but I would expect the 100 MB to load slower and contain unnecessary stuff that would slow the running of the program itself down thus lowering its performance.

HTH
Roman
Mal angenommen, du drückst Strg+F, wählst die FTP-Verbindung (mit gespeichertem Passwort), klickst aber nicht auf Verbinden, sondern fällst tot um.
User avatar
deus-ex
Power Member
Power Member
Posts: 969
Joined: 2003-02-10, 17:45 UTC

Post by *deus-ex »

Dec wrote:Did you read my notice that file size consist of code and size of lot of resources.
I do not know what you are referring to, at least in this thread you did not mention anything of that.

Anyway, I cannot understand why you invest so much time and energy in what is only meant as a little side mark in my review. You defend yourself while you have not being attacked. And you do not seem to notice the positive things I wrote about your nice tool.

Again, I do not blame you for the file size of the tool. I do not know what caused the file to become this big, so how could I blame you for that? I find your tool to be working great, and I definitely will recommend it to other users of Total Commander.
TW
Senior Member
Senior Member
Posts: 383
Joined: 2005-01-19, 13:35 UTC

Post by *TW »

deus-ex wrote: Anyway, I cannot understand why you invest so much time and energy in what is only meant as a little side mark in my review. You defend yourself while you have not being attacked. And you do not seem to notice the positive things I wrote about your nice tool.
ah... guys, this happens all the time in the net. :wink:
because of misunderstandings, english not being the native language or whatever.
licenced and happy TC user since 1994 (#11xx)
User avatar
MVV
Power Member
Power Member
Posts: 8702
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Post by *MVV »

I've desired to write my own 64-to-32 bit wrapper and after a red-eye weekend I have a beta version of my Wcx6432 plugin wrapper which currently allows listing and extracting from archives.
Last edited by MVV on 2016-06-14, 09:03 UTC, edited 1 time in total.
User avatar
deus-ex
Power Member
Power Member
Posts: 969
Joined: 2003-02-10, 17:45 UTC

Post by *deus-ex »

Hi MVV,

you wrapper adds an quite impressive statement to the file size discussion.
User avatar
MVV
Power Member
Power Member
Posts: 8702
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Post by *MVV »

Thank you, I know it. :D
User avatar
Ovg
Power Member
Power Member
Posts: 756
Joined: 2014-01-06, 16:26 UTC

Post by *Ovg »

2jj42

Try TotalObserver plugin http://ghisler.ch/board/viewtopic.php?t=42747

" ... Supported formats:

- Installation packages
- Installation packages made with NSIS
- MSI packages for Windows Installer
- Installation packages made with Wise Installer
- Install Shield packages.
- Setup Factory packages. .... "
It's impossible to lead us astray for we don't care even to choose the way.
#259941, TC 11.01 x64, Windows 7 SP1 x64
User avatar
deus-ex
Power Member
Power Member
Posts: 969
Joined: 2003-02-10, 17:45 UTC

Post by *deus-ex »

Hi Ovg, picked the wrong thread? No "jj42" involved in the discussion here.
Post Reply