mirror of
https://github.com/rbalsleyMSFT/FFU.git
synced 2026-06-14 02:09:35 -06:00
Update log message for .ffu file location and clean up unused image source function
This commit is contained in:
@@ -3380,7 +3380,7 @@ function New-FFU {
|
|||||||
WriteLog "Most recent .ffu file: $FFUFile"
|
WriteLog "Most recent .ffu file: $FFUFile"
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
WriteLog "No .ffu files found in $FFUFolderPath"
|
WriteLog "No .ffu files found in $FFUCaptureLocation"
|
||||||
throw $_
|
throw $_
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -47,8 +47,7 @@ $allowedFeatures = @(
|
|||||||
"SMB1Protocol-Server","SmbDirect","TFTP","TelnetClient","TIFFIFilter","VirtualMachinePlatform","WAS-ConfigurationAPI",
|
"SMB1Protocol-Server","SmbDirect","TFTP","TelnetClient","TIFFIFilter","VirtualMachinePlatform","WAS-ConfigurationAPI",
|
||||||
"WAS-NetFxEnvironment","WAS-ProcessModel","WAS-WindowsActivationService","WCF-HTTP-Activation","WCF-HTTP-Activation45",
|
"WAS-NetFxEnvironment","WAS-ProcessModel","WAS-WindowsActivationService","WCF-HTTP-Activation","WCF-HTTP-Activation45",
|
||||||
"WCF-MSMQ-Activation45","WCF-MSMQ-Activation","WCF-NonHTTP-Activation","WCF-Pipe-Activation45","WCF-Services45",
|
"WCF-MSMQ-Activation45","WCF-MSMQ-Activation","WCF-NonHTTP-Activation","WCF-Pipe-Activation45","WCF-Services45",
|
||||||
"WCF-TCP-Activation45","WCF-TCP-PortSharing45","UpdateEdge","UpdateLatestCU","UpdateLatestDefender",
|
"WCF-TCP-Activation45","WCF-TCP-PortSharing45","Windows-Defender-ApplicationGuard",
|
||||||
"UpdateLatestMSRT","UpdateLatestNet","UpdateOneDrive","UpdatePreviewCU","Windows-Defender-ApplicationGuard",
|
|
||||||
"Windows-Defender-Default-Definitions","Windows-Identity-Foundation","WindowsMediaPlayer","WorkFolders-Client"
|
"Windows-Defender-Default-Definitions","Windows-Identity-Foundation","WindowsMediaPlayer","WorkFolders-Client"
|
||||||
)
|
)
|
||||||
|
|
||||||
@@ -86,19 +85,6 @@ $windowsVersionMap = @{
|
|||||||
}
|
}
|
||||||
|
|
||||||
# --------------------------------------------------------------------------
|
# --------------------------------------------------------------------------
|
||||||
function Set-ImageSource {
|
|
||||||
param(
|
|
||||||
[System.Windows.Window]$window,
|
|
||||||
[string]$imageName,
|
|
||||||
[string]$sourcePath
|
|
||||||
)
|
|
||||||
$imgControl = $window.FindName($imageName)
|
|
||||||
if ($imgControl) {
|
|
||||||
$uri = New-Object System.Uri($sourcePath, [System.UriKind]::Absolute)
|
|
||||||
$bitmap = New-Object System.Windows.Media.Imaging.BitmapImage($uri)
|
|
||||||
$imgControl.Source = $bitmap
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
function Get-UIConfig {
|
function Get-UIConfig {
|
||||||
# --- Build Tab Values ---
|
# --- Build Tab Values ---
|
||||||
|
|||||||
Reference in New Issue
Block a user