Total7zip Plugin Installer

Discussion, questions and support.
Message
Author
User avatar
Forez
Posts: 1423
Joined: 30.01.2016, 12:05
Location: In front of a PC monitor

Re: Total7zip Plugin Installer

#31 Post by Forez » 23.10.2023, 20:05

Please explain, what exactly is this plugin and what it does for the user - and if this has been implemented to FC by default
Last edited by Forez on 10.03.2026, 17:38, edited 1 time in total.

horst.epp
Posts: 532
Joined: 15.11.2008, 20:18

Re: Total7zip Plugin Installer

#32 Post by horst.epp » 24.10.2023, 10:56

The Total7zip plugin allows using the newest 7-zip versions in Total Commander and also in FC.
You can read and create a lot of archive formats in addition to the 7-zip format.
Among others, WIM for example, which allows to open Microsoft upgrade and backup files.
If it had been as default in FC, no one would need a plugin.
Windows 11 Home, Version 25H2 (OS Build 26200.8037)
Everything Version 1.5.0.1407a (x64), Everything Toolbar 2.3.0, Listary Pro 6.3.6.99
FreeCommander XE 2025 Build 946 64-bit donor

User avatar
danpeig
Posts: 18
Joined: 12.10.2020, 23:55
Contact:

Re: Total7zip Plugin Installer

#33 Post by danpeig » 04.10.2024, 21:46

Updated the script to 7-Zip version 24.08 (2024.08.11)

ags1905
Posts: 51
Joined: 30.07.2020, 17:01

Re: Total7zip Plugin Installer

#34 Post by ags1905 » 02.01.2025, 11:45

Hello!

Having some troubles in the past with this plugin, like always throwing an error here and there and generally not working, I took a closer look to understand it better in order to make it work for me. This plugin is badly written and unmaintained at the moment, but will have to do, since FC does not know how to handle certain archive types without it and we do not have anything better AFAIK.

The plugin's file arrangement was a mess, so I reorganized them following rules that are more sane:
- x32 and x64 are separate versions, so they are in separate directories;
- 7Zip and Total7Zip are very different softwares, so they are also separated, 7Zip having it's own subdirectory;

Advantages:
- easier to follow everything and keep track of what is going on
- easier to update 7Zip
- easier to move the plugin to another file manager
- easier to update the plugin's config files to a different version of FC

If someone is interested, here it is: https://easyupload.io/sm1wna
The file is set to expire in 30 days, the maximum that I could choose. If you know of a better site, say it and I will upload elsewhere.

How to configure it for your system:
- uncompress Total7Zip.zip
- pick the architecture you need, see Notes (2). I will refer to x32
- edit file Total7zip-x32\total7zip.xml
- refer to the screenshot below. There are 2 lines that need modification; each line has 2 variables. Edit the 4 paths so that they reflect the path of your system
If you want to also configure the x64 version for x64 FC - edit, save and close this file and copy/paste it in the Total7zip-x64 directory. They are the same.

Image

Notes:
1. I removed all the languages besides English, there's no point in me keeping all since I will never use them
2. use x32 version of the plugin for x32 FC, and x64 version for x64 FC;
3. I updated 7Zip to version 24.08, released 2024-08-11;
4. keep in mind that there are 2 big steps to configure for you to be able to use the plugin:
4.1. modification of the config file of the actual plugin for it to be able to find 7Zip;
4.2. config of the FC to be able to use the plugin - this step is not described in this post, only 4.1 is;
5. if you configured the 4 plugin paths correctly, and configured FC correctly and you still receive an error, it is because this plugin has a twisted logic hardcoded in it, so when you use it in FC it will create a file named Total7zip.xml in FC directory (where FreeCommander.exe is). Whenever you change something in those long paths in the screenshot above, this file will remain unchanged, containing the old paths to 7Zip and it won't work. So just delete the file, it will be recreated;
6. I used the plugin as it is described here for about 16 months now, and I did not have any problems.

User avatar
Forez
Posts: 1423
Joined: 30.01.2016, 12:05
Location: In front of a PC monitor

Re: Total7zip Plugin Installer

#35 Post by Forez » 10.03.2026, 17:47

After installing Windows to scratch and migrating to it my portables, I had a problem making this plugin work again on my new machine. When I finally managed to make it work, I was left with this tutorial about how to install it for a 64-bit portable version



