Using wimlib add WinRE.wim to install.wim

Comments, questions, bug reports, etc.
synchronicity
Site Admin
Posts: 474
Joined: Sun Aug 02, 2015 10:31 pm

Re: Using wimlib add WinRE.wim to install.wim

Post by synchronicity »

I'll try to reproduce the problem using that ISO when I have a chance. Thanks.
asdddsa101
Posts: 15
Joined: Fri Jul 14, 2023 7:39 am

Re: Using wimlib add WinRE.wim to install.wim

Post by asdddsa101 »

synchronicity wrote: Fri Jul 21, 2023 5:56 am I'll try to reproduce the problem using that ISO when I have a chance. Thanks.
By the way, download as soon as possible. This download link seems to be time-sensitive.
You can also be found directly here. Hope to get good news soon. ;)
https://os.click/en/Windows:Windows_8:N ... ion:en:x64
asdddsa101
Posts: 15
Joined: Fri Jul 14, 2023 7:39 am

Re: Using wimlib add WinRE.wim to install.wim

Post by asdddsa101 »

About "wimlib-imagex split" command. I tested a total of 33 versions from v1.4.1 to v1.14.1. All with the same error, Software license terms not found. My SSD is going to die.

The install.wim made with wimlib v1.8.0 is fine. But when splitting the image, not only wimlib, but even the wim created by "DISM /split-image" command will have "Software license terms not found" error. This shows that v1.8.0 also has some problems.
synchronicity
Site Admin
Posts: 474
Joined: Sun Aug 02, 2015 10:31 pm

Re: Using wimlib add WinRE.wim to install.wim

Post by synchronicity »

So it sounds like the Windows 8 installer doesn't work with a split WIM. That is a separate problem that I can't do anything about.
asdddsa101
Posts: 15
Joined: Fri Jul 14, 2023 7:39 am

Re: Using wimlib add WinRE.wim to install.wim

Post by asdddsa101 »

synchronicity wrote: Fri Jul 21, 2023 6:09 pm So it sounds like the Windows 8 installer doesn't work with a split WIM. That is a separate problem that I can't do anything about.
Indeed, the Windows 8.0 install.wim image is really weird.
synchronicity
Site Admin
Posts: 474
Joined: Sun Aug 02, 2015 10:31 pm

Re: Using wimlib add WinRE.wim to install.wim

Post by synchronicity »

Hi, I've figured out what the problem is. I need to do some more testing and I'll probably post a new BETA tomorrow.
asdddsa101
Posts: 15
Joined: Fri Jul 14, 2023 7:39 am

Re: Using wimlib add WinRE.wim to install.wim

Post by asdddsa101 »

synchronicity wrote: Sat Jul 22, 2023 7:47 am Hi, I've figured out what the problem is. I need to do some more testing and I'll probably post a new BETA tomorrow.
Wow, that's awesome. Looking forward to the beta version.
So, what exactly is the problem? I'm curious.
synchronicity
Site Admin
Posts: 474
Joined: Sun Aug 02, 2015 10:31 pm

Re: Using wimlib add WinRE.wim to install.wim

Post by synchronicity »

wimlib was writing directory junctions (such as "\Documents and Settings" => "\Users") differently from DISM, and that caused the problem here. If you want the full details, see the fix commit https://wimlib.net/git/?p=wimlib;a=comm ... b83e405557.

Please try wimlib v1.14.2-BETA2 which has the fix. You can get it from https://wimlib.net/downloads/index.html
asdddsa101
Posts: 15
Joined: Fri Jul 14, 2023 7:39 am

Re: Using wimlib add WinRE.wim to install.wim

Post by asdddsa101 »

synchronicity wrote: Sat Jul 22, 2023 10:50 pm wimlib was writing directory junctions (such as "\Documents and Settings" => "\Users") differently from DISM, and that caused the problem here. If you want the full details, see the fix commit https://wimlib.net/git/?p=wimlib;a=comm ... b83e405557.

Please try wimlib v1.14.2-BETA2 which has the fix. You can get it from https://wimlib.net/downloads/index.html
Thanks. I have tested. This problem no longer occurs.

About split WIM. As mentioned above even DISM splits have issues. Use 7-zip to open the original install.wim, there will be a warning "Some files have incorrect reference count". I used the "wimlib-imagex export" command, and added --rebuild and --check parameters. The exported install.wim problem was solved. So far, the problem of Windows 8 install.wim is almost over. Thank you so much. :D
asdddsa101
Posts: 15
Joined: Fri Jul 14, 2023 7:39 am

Re: Using wimlib add WinRE.wim to install.wim

Post by asdddsa101 »

synchronicity wrote: Sat Jul 22, 2023 10:50 pm wimlib was writing directory junctions (such as "\Documents and Settings" => "\Users") differently from DISM, and that caused the problem here. If you want the full details, see the fix commit https://wimlib.net/git/?p=wimlib;a=comm ... b83e405557.

Please try wimlib v1.14.2-BETA2 which has the fix. You can get it from https://wimlib.net/downloads/index.html
About the wimlib-imagex split. I will send you two attachments.
https://drive.google.com/file/d/1XtAsCU ... drive_link
https://drive.google.com/file/d/1QAyGUB ... drive_link

Attachments provide two WIM files: install.wim install_ESD.wim. I will explain them:

Convert install.wim to install.esd

Code: Select all

wimlib-imagex export install.wim all install.esd --check --solid
Re-export install.esd as install_ESD.wim

Code: Select all

wimlib-imagex export install.esd all install_ESD.wim --check --compress=lzx:20
They both have inconsistent file sizes. Details provided at the end of this post.

Under normal circumstances, the two files should be the same size. Because install.wim is through lzx:20 rebuild.

That's not the point.

I use the following command for install.wim and install_ESD.wim split

Code: Select all

wimlib-imagex split install.wim install.swm 4095

Code: Select all

wimlib-imagex split install_ESD.wim install.swm 4095
After testing, I found that the image split from install_ESD.wim will have an error of "cannot find the license terms". The install.wim split does not have this problem. Is there some problem with wimlib WIM<->ESD?


File size and hash

Name: install.wim
Size: 5729751313 Bytes (5464 MiB)
SHA256: 8bcd319e091403db39f25fd0354566200734b85e7ff5e4ec6b994cf65eb4e5c1

Name: install_ESD.wim
Size: 5808778240 Bytes (5539 MiB)
SHA256: ffc386d08684820cb2268c44e6c133807957b4e634257dc9c8f9bbf7799993e1




### Updated ###
In fact, there is no need to download so large attachments. 32-bit Windows 8 install.wim also has this problem. Smaller size, easy to download. Their problems should be similar. The download link is as follows:
https://drive.google.com/file/d/1nitXan ... sp=sharing
https://drive.google.com/file/d/1v3IQW6 ... sp=sharing

File size and hash

Name: install.wim
Size: 1875124717 Bytes (1788 MiB)
SHA256: ba3df9dcbb7b2a478ac4a8982fa2ab62d17f278a93273afc1b7d0d46a656cf83

Name: install_ESD.wim
Size: 1896256100 Bytes (1808 MiB)
SHA256: c5bbbe5351ce6334942ddc6c7932aacd7643e32d825d1d79996044ceff1707bd
Post Reply