Create wim failed from esd with Chinese description

Comments, questions, bug reports, etc.
Post Reply
goodwu
Posts: 1
Joined: Tue Aug 29, 2023 1:30 am

Create wim failed from esd with Chinese description

Post by goodwu »

Create wim failed when running uupdump under MacOS.
Here's some output of convert.sh

Code: Select all

++ wimlib-imagex info UUPs/professional_zh-cn.esd 3
+ currentInfo='Information for Image 3
-----------------------
Index:                  3
Name:                   Windows 11 专业版
Description:            Windows 11 专业版
Directory Count:        20433
File Count:             99140
Total Bytes:            17998444352
Hard Link Bytes:        8622375938
Creation Time:          Sat Jun 05 18:21:47 2021 UTC
Last Modification Time: Sat Jun 05 18:29:27 2021 UTC
Architecture:           ARM64
Product Name:           Microsoft® Windows® Operating System
Edition ID:             Professional
Installation Type:      Client
Product Type:           WinNT
Product Suite:          Terminal Server
Languages:              zh-CN
Default Language:       zh-CN
System Root:            WINDOWS
Major Version:          10
Minor Version:          0
Build:                  22000
Service Pack Build:     1
Service Pack Level:     0
WIMBoot compatible:     no'
++ grep -i '^Edition ID:'
++ sed 's/.*  //g'
+ currentEdition=Professional
++ grep -i '^Name:'
++ sed 's/.*  //g'
+ currentName='Windows 11 专业版'
++ grep -i '^Installation Type:'
++ sed 's/.*  //g'
+ currentType=Client
+ '[' Client == 'Server Core' ']'
+ '[' Client == 'Server Core' ']'
+ editionName='Windows 10 Professional'
+ echo Windows 11 $'�\223�\232�\211\210'
+ grep -ow 'Windows 11'
+ editionName='Windows 11 Professional'
+ echo Professional
+ grep -i '^Server'
+ echo -e '\033[1;94mExporting Windows 11 Professional to install.wim...\033[0m'
Exporting Windows 11 Professional to install.wim...
+ '[' true == true ']'
+ wimlib-imagex export UUPs/professional_zh-cn.esd 3 ISODIR/sources/install.wim 'Windows 11 Professional' --compress=maximum '--ref=UUPs/*.[eE][sS][dD]' '--ref=/var/folders/96/wxgz1n_d70g8rfl09q80jych0000gp/T/tmp.xQgyI2wd/*.[eE][sS][dD]'
[ERROR] Destination image description contains illegal characters
ERROR: Exiting with error code 24:
       An invalid parameter was given.
+ errorHandler 24 'Failed to export Windows 11 Professional to install.wim\033[0m'
+ '[' 24 '!=' 0 ']'
+ echo -e '\033[1;91mFailed to export Windows 11 Professional to install.wim\033[0m\033[0m'
Failed to export Windows 11 Professional to install.wim
+ cleanup
synchronicity
Site Admin
Posts: 474
Joined: Sun Aug 02, 2015 10:31 pm

Re: Create wim failed from esd with Chinese description

Post by synchronicity »

Thanks for reporting this! I've fixed it in wimlib v1.14.3-BETA1.
synchronicity
Site Admin
Posts: 474
Joined: Sun Aug 02, 2015 10:31 pm

Re: Create wim failed from esd with Chinese description

Post by synchronicity »

Fixed in wimlib v1.14.3.
Post Reply