This is a PowerShell script for the automatic installation of the latest version of the Total7zip plugin in FreeCommander XE.
7-Zip is one of the most complete archivers supporting a huge range of compressed file types. Total7zip plugin does not require 7-Zip to be installed on the device.
Current 7-Zip library version
- 23.01
Tested with
- FreeCommander XE Build 894 (64-bit) and 880 (32-bit)
Features
- Automatic download and installation of the latest version of the Total7zip plugin.
- Automatic configuration of FreeCommander XE for the appropriate file associations (7z, xz, bzip2, gzip, tar, zip, arj, cab, chm, cpio, cramfs, deb, dmg, fat, hfs, iso, lzh, lzma, mbr, msi, nsis, ntfs, rar, rpm, squashfs, udf, vhd, wim, xar, z, gz, vhdx)
- Run again to update 7-Zip library to the latest version (if available).
- Automatic backup of the original configuration files before performing any changes.
- Works with 32-bit and 64-bit versions of Free Commander XE.
- Open Source for maximum transparency. You can also use it to learn PowerShell :)
Instructions
- Terminate the FreeCommander XE application
- Download total7zipinstaller.ps1 script. If you are running a portable version save the script inside the FreeCommander installation folder so it can detect the path automatically. The .ps1 file is the only one you need to download.
- Run total7zipinstaller.ps1 script: right click on the file (context menu) -> select Run with Powershell. Depending on your Windows configuration, you might have allow the execution or even 'unblock' the script (see troubleshooting).
- If you are running FreeCommander from a custom installation directory, enter the full directory path, otherwise just continue. The script will try to find the correct path.
- If your FreeCommander configuration files are in a custom directory, enter the full path for the configuration directory, otherwise just continue. The script will try to find the correct path.
- After the installation, start FreeCommander and test packing and unpacking a 7z file.
Uninstall
- From FreeCommander XE configuration menu, delete the entries for the 7Zip archiver plugin.
- Delete the Plugins/wcx/Total7zip folder from the FreeCommander XE installation folder (usually Program Files\Free Commander XE).
Troubleshooting
- Not able to download the Total7zip package: Download the Total7Zip.zip file from the repository. Place in the same folder as the script and run the script again.
- Script was blocked because it was not signed: Right click on the script file, select properties and 'unblock'.
- Optional admin rights: Are required to modify installed versions of FreeCommander. If you are using the portable version, you don't need admin rights. In this case, delete the "Self-elevate" portion of the script and run again.
- Can't find FreeCommander path: Depending on your system language settings, the input prompt for a custom install path will not work. In this case, edit the script file and add the paths manually. Required fields:
defaultInstallPath64
ordefaultInstallPath32
anddefaultConfigPath
.
FAQ
- Why did you disabled the built-in plugins? 7-Zip library is offers more configuration options and is compatible with more file types. I disabled the standard plugins to keep a consistent user experience among different packagers.
- Can I re-enable the built in plugins? Yes, all plugins can co-exist. If you don't change the order they will be used as prioritary for opening the specified file types. When packing you will always be presented all the options available.
- Is it safe to run a PowerShell script? Safer than a compiled binary file - you can see how it works even before downloading (from GitHub). I took extra precautions to explain all commands used in the script.
- How do I update the file associations for the plugin? Navigate to the Tools Menu->Settings->Archiver plugins->Total7zip.
Changelog
Version 1.6 (07/10/2023)
- Updated 7-Zip library to 23.01, latest stable.
- Downloads the 7-Zip plugin directly from GitHub repository, not from my personal website.
- Updated troubleshooting section.
Version 1.5 (06/02/2022)
- Updated 7-Zip library to 21.07 latest stable.
Version 1.4 (24/10/2021)
- Fixed 32-bit version default installation directory name
Version 1.3 (14/03/2021)
- Updated 7-Zip library to 21.01 alpha as several important bugs were fixed since version 19.
Version 1.2 (21/10/2020)
- Fixed BOM in the generated INI configuration files.
- Fixed installation on systems without the built-in archiver plugins configured.
- Automatic detection of installation path if the script is placed in the FreeCommander.exe installation folder (nice for Portable versions).
- Display the script version during startup.
Version 1.11 (20/10/2020)
- Added a final pause to prevent the PowerShell window from closing automatically in some systems.
Version 1.1 (19/10/2020)
- Automatic detection of the settings folder for portable installations
- Automatic detection of 32-bit and 64-bit FC versions
- Using %FCSrcPath% relative paths instead of hard-linked plugin locations ensuring full portability
- Improved user interface with some colors
Version 1.0 (15/10/2020)
- Initial release
Credits
- 7-Zip Copyright © 1999-2020 Igor Pavlov (https://www.7-zip.org/)
- Total 7-Zip plugin from TotalCmd.net (http://totalcmd.net/plugring/Total7zip.html)
- FreeCommander XE Copyright © 2004-2020 Marek Jasinski (www.freecommander.com)
Bugs and feature requests
- Please contact me at www.danbp.org
Comments
Need Ender 3 Pro BL Touch firmware
I have a n Ender 3 Pro with a 4.2.2. mainboard. I also have a Version 3.1 BL Touch level probe physically installed on the printer and wired correctly. I have tried to run the printer with all different versions of firmware available online for this probe, however I cannot get a good print out of it, and worse it often crashes the BL Touch probe tip sometimes either trying to drive the nozzle into the bed during homing, or moving to the standard home position, dropping the probe tip, then moving back over the build surface, with the probe tip extended, causing it to crash into the side of the bed. I "did" somehow get it to work once. It homed, then tested all nine positions on the build surface, then it proceeded to perform a perfect print. So I thought I finally had it, but during the very next test print it crashed the probe tip again. And I've already checked. The harness connections are perfect all the way down from the probe to the connector on the main board. No pinch or other such damage. Also, the connections at the mainboard connector are seated correctly and epoxied solid, not allowing the slightest motion that could cause an intermittent problem such as this. I don't know, is there some buffer on the mainboard that could be failing intermittently? Could the probe itself have some fault internally? Even as I write this I begin to doubt, by the behaviors exhibited, that it might be any firmware problem you might resolve through new firmware. But maybe you've dealt with this in the past and I'm wrong. Maybe it "is" a firmware problem you could resolve. Please let me know what you think as I'm determined to get a working level probe on this printer. I'm tired of manual levelling. I'm prepared to spend a bit more to finish this project successfully.
Skr v2 sd card not seen
Hi, I have just installed your firmware on my skr mini v2 everything seems fine except I can't see the sd card option to print from,
Am I missing somthing, ordo I need to enable and re flash?
Thanks