Page 1 of 1

7-zip update 4.65

PostPosted: Sat Apr 10, 2010 2:33 pm
by matthias1955
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.

Re: 7-zip update 4.65

PostPosted: Sat Apr 10, 2010 5:12 pm
by gerundt
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?

Re: 7-zip update 4.65

PostPosted: Sat Apr 10, 2010 8:00 pm
by kimmov
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.

Re: 7-zip update 4.65

PostPosted: Sat Apr 10, 2010 8:31 pm
by matthias1955
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.

Re: 7-zip update 4.65

PostPosted: Sat Apr 10, 2010 10:49 pm
by kimmov
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.

Re: 7-zip update 4.65

PostPosted: Sun Apr 11, 2010 8:01 am
by matthias1955
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.

Re: 7-zip update 4.65

PostPosted: Sat Apr 17, 2010 4:54 pm
by jtuc
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.

Re: 7-zip update 4.65

PostPosted: Sat Apr 17, 2010 6:28 pm
by matthias1955
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.

Re: 7-zip update 4.65

PostPosted: Fri Apr 23, 2010 10:27 am
by matthias1955
I tested out all old functions are working as user expected as before.

Re: 7-zip update 4.65

PostPosted: Thu Feb 26, 2015 9:43 am
by dmi3k
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.