This forum uses cookies. Click X button to hide this message. What is stored? 
Total Commander Forum Index Total Commander
Forum - Public Discussion and Support
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Support for external 7zip Packer

 
Post new topic   Reply to topic    Total Commander Forum Index -> TC suggestions (English) Printable version
View previous topic :: View next topic  
Author Message
misvin
Junior Member
Junior Member


Joined: 14 Aug 2010
Posts: 30

PostPosted: Sun Nov 12, 2017 5:18 pm    Post subject: Support for external 7zip Packer Reply with quote

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).
Back to top
View user's profile Send private message
misvin
Junior Member
Junior Member


Joined: 14 Aug 2010
Posts: 30

PostPosted: Sun Nov 12, 2017 5:40 pm    Post subject: Reply with quote

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 Sun Nov 12, 2017 6:06 pm; edited 1 time in total
Back to top
View user's profile Send private message
HolgerK
Power Member
Power Member


Joined: 26 Jan 2006
Posts: 4673
Location: Europe, Aachen

PostPosted: Sun Nov 12, 2017 5:59 pm    Post subject: Reply with quote

Sorry I'd already deleted this post.

Regards
Holger
_________________
Make our planet great again
Back to top
View user's profile Send private message Send e-mail
misvin
Junior Member
Junior Member


Joined: 14 Aug 2010
Posts: 30

PostPosted: Sun Nov 12, 2017 6:14 pm    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message
MVV
Power Member
Power Member


Joined: 03 Aug 2008
Posts: 7902
Location: Russian Federation

PostPosted: Mon Nov 13, 2017 1:10 am    Post subject: Reply with quote

Why don't you want to use packer plugins for 7Z? It is much more convenient than a binding to console packer...
_________________
TCFS2 + TCFS2Tools: Full-screen mode for TC etc (forum)
TOTALCMD.NET: AskParam, CopyTree, NTLinks, Sudo, VirtualPanel…
Back to top
View user's profile Send private message Send e-mail
misvin
Junior Member
Junior Member


Joined: 14 Aug 2010
Posts: 30

PostPosted: Mon Nov 13, 2017 1:21 am    Post subject: Reply with quote

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
Back to top
View user's profile Send private message
MVV
Power Member
Power Member


Joined: 03 Aug 2008
Posts: 7902
Location: Russian Federation

PostPosted: Mon Nov 13, 2017 3:00 am    Post subject: Reply with quote

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).
_________________
TCFS2 + TCFS2Tools: Full-screen mode for TC etc (forum)
TOTALCMD.NET: AskParam, CopyTree, NTLinks, Sudo, VirtualPanel…
Back to top
View user's profile Send private message Send e-mail
misvin
Junior Member
Junior Member


Joined: 14 Aug 2010
Posts: 30

PostPosted: Mon Nov 13, 2017 4:22 am    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message
MVV
Power Member
Power Member


Joined: 03 Aug 2008
Posts: 7902
Location: Russian Federation

PostPosted: Mon Nov 13, 2017 5:25 am    Post subject: Reply with quote

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.
_________________
TCFS2 + TCFS2Tools: Full-screen mode for TC etc (forum)
TOTALCMD.NET: AskParam, CopyTree, NTLinks, Sudo, VirtualPanel…
Back to top
View user's profile Send private message Send e-mail
misvin
Junior Member
Junior Member


Joined: 14 Aug 2010
Posts: 30

PostPosted: Mon Nov 13, 2017 7:04 am    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message
MVV
Power Member
Power Member


Joined: 03 Aug 2008
Posts: 7902
Location: Russian Federation

PostPosted: Mon Nov 13, 2017 7:48 am    Post subject: Reply with quote

There is no need to update plugin for every 7-Zip version, it works with newer ones too. Please read the plugin description:
Quote:
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:
<path path_7z_dll="%ProgramFiles%\7-Zip\7z.dll" path_7zG_exe="%ProgramFiles%\7-Zip\7zG.exe" />

_________________
TCFS2 + TCFS2Tools: Full-screen mode for TC etc (forum)
TOTALCMD.NET: AskParam, CopyTree, NTLinks, Sudo, VirtualPanel…
Back to top
View user's profile Send private message Send e-mail
HolgerK
Power Member
Power Member


Joined: 26 Jan 2006
Posts: 4673
Location: Europe, Aachen

PostPosted: Mon Nov 13, 2017 2:39 pm    Post subject: Reply with quote

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
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic    Total Commander Forum Index -> TC suggestions (English) All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Impressum: This site is maintained by Ghisler Software GmbH

Using phpBB © 2001-2005 phpBB Group