Skip to content

Commit

Permalink
[Windows] Remove Windows\Installer\* folder cleanup for windows 2025 …
Browse files Browse the repository at this point in the history
…image (#11193)
  • Loading branch information
Alexey-Ayupov authored Dec 15, 2024
1 parent cee689d commit 0e631a8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion images/windows/scripts/build/Invoke-Cleanup.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ Write-Host "Clean up various directories"
"$env:SystemRoot\logs",
"$env:SystemRoot\winsxs\manifestcache",
"$env:SystemRoot\Temp",
$(if(Test-IsWin25){"$env:SystemRoot\Installer\*"}),
"$env:SystemDrive\Users\$env:INSTALL_USER\AppData\Local\Temp",
"$env:TEMP",
"$env:AZURE_CONFIG_DIR\logs",
Expand Down Expand Up @@ -52,6 +51,8 @@ if ($LASTEXITCODE -ne 0) {

if (Test-IsWin25) {
$directoriesToCompact = @(
"C:\Program Files (x86)\Android",
"C:\Program Files\dotnet",
"$env:SystemRoot\assembly",
"$env:SystemRoot\WinSxS"
)
Expand Down

0 comments on commit 0e631a8

Please sign in to comment.