From 10f5bdffe284cc59d2f6d204ee58503c7c1afa30 Mon Sep 17 00:00:00 2001 From: Aleksandr Chebotov <47745270+al-cheb@users.noreply.github.com> Date: Thu, 25 Aug 2022 17:01:30 +0200 Subject: [PATCH] [Windows] Add Microsoft.Net.Component.4.8.1 (#6125) * Add Microsoft.Net.Component.4.8.1 * Add reboot step --- images/win/toolsets/toolset-2022.json | 2 ++ images/win/windows2022.json | 6 ++++++ 2 files changed, 8 insertions(+) diff --git a/images/win/toolsets/toolset-2022.json b/images/win/toolsets/toolset-2022.json index 5e258097..fbac8fbb 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 703e4a1c..a47d6d36 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",