[windows] Remove Windows\Installer\* folder cleanup (#11144)

This commit is contained in:
Shamil Mubarakshin
2024-12-10 17:11:16 +01:00
committed by GitHub
parent ddfcef3f6a
commit 6bbddd20d7

View File

@@ -15,7 +15,7 @@ Write-Host "Clean up various directories"
"$env:SystemRoot\logs",
"$env:SystemRoot\winsxs\manifestcache",
"$env:SystemRoot\Temp",
"$env:SystemRoot\Installer\*",
$(if(Test-IsWin25){"$env:SystemRoot\Installer\*"}),
"$env:SystemDrive\Users\$env:INSTALL_USER\AppData\Local\Temp",
"$env:TEMP",
"$env:AZURE_CONFIG_DIR\logs",