Support for external 7zip Packer

Here you can propose new features, make suggestions etc.

Moderators: white, sheep, Hacker, Stefan2

Post Reply
misvin
Junior Member
Junior Member
Posts: 51
Joined: 2010-08-14, 11:25 UTC

Support for external 7zip Packer

Post by *misvin » 2017-11-12, 23:18 UTC

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).

misvin
Junior Member
Junior Member
Posts: 51
Joined: 2010-08-14, 11:25 UTC

Post by *misvin » 2017-11-12, 23:40 UTC

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.
Last edited by misvin on 2017-11-13, 00:06 UTC, edited 1 time in total.

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

Post by *HolgerK » 2017-11-12, 23:59 UTC

Sorry I'd already deleted this post.

Regards
Holger
Make our planet great again

misvin
Junior Member
Junior Member
Posts: 51
Joined: 2010-08-14, 11:25 UTC

Post by *misvin » 2017-11-13, 00:14 UTC

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.

User avatar
MVV
Power Member
Power Member
Posts: 8121
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Post by *MVV » 2017-11-13, 07:10 UTC

Why don't you want to use packer plugins for 7Z? It is much more convenient than a binding to console packer...

misvin
Junior Member
Junior Member
Posts: 51
Joined: 2010-08-14, 11:25 UTC

Post by *misvin » 2017-11-13, 07:21 UTC

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) [...]
https://ghisler.ch/board/posting.php?mode=quote&p=326015

User avatar
MVV
Power Member
Power Member
Posts: 8121
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Post by *MVV » 2017-11-13, 09:00 UTC

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).

misvin
Junior Member
Junior Member
Posts: 51
Joined: 2010-08-14, 11:25 UTC

Post by *misvin » 2017-11-13, 10:22 UTC

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.

User avatar
MVV
Power Member
Power Member
Posts: 8121
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Post by *MVV » 2017-11-13, 11:25 UTC

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.

misvin
Junior Member
Junior Member
Posts: 51
Joined: 2010-08-14, 11:25 UTC

Post by *misvin » 2017-11-13, 13:04 UTC

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.

User avatar
MVV
Power Member
Power Member
Posts: 8121
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Post by *MVV » 2017-11-13, 13:48 UTC

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" />

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

Post by *HolgerK » 2017-11-13, 20:39 UTC

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
Make our planet great again

Post Reply