diff --git a/Start-C4bCcmSetup.ps1 b/Start-C4bCcmSetup.ps1 index 2492b67..70ceb3a 100644 --- a/Start-C4bCcmSetup.ps1 +++ b/Start-C4bCcmSetup.ps1 @@ -97,13 +97,13 @@ process { $chocoArgs = @('install', 'IIS-ApplicationInit', "--source='windowsfeatures'" ,'--no-progress', '-y') & choco @chocoArgs -ValidExitCodes 0, 3010 - $chocoArgs = @('install', 'dotnet-aspnetcoremodule-v2', "--version='$($Packages.Where{$_.Name -eq 'dotnet-aspnetcoremodule-v2'}.Version)'", '--no-progress', '--pin', '--pin-reason="Latest version compatible with chocolatey-management-web V 0.12.0"', '-y') + $chocoArgs = @('install', 'dotnet-aspnetcoremodule-v2', "--version='$($Packages.Where{$_.Name -eq 'dotnet-aspnetcoremodule-v2'}.Version)'", '--no-progress', '-y') & choco @chocoArgs - $chocoArgs = @('install', 'dotnet-6.0-runtime', "--version=$($Packages.Where{$_.Name -eq 'dotnet-6.0-runtime'}.Version)", '--no-progress', '--pin', '--pin-reason="Latest version compatible with chocolatey-management-database V 0.12.0"', '-y') + $chocoArgs = @('install', 'dotnet-8.0-runtime', "--version=$($Packages.Where{$_.Name -eq 'dotnet-8.0-runtime'}.Version)", '--no-progress', '-y') & choco @chocoArgs - $chocoArgs = @('install', 'dotnet-6.0-aspnetruntime', "--version=$($Packages.Where{$_.Name -eq 'dotnet-6.0-aspnetruntime'}.Version)", '--no-progress', '--pin', '--pin-reason="Latest version compatible with chocolatey-management-database V 0.12.0"', '-y') + $chocoArgs = @('install', 'dotnet-8.0-aspnetruntime', "--version=$($Packages.Where{$_.Name -eq 'dotnet-8.0-aspnetruntime'}.Version)", '--no-progress', '-y') & choco @chocoArgs Write-Host "Creating Chocolatey Central Management Database" diff --git a/files/chocolatey.json b/files/chocolatey.json index b8f0481..5a92de0 100644 --- a/files/chocolatey.json +++ b/files/chocolatey.json @@ -12,9 +12,9 @@ { "name": "chocolatey" }, { "name": "chocolateygui.extension" }, { "name": "chocolateygui" }, - { "name": "dotnet-6.0-aspnetruntime", "version": "6.0.31" }, - { "name": "dotnet-6.0-runtime", "version": "6.0.31" }, - { "name": "dotnet-aspnetcoremodule-v2", "version": "16.0.24141" }, + { "name": "dotnet-8.0-aspnetruntime", "version": "8.0.8" }, + { "name": "dotnet-8.0-runtime", "version": "8.0.8" }, + { "name": "dotnet-aspnetcoremodule-v2", "version": "18.0.24201" }, { "name": "dotnetfx" }, { "name": "jenkins" }, { "name": "KB2919355", "internalize": false }, @@ -22,7 +22,6 @@ { "name": "KB2999226", "internalize": false }, { "name": "KB3033929", "internalize": false }, { "name": "KB3035131", "internalize": false }, - { "name": "KB3063858", "internalize": false }, { "name": "microsoft-edge" }, { "name": "nexus-repository" }, { "name": "sql-server-express" }, diff --git a/tests/packages.ps1 b/tests/packages.ps1 index 16b3324..6ecaa87 100644 --- a/tests/packages.ps1 +++ b/tests/packages.ps1 @@ -12,14 +12,13 @@ $JointPackages = @( ) $ServerOnlyPackages = @( @{Name = 'chocolatey-windowsupdate.extension' } - @{Name = 'dotnet-6.0-aspnetruntime' } - @{Name = 'dotnet-6.0-runtime' } + @{Name = 'dotnet-8.0-aspnetruntime' } + @{Name = 'dotnet-8.0-runtime' } @{Name = 'dotnet-aspnetcoremodule-v2' } @{Name = 'jenkins' } @{Name = 'KB2999226' } @{Name = 'KB3033929' } @{Name = 'KB3035131' } - @{Name = 'KB3063858' } @{Name = 'nexus-repository' } @{Name = 'Pester' } @{Name = 'sql-server-express' }