I use this 7zip wrapper for Delphi 7 which works fine
https://github.com/zedalaye/d7zip
It creates archive but overwrites files already inside
var
Arch: I7zOutArchive;
begin
Arch := CreateOutArchive(CLSID_CFormat7z);
SetCompressionLevel(Arch, 2);
Arch.AddFile('C:\Test.bin', 'Test.bin');
Arch.SaveToFile('C:\Test.zip');
end;
It removes all other files saved in 'Test.zip' Is there anyway i can keep files inside 'Test.zip' and write new file with this wrapper in Delphi 7