Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Status | Could not get install.wim xml data #20

Open
billporte opened this issue Jan 17, 2023 · 2 comments
Open

Status | Could not get install.wim xml data #20

billporte opened this issue Jan 17, 2023 · 2 comments

Comments

@billporte
Copy link

billporte commented Jan 17, 2023

Hello I've installed UDA30P4.
After creating windows 10 iso FR AMD64, I tried to create OS import but it fails each time
I tried also with UDA30P1 UDA30P2 UDA30P3 but result is the same.

here's the result of the action

`

Action ID 7763
Description Import flavor w10 (windows7)
Date 2023-01-17
Time 01:01:00
Progress 2 %
Status Could not get install.wim xml data
Run Status Not Running
Progess Report Progress: 0 % : Created Action Directory Progress: 1 % : Wrote Action Description Progress: 2 % : Wrote Action Arguments Progress: 3 % : Wrote Action Script Progress: 4 % : Started Action Script Progress: 5 % : Read Action Arguments Progress: 6 % : Created OS dir /var/public/tftproot/windows7 Progress: 7 % : Created flavor dir /var/public/tftproot/windows7/w10 Progress: 8 % : Created extra dir /var/public/tftproot/windows7/w10_extra Progress: 15 % : Mounted iso file /var/public/smbmount/local//Windows_10_fr_64.iso on /var/public/tftproot/windows7/w10 Progress: 16 % : Found sourcedir /var/public/tftproot/windows7/w10/sources Progress: 16 % : Found bootdir /var/public/tftproot/windows7/w10/boot Progress: 17 % : Imported boot.wim Progress: 17 % : Bootindex for boot.wim found: 2 Progress: 17 % : Extracted bootmgr.exe from boot.wim Progress: 17 % : Extracted wdsnbp.com from boot.wim Progress: 17 % : Extracted pxeboot.n12 from boot.wim Progress: 19 % : Imported bcd Progress: 19 % : Imported boot.sdi Progress: 19 % : Could not get ei.cfg, skipping Progress: 19 % : Imported ei.cfg Progress: 19 % : Imported lang.ini Progress: 20 % : Found proper language in /var/public/tftproot/windows7/w10_extra/lang.ini (fr-fr) Progress: -2 % : Could not get install.wim xml data
Action Output arg name =|OSFLAVOR| value = |w10| arg name =|MOUNTONBOOT| value = |TRUE| arg name =|SORTEDDRIVERS| value = || arg name =|FILE1| value = |/Windows_10_fr_64.iso| arg name =|ACTIVEDRIVERS| value = || arg name =|step| value = |4| arg name =|OS| value = |windows7| arg name =|MOUNT| value = |local| arg name =|action| value = |new| arg name =|button| value = |finish| arg name =|module| value = |os| [ERROR] Can't open "/var/public/tftproot/windows7/w10/sources/install.wim" read-only: No such file or directory ERROR: Exiting with error code 47: Failed to open a file.
Arguments OSFLAVOR=w10 MOUNTONBOOT=TRUE SORTEDDRIVERS= FILE1=/Windows_10_fr_64.iso ACTIVEDRIVERS= step=4 OS=windows7 MOUNT=local action=new button=finish module=os
Perl script #!/usr/bin/perl local($ACTIONID)=7763; open(PIDFILE,">/var/public/tmp/action.7763/action.pid"); print PIDFILE $ ; close(PIDFILE); unshift ( @inc,"/var/public/cgi-bin"); require "os/windows7.pl" ; &windows7_ImportOS_DoIt(7763);
`
@billporte
Copy link
Author

Cause by the fact that in new release of windows 10 format of sources in iso has changed : passed from install.wim to install.esd

esd got a better compression ratio

@billporte
Copy link
Author

Found a way to bypass, not the best way but it does the job

first modify
/var/public/cgi-bin/os/windows7.pl
on line 996
from
local($result)=&RunCommand("/usr/bin/wiminfo $sourcedir/install.wim --extract-xml=$extradir/install.org","Getting XML data of install.wim for later use");
to
local($result)=&RunCommand("/usr/bin/wiminfo $sourcedir/install.* --extract-xml=$extradir/install.org","Getting XML data of install.wim for later use");

so new os works

and after creating new template
configure it by modify in advanced install.wim in install.esd

I've not found a better way

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant