diff --git a/images/win/toolsets/toolset-2022.json b/images/win/toolsets/toolset-2022.json index 5e258097d..fbac8fbb0 100644 --- a/images/win/toolsets/toolset-2022.json +++ b/images/win/toolsets/toolset-2022.json @@ -189,6 +189,8 @@ "Microsoft.Component.VC.Runtime.UCRTSDK", "Microsoft.Net.Component.4.7.TargetingPack", "Microsoft.Net.Component.4.7.2.TargetingPack", + "Microsoft.Net.Component.4.8.1.SDK", + "Microsoft.Net.Component.4.8.1.TargetingPack", "Microsoft.VisualStudio.Component.AspNet45", "Microsoft.VisualStudio.Component.Azure.ServiceFabric.Tools", "Microsoft.VisualStudio.Component.Debugger.JustInTime", diff --git a/images/win/windows2022.json b/images/win/windows2022.json index 703e4a1c9..a47d6d36f 100644 --- a/images/win/windows2022.json +++ b/images/win/windows2022.json @@ -170,8 +170,14 @@ "elevated_user": "{{user `install_user`}}", "elevated_password": "{{user `install_password`}}" }, + { + "type": "windows-restart", + "check_registry": true, + "restart_timeout": "10m" + }, { "type": "powershell", + "pause_before": "2m", "scripts": [ "{{ template_dir }}/scripts/Installers/Install-Wix.ps1", "{{ template_dir }}/scripts/Installers/Install-WDK.ps1",