Total7zip
Moderators: Hacker, petermad, Stefan2, white
For 32-bit 7-zip (that's required for 32-bit TC):
For 64-bit 7-Zip (that's required for 64-bit TC and is optional for 32-bit TC under 64-bit Windows) fill attributes in the path64bit node in the same way.
You can use envvars in both attributes e.g. for specifying path relative to TC dir.
Code: Select all
<path path_7z_dll="F:\7-Zip\7z.dll" path_7zG_exe="F:\7-Zip\7zG.exe" />
You can use envvars in both attributes e.g. for specifying path relative to TC dir.
2MVV
Former xml:
<?
<path path_7z_dll="" path_7zG_exe="" />
<path64bit path_7zG_exe="" path_7z_dll="" />
?>
New xml
<path path_7z_dll="F:\7-Zip\7z.dll" path_7zG_exe="F:\7-Zip\7zG.exe" />
<path64bit path_7zG_exe="F:\7-Zip_64\7zG.exe" path_7z_dll="F:\7-Zip_64\7z.dll" />
It does not work saying it can't find 7z.
Any ideas?
Former xml:
<?
<path path_7z_dll="" path_7zG_exe="" />
<path64bit path_7zG_exe="" path_7z_dll="" />
?>
New xml
<path path_7z_dll="F:\7-Zip\7z.dll" path_7zG_exe="F:\7-Zip\7zG.exe" />
<path64bit path_7zG_exe="F:\7-Zip_64\7zG.exe" path_7z_dll="F:\7-Zip_64\7z.dll" />
It does not work saying it can't find 7z.
Any ideas?
License #1945
Windows 10 Pro x64
Version 22H2 (OS Build 19045.3930)
TC 11.00 x64 and x86, Everything 1.5.0.1366a x64, QAP 11.6.3.1 x64
Windows 10 Pro x64
Version 22H2 (OS Build 19045.3930)
TC 11.00 x64 and x86, Everything 1.5.0.1366a x64, QAP 11.6.3.1 x64
2jinsight
It works fine here with those paths.
Can you give the exact content of the error message?
It works fine here with those paths.
Can you give the exact content of the error message?
License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
2MVV
Two error boxes in sequence.
The first says "7-zip library is not found. Download 7-zip. http://www.7-zip.org/"
The second says "Error in packed file "The Name of the File To Be Opened""
I put back the original xml and return the 7-zip files to the Total&Zip plugin folder and the same file tried earlier opens.
Two error boxes in sequence.
The first says "7-zip library is not found. Download 7-zip. http://www.7-zip.org/"
The second says "Error in packed file "The Name of the File To Be Opened""
I put back the original xml and return the 7-zip files to the Total&Zip plugin folder and the same file tried earlier opens.
License #1945
Windows 10 Pro x64
Version 22H2 (OS Build 19045.3930)
TC 11.00 x64 and x86, Everything 1.5.0.1366a x64, QAP 11.6.3.1 x64
Windows 10 Pro x64
Version 22H2 (OS Build 19045.3930)
TC 11.00 x64 and x86, Everything 1.5.0.1366a x64, QAP 11.6.3.1 x64
Did you restart TC between editing the xml file and moving the 7zip files? - you have to do that, or else you have to remove the plugin from memory using the cm_UnloadPlugins command.
License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
This is how my config looks (I've cut some nodes):
And yes, you have to edit XML when plugin is not loaded, e.g. open it for editing, close TC, save file and start TC again.
Code: Select all
<?xml version="1.0"?>
<settings>
...
<path path_7z_dll="%ProgramFiles%\7-Zip\7z.dll" path_7zG_exe="%ProgramFiles%\7-Zip\7zG.exe" />
<path64bit path_7zG_exe="" path_7z_dll="" />
...
<passwords save="0" />
<formats save="1">
...
</formats>
<formatsDisabled>
<format description="PE" guid="{23170F69-40C1-278A-1000-000110DD0000}" />
</formatsDisabled>
</settings>
2MVV
Once I saw your xml code:
...
<path path_7z_dll="%ProgramFiles%\7-Zip\7z.dll" path_7zG_exe="%ProgramFiles%\7-Zip\7zG.exe" />
<path64bit path_7zG_exe="" path_7z_dll="" />
...
I changed my xml code from
<path path_7z_dll="F:\7-Zip\7z.dll" path_7zG_exe="F:\7-Zip\7zG.exe" />
<path64bit path_7zG_exe="F:\7-Zip_64\7zG.exe" path_7z_dll="F:\7-Zip_64\7z.dll" />
to
<path64bit path_7zG_exe="F:\7-Zip_64\7zG.exe" path_7z_dll="F:\7-Zip_64\7z.dll" />
It then worked!
Thanks very much.
Once I saw your xml code:
...
<path path_7z_dll="%ProgramFiles%\7-Zip\7z.dll" path_7zG_exe="%ProgramFiles%\7-Zip\7zG.exe" />
<path64bit path_7zG_exe="" path_7z_dll="" />
...
I changed my xml code from
<path path_7z_dll="F:\7-Zip\7z.dll" path_7zG_exe="F:\7-Zip\7zG.exe" />
<path64bit path_7zG_exe="F:\7-Zip_64\7zG.exe" path_7z_dll="F:\7-Zip_64\7z.dll" />
to
<path64bit path_7zG_exe="F:\7-Zip_64\7zG.exe" path_7z_dll="F:\7-Zip_64\7z.dll" />
It then worked!
Thanks very much.
License #1945
Windows 10 Pro x64
Version 22H2 (OS Build 19045.3930)
TC 11.00 x64 and x86, Everything 1.5.0.1366a x64, QAP 11.6.3.1 x64
Windows 10 Pro x64
Version 22H2 (OS Build 19045.3930)
TC 11.00 x64 and x86, Everything 1.5.0.1366a x64, QAP 11.6.3.1 x64
Re: Total7zip
I need to pack and unpack directories/files with NTFS permissions (WIM-archives). With 7-Zip itself all works fine. The 7-Zip's console version suggests "-sni" parameter for that. The parameter must be specified while unpacking also. The GUI version suggests a checkbox.
I use installed 7-Zip app with proper patching Total7zip.xml to point to that external 7-Zip. While packing a directory to WIM-archive with the plugin when I press "Configure" and then choose "wim" format in 7-Zip's configuration dialog, after pressing "OK" error appears about impossibility to access temp file due to it's used by another progpam. When packing into 7z-archive (i.e. not WIM-archive) and doing all steps the same there is no problem. What might be wrong?
I use installed 7-Zip app with proper patching Total7zip.xml to point to that external 7-Zip. While packing a directory to WIM-archive with the plugin when I press "Configure" and then choose "wim" format in 7-Zip's configuration dialog, after pressing "OK" error appears about impossibility to access temp file due to it's used by another progpam. When packing into 7z-archive (i.e. not WIM-archive) and doing all steps the same there is no problem. What might be wrong?
Re: Total7zip
You have to assign the wim extension in the TC packer dialog to the Total7zip plugin.Akon wrote: 2018-09-30, 07:20 UTC I need to pack and unpack directories/files with NTFS permissions (WIM-archives). With 7-Zip itself all works fine. The 7-Zip's console version suggests "-sni" parameter for that. The parameter must be specified while unpacking also. The GUI version suggests a checkbox.
I use installed 7-Zip app with proper patching Total7zip.xml to point to that external 7-Zip. While packing a directory to WIM-archive with the plugin when I press "Configure" and then choose "wim" format in 7-Zip's configuration dialog, after pressing "OK" error appears about impossibility to access temp file due to it's used by another progpam. When packing into 7z-archive (i.e. not WIM-archive) and doing all steps the same there is no problem. What might be wrong?
Then you can select that format while creating an archive and there is no need for the config step.
It works for me without problems for creating WIM archives.
Windows 11 Home, Version 24H2 (OS Build 26100.3915)
TC 11.51 x64 / x86
Everything 1.5.0.1391a (x64), Everything Toolbar 1.5.2.0, Listary Pro 6.3.2.88
QAP 11.6.4.2.1 x64
TC 11.51 x64 / x86
Everything 1.5.0.1391a (x64), Everything Toolbar 1.5.2.0, Listary Pro 6.3.2.88
QAP 11.6.4.2.1 x64
Re: Total7zip
It was done there. TC's "Pack files" diaolg contains command like this: "wim:e:\Test-7zip\Dir.wim". Further "Configure" button pressing needs to set packer flags, i.e. checkbox "Store files security".
I'm also interesting - how can I add flags to unpacker? To restore NTFS permissions I need that action. It seems there is no straightforward way since standard TC's dialog for unpacking contains no "Configure" button like for packing one.
And another doubt - when unpacking WIM-archive by TC's convenient way (Enter-and-Copy) - how to specify to restore NTFS permissions?
I'm also interesting - how can I add flags to unpacker? To restore NTFS permissions I need that action. It seems there is no straightforward way since standard TC's dialog for unpacking contains no "Configure" button like for packing one.
And another doubt - when unpacking WIM-archive by TC's convenient way (Enter-and-Copy) - how to specify to restore NTFS permissions?
Re: Total7zip
Does it mean that any 7-Zip CLI flags cannot be passed to underlying 7-Zip through Total7zip plugin?
Re: Total7zip
And a bit offtop: What does mean a number (735 here) before TC's file accosiation:
[PackerPlugins]
7z=735,%COMMANDER_PATH%\Plugins\wcx\Total7zip\Total7zip.wcx
[PackerPlugins]
7z=735,%COMMANDER_PATH%\Plugins\wcx\Total7zip\Total7zip.wcx
Re: Total7zip
Akon wrote: 2018-09-30, 15:45 UTC And a bit offtop: What does mean a number (735 here) before TC's file accosiation:
[PackerPlugins]
7z=735,%COMMANDER_PATH%\Plugins\wcx\Total7zip\Total7zip.wcx
Antwort: by *petermad » Fri Jun 11, 2010 13:01
The number is the sum of all DLL capabilities.
Total Commander will add the appropriate number on the first load of the DLL (wcx).
https://www.ghisler.ch/wiki/index.php?title=GetPackerCaps
:::GetPackerCaps:::
1: Can create new archives
2: Can modify existing archives
4: Can handle multiple files in one archive
8: Can delete files from archive
16: Supports the options dialog
32: Supports packing in memory
64: Detects archive type by content
128: Allows searching for text in archives
256: Don't open with Enter, only with Ctrl+PgDn
512: Supports encryption
Re: Total7zip
Oh, its flag combination, thx for quick answer!