Skip to content

Fix Ventoy installs with UDF 1.50 and a media-locating Setup launch - #672

Open
Sensei002 wants to merge 1 commit into
ntdevlabs:winui-previewfrom
Sensei002:winui-preview
Open

Sensei002 wants to merge 1 commit into
ntdevlabs:winui-previewfrom
Sensei002:winui-preview

Conversation

@Sensei002

Copy link
Copy Markdown

ISOs built here stopped on Ventoy with "A media driver your computer needs is missing". The message is not about a driver: Ventoy boots the ISO's own boot.wim and injects vtoyjump.exe to mount the ISO as a virtual drive, so Setup only sees sources\install.wim after that mount has happened.

  • Build with -udfver150 instead of -udfver102. UDF 1.02 cannot describe a file larger than 4 GB, which a trimmed install.wim exceeds.
  • Core starts the boot image's own setup.exe bootstrap instead of a fixed X:/sources/setup.exe, so Setup locates the real media before running that media's classic installer. The scripts no longer overwrite Setup\CmdLine.
  • Refuse to create an ISO whose sources\ has no usable install.wim/esd, remove stray install2 images, and never delete install.wim after a failed DISM export. Each of those failures looks identical to the Ventoy one.
  • Fix tiny11Coremaker.ps1 referencing an undefined $ScratchDisk, including in the oscdimg command, which built the ISO from the wrong directory.

ISOs built here stopped on Ventoy with "A media driver your computer needs
is missing". The message is not about a driver: Ventoy boots the ISO's own
boot.wim and injects vtoyjump.exe to mount the ISO as a virtual drive, so
Setup only sees sources\install.wim after that mount has happened.

- Build with -udfver150 instead of -udfver102. UDF 1.02 cannot describe a
  file larger than 4 GB, which a trimmed install.wim exceeds.
- Core starts the boot image's own setup.exe bootstrap instead of a fixed
  X:/sources/setup.exe, so Setup locates the real media before running that
  media's classic installer. The scripts no longer overwrite Setup\CmdLine.
- Refuse to create an ISO whose sources\ has no usable install.wim/esd,
  remove stray install2 images, and never delete install.wim after a failed
  DISM export. Each of those failures looks identical to the Ventoy one.
- Fix tiny11Coremaker.ps1 referencing an undefined $ScratchDisk, including
  in the oscdimg command, which built the ISO from the wrong directory.
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

Successfully merging this pull request may close these issues.

1 participant