File tree Expand file tree Collapse file tree 2 files changed +6
-0
lines changed
Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -131,6 +131,9 @@ process {
131131 Install-ChocoLicensed - LicenseFile $LicenseFile
132132 }
133133
134+ # Set Choco Server Chocolatey Configuration
135+ choco feature enable -- name= " 'excludeChocolateyPackagesDuringUpgradeAll'"
136+
134137 # Setup initial choco-setup directories
135138 Write-Host " Setting up initial directories in" $env: SystemDrive \choco- setup" " - ForegroundColor Green
136139 $ChocoPath = " $env: SystemDrive \choco-setup"
Original file line number Diff line number Diff line change @@ -126,6 +126,9 @@ choco upgrade chocolateygui.extension -y --source="'ChocolateyInternal'" --no-pr
126126
127127choco upgrade chocolatey- agent - y -- source= " 'ChocolateyInternal'"
128128
129+ # Chocolatey Package Upgrade Resilience
130+ choco feature enable -- name= " 'excludeChocolateyPackagesDuringUpgradeAll'"
131+
129132# Self-Service configuration
130133choco feature disable -- name= " 'showNonElevatedWarnings'"
131134choco feature enable -- name= " 'useBackgroundService'"
You can’t perform that action at this time.
0 commit comments