Update samy.ps1
This commit is contained in:
2
samy.ps1
2
samy.ps1
@@ -2255,7 +2255,7 @@ function Ensure-SamyPrinterDriver {
|
|||||||
if ($statusCode -eq 404) {
|
if ($statusCode -eq 404) {
|
||||||
# ★ This is the new behavior: warn, but do NOT throw.
|
# ★ This is the new behavior: warn, but do NOT throw.
|
||||||
Write-LogHybrid "Driver package not found at $driverPackageUrl (404). Falling back to INF-only install for '$($Profile.DisplayName)'." Warning Printers -LogToEvent
|
Write-LogHybrid "Driver package not found at $driverPackageUrl (404). Falling back to INF-only install for '$($Profile.DisplayName)'." Warning Printers -LogToEvent
|
||||||
# We just continue – maybe a local INF exists or will exist.
|
# We just continue - maybe a local INF exists or will exist.
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
Write-LogHybrid "Driver package download failed ($statusCode) from $($driverPackageUrl): $($_.Exception.Message)" Error Printers -LogToEvent
|
Write-LogHybrid "Driver package download failed ($statusCode) from $($driverPackageUrl): $($_.Exception.Message)" Error Printers -LogToEvent
|
||||||
|
|||||||
Reference in New Issue
Block a user