keithga / Chocolatey

Public scripts and sources for my Chocolatey Projects
Apache License 2.0
1 stars 2 forks source link

MDT to require windows-adk-winpe version 10.0.19041.1 #4

Open asheroto opened 19 hours ago

asheroto commented 19 hours ago

Hey there, thanks for these packages.

I installed MDT but then it said Windows ADK was required. I installed windows-adk but then it gave an error saying a directory wasn't found. To fix, I tried to install windows-adk-all and windows-adk-winpe. That didn't work. Upon reading the error, I found that the Windows 11 ADK does not include the x86 files needed for MDT.

image

To fix, I had to install this version, as Microsoft stopped including the x86 binaries in the package after this version.

choco install windows-adk-winpe --version=10.0.19041.1

Perhaps this should be added as a dependency in the nuspec file to help prevent other users running into the same issue?

Thank you

asheroto commented 18 hours ago

Oddly enough, when using that version, I couldn't update the deployment share. It kept failing with this...

DISM was unable to set the system root [target path] for the Windows PE image

I then installed windows-adk-all using this command:

choco install windows-adk-all

So it appears to require both. UGH Microsoft. It needs the x86 version from version 10.0.1904.1 but the tools from the later versions of windows-adk-all.