Comments, questions, bug reports, etc.
Skyblue
Posts: 26 Joined: Fri Apr 08, 2016 7:12 am
Post
by Skyblue » Thu Apr 06, 2023 8:15 pm
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.
synchronicity
Site Admin
Posts: 474 Joined: Sun Aug 02, 2015 10:31 pm
Post
by synchronicity » Thu Apr 06, 2023 8:27 pm
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.
Skyblue
Posts: 26 Joined: Fri Apr 08, 2016 7:12 am
Post
by Skyblue » Fri Apr 07, 2023 5:48 pm
Hi synchronicity,
Thanks. This method could be used to consolidate \ merge base and delta wim files.
VirgilioHuseby
Posts: 1 Joined: Wed Apr 12, 2023 8:31 am
Post
by VirgilioHuseby » Wed Apr 12, 2023 8:33 am
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.
Skyblue
Posts: 26 Joined: Fri Apr 08, 2016 7:12 am
Post
by Skyblue » Mon Apr 17, 2023 7:32 pm
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.