From 662572e5e5da7fb852c87c09868f3726216fb260 Mon Sep 17 00:00:00 2001 From: Zehadi Alam <63765084+zehadialam@users.noreply.github.com> Date: Mon, 18 Mar 2024 19:45:08 -0400 Subject: [PATCH] Add clarifying comments to Install-ADK function --- FFUDevelopment/BuildFFUVM.ps1 | 2 ++ 1 file changed, 2 insertions(+) diff --git a/FFUDevelopment/BuildFFUVM.ps1 b/FFUDevelopment/BuildFFUVM.ps1 index 97040ed..84f464a 100644 --- a/FFUDevelopment/BuildFFUVM.ps1 +++ b/FFUDevelopment/BuildFFUVM.ps1 @@ -502,11 +502,13 @@ function Install-ADK { throw "Failed to retrieve URL for $ADKOption. Please manually install it." } + # Select the installer based on the ADK option specified $installer = @{ "Windows ADK" = "adksetup.exe" "WinPE add-on" = "adkwinpesetup.exe" }[$ADKOption] + # Select the feature based on the ADK option specified $feature = @{ "Windows ADK" = "OptionId.DeploymentTools" "WinPE add-on" = "OptionId.WindowsPreinstallationEnvironment"