#0] Download the latest version of this plugin from the

https://github.com/danpeig/freecommande ... r/releases

#1] Delete (if it exists) the old folder

C:\YOUR-PORTABLES\FreeCommander\Plugins\wcx\Total7zip\

#2] Delete (if it exists) the old config file that contains previous paths

C:\YOUR-PORTABLES\FreeCommander\Total7zip.xml

(It wil get automatically recreated with current paths later on)

#3] Close FreeCommander

#4] Execute as Administrator the

Code: Select all

total7zipinstaller.ps1
script from the root folder of archive holding the plugin

#5] As first path provide

C:\YOUR-PORTABLES\FreeCommander

i.e. without a backslash at the end

#6] As second path provide also

C:\YOUR-PORTABLES\FreeCommander

and not

C:\YOUR-PORTABLES\FreeCommander\FreeCommander.ini


#7] Just to be sure, check if the file

C:\YOUR-PORTABLES\FreeCommander\Plugins\wcx\Total7zip\total7zip.xml

contains the above paths i.e. if it has

Code: Select all

    <path path_7z_dll="C:\YOUR-PORTABLES\FreeCommander\Plugins\wcx\Total7zip\32\7z.dll" path_7zG_exe="C:\YOUR-PORTABLES\FreeCommander\Plugins\wcx\Total7zip\32\7zG.exe" />
    <path64bit path_7zG_exe="C:\YOUR-PORTABLES\FreeCommander\Plugins\wcx\Total7zip\64\7zG.exe" path_7z_dll="C:\YOUR-PORTABLES\FreeCommander\Plugins\wcx\Total7zip\64\7z.dll" />
    <compression save="1" sfx="C:\YOUR-PORTABLES\FreeCommander\Plugins\wcx\Total7zip\32\7z.sfx"
[...]
#8] Open FreeComander and click the icon

FreeCommander > Tools > Settings > Archiver plugins > WCX > +

and navigate to

C:\YOUR-PORTABLES\FreeCommander\Plugins\wcx\Total7zip\Total7zip.wcx64

(i.e. the WCX64 and not the WCX file)

and click the >>Open<< button

#9] When still in the same window select the

FreeCommander > Tools > Settings > Archiver plugins > WCX > Total7zip > Active

check-box for the newly created >>Total7zip<< entry - and deselect all others present there

#10] Paste in for its >>File Extensions<< field these file formats:

Code: Select all

7z.apfs.ar.arj.bz2.bzip2.cab.chm.cpio.cramfs.deb.dmg.elf.ext.ext2.ext3.ext4.fat.gpt.gz.gzip.hfs.hxs.ihex.iso.lit.lz.lzma.lzo.lzh.mbr.msi.nsis.ntfs.pe.ppmd.qcow.qcow2.rar.rpm.squashfs.swm.tar.udf.vdi.vhd.vhdx.vmdk.wim.xar.xz.z.zip
#11] Choose for its >>Self-extracting (SFX) stub<< field

C:\YOUR-PORTABLES\FreeCommander\FCSFXStub.exe


or

%FCSrcPath%\FCSFXStub.exe


#12] Either keep the original path notation for

FreeCommander > Tools > Settings > Archiver plugins > WCX > Total7zip > Plugin File

or re-write this path to

%FCSrcPath%\Plugins\wcx\Total7zip\Total7zip.wcx64

#13] Click either the >>OK<< or >>Apply<< button

#14] The next time you will navigate the middle of this window, at end of its available options there will be

FreeCommander > Tools > Settings > Archiver plugins > WCX > Total7zip > Supported options (735):


which when clicked will unfold list of features. Clicking them does not change anything - it is just an information in form of a drop-down dummy menu

#15] Delete from folders

C:\QQ\FreeCommander\Plugins\wcx\Total7zip\32\Lang\
C:\QQ\FreeCommander\Plugins\wcx\Total7zip\64\Lang\

all files except the

Code: Select all

en.ttt
if you use just English and do not like clutter

#16] If you decide to import your overall settings to installed 32-bit version of FreeCommander, then it will be tripping over these above 64-bit paths

#17] You can check the version of 7-Zip used by this plugin by opening the

C:\YOUR-PORTABLES\FreeCommander\Plugins\wcx\Total7zip\64\7zFM.exe

and then choosing

7-Zip > Help > About 7-Zip...

Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests