From cb218aee2063e4890e98047025e7d8ac0308ab33 Mon Sep 17 00:00:00 2001 From: Julian Brost Date: Mon, 26 Oct 2020 09:06:06 +0100 Subject: [PATCH] docs: better instructions for installing wixtoolset on Windows If you try to follow the existing instructions, you might be greeted by a long and useless error message when installing this which boils down to the fact that the DotNet3.5 Chocolatey package actually requires a reboot but does not properly ask for it. Enable-WindowsOptionalFeature basically does the same as the Chocolatey package would do, but nicely asks for a reboot after which the Chocolatey package can be installed (which basically is a noop then) properly. --- doc/21-development.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/doc/21-development.md b/doc/21-development.md index ad1515e7b..7bcf3bded 100644 --- a/doc/21-development.md +++ b/doc/21-development.md @@ -1961,9 +1961,11 @@ CMake uses CPack and NSIS to create the setup executable including all binaries in addition to setup dialogues and configuration. Therefore we’ll need to install [NSIS](http://nsis.sourceforge.net/Download) first. -We also need to install the Windows Installer XML (WIX) toolset. +We also need to install the Windows Installer XML (WIX) toolset. This has .NET 3.5 as a dependency which might need a +reboot of the system which is not handled properly by Chocolatey. Therefore install it first and reboot when asked. ``` +Enable-WindowsOptionalFeature -FeatureName "NetFx3" -Online choco install -y wixtoolset ```