[wue] improve Windows version reporting from ISO/.wim

* Pick the version and build number directly from the install[.wim|.esd] XML index.
  This forces us to mount the ISO during scan, but it's the only way to get an accurate Build number...
* Also drop linking to version.dll (along with the whole version.dll delay-loading shenanigans).
This commit is contained in:
Pete Batard 2022-10-04 11:58:30 +01:00
parent 4d6c8b72d8
commit 8814944c35
No known key found for this signature in database
GPG key ID: 38E0CF5E69EDD671
11 changed files with 147 additions and 102 deletions

View file

@ -30,3 +30,4 @@ BOOL ApplyWindowsCustomization(char drive_letter, int flags);
int SetWinToGoIndex(void);
BOOL SetupWinPE(char drive_letter);
BOOL SetupWinToGo(DWORD DriveIndex, const char* drive_name, BOOL use_esp);
BOOL PopulateWindowsVersion(void);