Page 1 of 1

Support for external 7zip Packer

Posted: 2017-11-12, 23:18 UTC
by misvin
I suggest to add support for external 7zip Packer (like ARJ, LHA, RAR, UC2 and ACE archivers).

Please see:
1. "Configuration - Packer" Dialog Box (and its Help page).
2. "Pack files" Dialog Box ("Pack" and "Dialog box: Pack" Help pages).

Posted: 2017-11-12, 23:40 UTC
by misvin
HolgerK wrote:Total Commander does not support packing of 7zip archives (only if you install a packer plugin).
What is a problem to add reference to external 7zip.exe like in cases of ARJ and LHA packers?
Why 7zip packer behavior should be different from other external packers?
Please note that today TC has built-in support for unpacking 7zip files.

Posted: 2017-11-12, 23:59 UTC
by HolgerK
Sorry I'd already deleted this post.

Regards
Holger

Posted: 2017-11-13, 00:14 UTC
by misvin
HolgerK wrote:Sorry I'd already deleted this post.

Regards
Holger
Are you agree that I will leave your note? It can be relevant for discussion with other forum members.

Posted: 2017-11-13, 07:10 UTC
by MVV
Why don't you want to use packer plugins for 7Z? It is much more convenient than a binding to console packer...

Posted: 2017-11-13, 07:21 UTC
by misvin
MVV wrote:Why don't you want to use packer plugins for 7Z? It is much more convenient than a binding to console packer...
1. Why 7zip packer behavior should be different from other external packers: ARJ, LHA, RAR, UC2 and ACE archivers?

2. What are advantages of using TC plugins for 7z vs 7-zip 16.04 installation (or its portable version)?
MVV wrote:Keep in mind that TC is able to unpack 7Z archives itself [...] Packing to 7Z is available via shell context menu (with standalone 7-Zip), or via TC pack dialog with plugin (Alt+F5) [...]
posting.php?mode=quote&p=326015

Posted: 2017-11-13, 09:00 UTC
by MVV
Well, I believe that support for console packers has been added to TC when there were no packer plugins, 4 or 5 of external packers are quite old and the last one (RAR) has closed format that prohibits third-party packer implementations.

Packer plugins provide much better integration into TC: control, progress indication, Unicode support etc. Some packer plugins simply use external packers, e.g. Total7zip just uses your standalone 7-Zip libraries.

And, you can always create a button that will pack selected files/folders using any desired external packer, and it will work almost like Alt+F5 dialog (the only difference is that Alt+F5 dialog excludes ignored and hidden files).

Posted: 2017-11-13, 10:22 UTC
by misvin
MVV wrote:Packer plugins provide much better integration into TC: control, progress indication, Unicode support etc. Some packer plugins simply use external packers, e.g. Total7zip just uses your standalone 7-Zip libraries.

And, you can always create a button that will pack selected files/folders using any desired external packer, and it will work almost like Alt+F5 dialog (the only difference is that Alt+F5 dialog excludes ignored and hidden files).
But you didn't answer my question: "What are advantages of using TC plugins for 7z vs 7-zip 16.04 installation (or its portable version)?"

If a user has installed 7-Zip version, he always can use the context menu from TC (Right-Click => 7-Zip) to add files to archive, and the user doesn't need "to create a button that will pack selected files/folders".

I see advantages in using Total Commander as an archiver shell (Total Commander can work with packed files as if they were directories...) but I don't understand when you talk about "much better integration into TC: control, progress indication, Unicode support etc" in case of 7-Zip. Please explain it.

Posted: 2017-11-13, 11:25 UTC
by MVV
misvin wrote:But you didn't answer my question: "What are advantages of using TC plugins for 7z vs 7-zip 16.04 installation (or its portable version)?"
Actually I did.
misvin wrote:I see advantages in using Total Commander as an archiver shell (Total Commander can work with packed files as if they were directories...) but I don't understand when you talk about "much better integration into TC: control, progress indication, Unicode support etc" in case of 7-Zip. Please explain it.
With plugin, you can pack files with same Alt+F5 dialog to 7Z just like to ZIP, set all pack options in a GUI dialog (Total7zip plugin shows the same options dialog as 7-Zip, older 7Zip plugin shows its own dialog), watch pack progress in the same TC pack progress window, send it to background (if supported by plugin) etc. Unicode is not a problem in case of external 7-Zip because it also supports it, but it is a problem in case of old external packers.
misvin wrote:If a user has installed 7-Zip version, he always can use the context menu from TC (Right-Click => 7-Zip) to add files to archive, and the user doesn't need "to create a button that will pack selected files/folders".
Well, buttonbar button (or assigned hotkey, or menu item) allows starting portable external packer.

Posted: 2017-11-13, 13:04 UTC
by misvin
Total7zip plugin latest version (0.8.5.6) was updated 5 years ago, and it based on 7-zip 9.22 version.

This is another reason to add support for external 7zip Packer in "Pack files" Dialog Box.

Posted: 2017-11-13, 13:48 UTC
by MVV
There is no need to update plugin for every 7-Zip version, it works with newer ones too. Please read the plugin description:
The plug-in uses original 7-zip files, and you can use the latest version of 7-zip to update the plug-in.
E.g. it works fine for me with 7-Zip 16.04, I've just fixed paths to 7-Zip in Total7zip.xml and removed old 7-Zip 9.22 files from plugin directory:

Code: Select all

<path path_7z_dll="%ProgramFiles%\7-Zip\7z.dll" path_7zG_exe="%ProgramFiles%\7-Zip\7zG.exe" />

Posted: 2017-11-13, 20:39 UTC
by HolgerK
misvin wrote:Are you agree that I will leave your note? It can be relevant for discussion with other forum members.
Nothing against.

BTW: Author's opinion on this from 2013-05-06
ghisler(Author) wrote:I don't see the advantage compared to the existing plugins. But including an unpack-only dll would help the "normal" users, though, who would get a 7zip download and don't know what to do with it. Advanced users could still install one of the 7zip plugins.
Regards
Holger

Re: Support for external 7zip Packer

Posted: 2020-01-08, 19:42 UTC
by NoSubstitute
I couldn't get the paths in the xml in the plugin dir to work with the current 7zip, so I put the new 7zip files inside the plugin dir.

Re: Support for external 7zip Packer

Posted: 2020-01-08, 20:58 UTC
by Usher
2NoSubstitute
If you want to use Total7zip plugin, you should study readme.rtf file from this package. There should be also xml template there.