ImageEn for Delphi and C++ Builder ImageEn for Delphi and C++ Builder

 

ImageEn Forum
Profile    Join    Active Topics    Forum FAQ    Search this forumSearch
Forum membership is Free!  Click Join to sign-up
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 ImageEn Library for Delphi, C++ and .Net
 ImageEn and IEvolution Support Forum
 iexSevenZip - how to add files to existing 7z archive
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

marek

17 Posts

Posted - Nov 21 2024 :  11:25:41  Show Profile  Reply
Last time I have found iexSevenZip and I enabled IESupportCompression.
I can create new archive without problem but I can not find out how to update an existing archive file (add new files).
I have found the following hint:

Update operation:

1) reads a.7z
2) creates new archive b.7z that using a.7z
3) renames b.7z to a.7z (if OK, and if you want it),

That why you still need IInArchive.

Could you help me with some example how to implement 2)


Greetings,
Marek

xequte

38619 Posts

Posted - Nov 24 2024 :  20:11:32  Show Profile  Reply
Hi Marek

ImageEn only supports reading of archives at this time.

Out of interest, I did try spend a little time to see if updating of existing archives could be implemented easily using the methods outlined at:

https://sourceforge.net/p/sevenzip/discussion/45798/thread/23ec65b4/
https://sourceforge.net/p/sevenzip/discussion/45798/thread/5d826307/

But it proved to be much more complex than I anticipated so it will need to remain on the to-do list until we have time to investigate it fully.



Nigel
Xequte Software
www.imageen.com
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
Jump To: