mirror of
https://github.com/rbalsleyMSFT/FFU.git
synced 2026-06-14 02:09:35 -06:00
Remove unused image path and image names from BuildFFUVM_UI.ps1, fixed some tooltip issues
This commit is contained in:
committed by
rbalsleyMSFT
parent
793830ab21
commit
f121505c50
@@ -6,7 +6,6 @@ param()
|
||||
# SECTION 1: Variables & Constants
|
||||
# --------------------------------------------------------------------------
|
||||
$FFUDevelopmentPath = $PSScriptRoot
|
||||
$infoImagePath = Join-Path $PSScriptRoot "info.png"
|
||||
$AppsPath = Join-Path $FFUDevelopmentPath "Apps"
|
||||
$OfficePath = Join-Path $AppsPath "Office"
|
||||
|
||||
@@ -59,28 +58,6 @@ $skuList = @(
|
||||
'Standard (Desktop Experience)','Datacenter','Datacenter (Desktop Experience)'
|
||||
)
|
||||
|
||||
$imageNames = @(
|
||||
"imgFFUNameInfo",
|
||||
"imgISOPathInfo",
|
||||
"imgWindowsSKUInfo",
|
||||
"imgVMSwitchNameInfo",
|
||||
"imgVMHostIPAddressInfo",
|
||||
"imgInstallOfficeInfo",
|
||||
"imgInstallAppsInfo",
|
||||
"imgInstallDriversInfo",
|
||||
"imgCopyDriversInfo",
|
||||
"imgFFUDevPathInfo",
|
||||
"imgOfficePathInfo",
|
||||
"imgCopyOfficeConfigXMLInfo",
|
||||
"imgOfficeConfigXMLFileInfo",
|
||||
"imgMakeInfo",
|
||||
"imgModelInfo",
|
||||
"imgDownloadDriversInfo",
|
||||
"imgDriversFolderInfo",
|
||||
"imgPEDriversFolderInfo",
|
||||
"imgCopyPEDriversInfo"
|
||||
)
|
||||
|
||||
# Full list of Windows releases (if ISO path != blank)
|
||||
$allWindowsReleases = @(
|
||||
[PSCustomObject]@{ Display = "Windows 10"; Value = 10 },
|
||||
@@ -338,9 +315,6 @@ $reader = New-Object System.IO.StringReader($xamlString)
|
||||
$xmlReader = [System.Xml.XmlReader]::Create($reader)
|
||||
$window = [Windows.Markup.XamlReader]::Load($xmlReader)
|
||||
|
||||
# Assign images
|
||||
foreach ($imgName in $imageNames) { Set-ImageSource -window $window -imageName $imgName -sourcePath $infoImagePath }
|
||||
|
||||
# Dynamic checkboxes for optional features in Windows Settings tab
|
||||
$script:featureCheckBoxes = @{}
|
||||
function UpdateOptionalFeaturesString {
|
||||
|
||||
Reference in New Issue
Block a user