7-zip update 4.65

Main development forum.

7-zip update 4.65

Postby matthias1955 » Sat Apr 10, 2010 2:33 pm

I just do an update for 7-zip (4.65).
decompress is working. Compress not.
Is that what Winmerge is doing actually?
Do I miss something, or can somebody supprort me, where compress is called.
matthias1955
 
Posts: 162
Joined: Wed Dec 17, 2008 1:55 pm

Re: 7-zip update 4.65

Postby gerundt » Sat Apr 10, 2010 5:12 pm

To be true, I never use the 7-zip support, but I thought it could be decompress and compress. But "7-Zip 4.57" was the last version which the plugin support. Maybe it is a problem of the out-dated plugin?
gerundt
Site Admin
 
Posts: 192
Joined: Wed Sep 24, 2008 8:47 am
Location: Germany

Re: 7-zip update 4.65

Postby kimmov » Sat Apr 10, 2010 8:00 pm

Yes, plugin does not support new versions of 7-zip.

There are few bug/feature request tickets/forum messages about this already. But as Jochen is only one really understanding that integration stuff there is no much we can do until he has time to update the plugin.
kimmov
 
Posts: 562
Joined: Thu Sep 11, 2008 8:51 pm
Location: Finland

Re: 7-zip update 4.65

Postby matthias1955 » Sat Apr 10, 2010 8:31 pm

7-zip support has nothing todo with plugins (unpacker/packer)!
I created the dll for 4.65.
So far I could digg in we extrac the archives to a temp folder and merge the result.
The changed files can be stored. But as soon we close the folder view, the changes had gone!
So the compress was never supported.
Result is a bug, we should not allow to merge the files.
matthias1955
 
Posts: 162
Joined: Wed Dec 17, 2008 1:55 pm

Re: 7-zip update 4.65

Postby kimmov » Sat Apr 10, 2010 10:49 pm

7-zip is supported through plugin. But it is different kind of plugin that those compare plugins.

Both compressing and decompressing work with supported version of 7-Zip. It is not enough to just update version numbers if internal workings/APIs of 7-zip have changed.
kimmov
 
Posts: 562
Joined: Thu Sep 11, 2008 8:51 pm
Location: Finland

Re: 7-zip update 4.65

Postby matthias1955 » Sun Apr 11, 2010 8:01 am

I just checked with WinMerge2.12.4 and 7zip 4.57 original downloaded.
It's not compressing!
you must close the foldercompare to get the wrong result.
matthias1955
 
Posts: 162
Joined: Wed Dec 17, 2008 1:55 pm

Re: 7-zip update 4.65

Postby jtuc » Sat Apr 17, 2010 4:54 pm

Matthias, compression is supported in a different way. You can select items in folder view and compress them to a new archive. See folder view context menu for the relevant commands. Edited files will indeed not go back to an existing archive. But editing still makes sense because you can create a new archive from the files in the temporary folders.

I think it has been a bit of an unfortunate decision to offer the option to share components of an installed copy of the 7-Zip application. Users experience is that after they update 7-Zip, WinMerge archive support is broken. There is a fix, but it does not help those who aren't aware of it.

Recent 7-Zip has a few conceptual changes causing some headache. I had seemingly working code about a year ago, but no time to hang on to it.
jtuc
Developer
 
Posts: 181
Joined: Sat Dec 20, 2008 11:05 am

Re: 7-zip update 4.65

Postby matthias1955 » Sat Apr 17, 2010 6:28 pm

Hi Jochen
That's the answerI was waiting for.
So it means my patch is working for 4.65

I was making searching for a function which do the update. From the manual was not apparent.
One solution, we can set ainfo more to our item. Then we know if it is a compressed file and pack it back to the archive while the folderview is closed.
Kimmov should take the decision.


Do kow what I have to change to compile Merge7zInstaller with VS2008. I get 3 LNK2019 errors.
matthias1955
 
Posts: 162
Joined: Wed Dec 17, 2008 1:55 pm

Re: 7-zip update 4.65

Postby matthias1955 » Fri Apr 23, 2010 10:27 am

I tested out all old functions are working as user expected as before.
matthias1955
 
Posts: 162
Joined: Wed Dec 17, 2008 1:55 pm

Re: 7-zip update 4.65

Postby dmi3k » Thu Feb 26, 2015 9:43 am

Sorry for raising this question again, but how do i pack back the files after saving? I edited the files and they are saved to temp folders. As someone specified above, I can save to a new 7z file, but apparently i only have one chance, as windows deletes the temp folder after I save one of the files.
My problem is that I opened two different 7z files and compared XMLs inside them. I need these files to be saved exactly back to respective 7z files with original filenames and extensions.
dmi3k
 
Posts: 1
Joined: Thu Feb 26, 2015 9:03 am


Return to Developers

Who is online

Users browsing this forum: No registered users and 2 guests