Skip to content

Commit 77a8307

Browse files
ryanrichter94JPRuskin
authored andcommitted
(#202) Enable Licensed Features In Client Setup and Server
>> - Add enabling the feature excludeChocolateyPackagesDuringUpgradeAll on the server >> - Add enabling the feature showAllPackagesInProgramsAndFeatures on the server >> - Add Enhanced Package Reporting section to ClientSetup enabling the showAllPackagesInProgramsAndFeatures feature >> - Add Chocolatey Package Upgrade Resilience section to ClientSetup enabling the excludeChocolateyPackagesDuringUpgradeAll feature Signed-off-by: Ryan Richter <ryan@chocolatey.io>
1 parent 2ce3ab2 commit 77a8307

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

Start-C4bSetup.ps1

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff 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"

scripts/ClientSetup.ps1

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,9 @@ choco upgrade chocolateygui.extension -y --source="'ChocolateyInternal'" --no-pr
126126

127127
choco upgrade chocolatey-agent -y --source="'ChocolateyInternal'"
128128

129+
# Chocolatey Package Upgrade Resilience
130+
choco feature enable --name="'excludeChocolateyPackagesDuringUpgradeAll'"
131+
129132
# Self-Service configuration
130133
choco feature disable --name="'showNonElevatedWarnings'"
131134
choco feature enable --name="'useBackgroundService'"

0 commit comments

Comments
 (0)