Page 1 of 1

Exporting delta archives

Posted: Thu Apr 06, 2023 8:15 pm
by Skyblue
Hello,

wimlib permits exporting delta archives to the base archives, are there some restrictions in this type of operations? Can we combine delta archives with bases wim files with this method?

An example :

Code: Select all

wimcapture.cmd C:\folder test.wim
Scanning "C:\folder"
499 KiB scanned (3 files, 1 directories)
Using LZX compression with 1 thread
Archiving file data: 499 KiB of 499 KiB (100%) done
After adding and removing files to update C:\folder :

Code: Select all

wimcapture.cmd C:\folder test2.dwm --delta-from=test.wim
Capturing delta WIM based on "test.wim"
Scanning "C:\folder"
990 KiB scanned (6 files, 1 directories)
Using LZX compression with 1 thread
Archiving file data: 491 KiB of 491 KiB (100%) done
Exporting the dwm archive to the base wim file :

Code: Select all

wimexport.cmd test2.dwm 1 test.wim "updated-archive"
Using LZX compression with 1 thread
Archiving file data: 491 KiB of 491 KiB (100%) done
The second archive ( index 2 ) in test.wim stores the combination of .dwm file and the base wim archive.

Re: Exporting delta archives

Posted: Thu Apr 06, 2023 8:27 pm
by synchronicity
That should work fine. It's not something that is usually done, but I can't think of any reason why it wouldn't work.

Re: Exporting delta archives

Posted: Fri Apr 07, 2023 5:48 pm
by Skyblue
Hi synchronicity,

Thanks. This method could be used to consolidate \ merge base and delta wim files.

Re: Exporting delta archives

Posted: Wed Apr 12, 2023 8:33 am
by VirgilioHuseby
I have long read your forum as a reader, and finally decided to become a member of the forum, in case I have similar questions.

Re: Exporting delta archives

Posted: Mon Apr 17, 2023 7:32 pm
by Skyblue
Hi synchronicity,

Your reply in the thread "Deltaā€¯ WIM creation solves perfeclty my problem :
wimexport can be used create a standalone WIM from a delta WIM and its base WIMs. So e.g. in the previous example, 'wimexport wim3 1 standalone.wim --ref=wim1 --ref=wim2' would create a standalone WIM containing just the last image.
Thanks again.