Fixed [Tc 11.00b8] Bug deleting files from zip with external 7zip

Bug reports will be moved here when the described bug has been fixed

Moderators: white, Hacker, petermad, Stefan2

Post Reply
Galizza
Member
Member
Posts: 167
Joined: 2018-09-07, 05:21 UTC

Fixed [Tc 11.00b8] Bug deleting files from zip with external 7zip

Post by *Galizza »

 
When deleting any file from a zip archive with external 7zip this error message appears.

"Cannot find external pack program! You need to install and configure
an external packer to handle this specific archive"

After closing this message Packer configuration (not Zip Packer) opens automatically.

Bug appears with my usual Wincmd.ini and with a fresh one.
Bug appears with 7z.exe & 7zG.exe.
Bug appears with any type of Zip file, created by 7Zip or not.
Bug appears with any type of file names, so is not related to names starting with spaces.
Bug appears with archives with only 1 file or archives with many files and directories.

Tested on Tc 11.00b8 32bits & 7Zip 23.01 32bits // Windows 10 22H2 32Bits

If you need more info please let me know, best regards.
 
Last edited by Galizza on 2023-06-28, 21:02 UTC, edited 1 time in total.
User avatar
Sir_SiLvA
Power Member
Power Member
Posts: 3299
Joined: 2003-05-06, 11:46 UTC

Re: [Tc 11.00b8] Bug deleting files from zip with external 7zip

Post by *Sir_SiLvA »

whats in your wincmd.ini for the following ?

Code: Select all

[Packer]
UnZIP= 
ZIP=
Hoecker sie sind raus!
Galizza
Member
Member
Posts: 167
Joined: 2018-09-07, 05:21 UTC

Re: [Tc 11.00b8] Bug deleting files from zip with external 7zip

Post by *Galizza »

 
I think that i have found a work around for this bug.

If i start Tc 11.00b8 with a fresh ini, and i select C:\Program Files\7-Zip\7zG.exe as Zip packer on configuration, this line appears on my Wincmd.ini

ZIP=C:\Program Files\7-Zip\7zG.exe

And bug appears anytime that i try to delete a file from a Zip archive.
 

But if i open again Zip packer configuration section, and add quotes to 7zG.exe path like this "C:\Program Files\7-Zip\7zG.exe" then this line appears on my Wincmd.ini

ZIP=""C:\Program Files\7-Zip\7zG.exe""

And files are deleted succesfully

Best regards.

Tested on Tc 11.00b8 32bits & 7Zip 23.01 32bits // Windows 10 22H2 32Bits
 
Last edited by Galizza on 2023-06-23, 06:42 UTC, edited 2 times in total.
Galizza
Member
Member
Posts: 167
Joined: 2018-09-07, 05:21 UTC

Re: [Tc 11.00b8] Bug deleting files from zip with external 7zip

Post by *Galizza »

Sir_SiLvA wrote: whats in your wincmd.ini for the following ?

Code: Select all

[Packer]
UnZIP= 
ZIP=
 
With these settings bug appears anytime i try to delete files from a Zip archive

Code: Select all

[Packer]
ZIP=C:\Program Files\7-Zip\7zG.exe
With these settings everything works fine

Code: Select all

[Packer]
ZIP=""C:\Program Files\7-Zip\7zG.exe""
Best Regards.

Tested on Tc 11.00b8 32bits & 7Zip 23.01 32bits // Windows 10 22H2 32Bits
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48088
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: [Tc 11.00b8] Bug deleting files from zip with external 7zip

Post by *ghisler(Author) »

The path to the program must indeed be put in double quotes when it contains spaces. I will add them when using the >> button. You will still get an error when just pasting the path because TC cannot know where the pameters begin.
Author of Total Commander
https://www.ghisler.com
Galizza
Member
Member
Posts: 167
Joined: 2018-09-07, 05:21 UTC

Re: Fixed [Tc 11.00b8] Bug deleting files from zip with external 7zip

Post by *Galizza »

Bug solved. Thanks
Tested on Tc 11.00b9 32Bits // Windows 10 22H2 32Bits
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48088
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: Fixed [Tc 11.00b8] Bug deleting files from zip with external 7zip

Post by *ghisler(Author) »

It now also works even without quotes! TC was cutting off extra parameters added by the user, e.g. to enable the mcu. These do not work when deleting, so they have to be removed.
Author of Total Commander
https://www.ghisler.com
Post Reply