From f34bfdf1189154bbd6bd9c902fb8f534b8030d6b Mon Sep 17 00:00:00 2001 From: Julien Wadel Date: Mon, 10 Mar 2025 14:58:25 +0100 Subject: [PATCH] Installation: Remove user message for existing and not empty install folder. Also, delete all its files without warning on installation. --- cmake/install/windows/NSIS.template.in | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/cmake/install/windows/NSIS.template.in b/cmake/install/windows/NSIS.template.in index 5b53baa60..a3f9a75f0 100644 --- a/cmake/install/windows/NSIS.template.in +++ b/cmake/install/windows/NSIS.template.in @@ -618,8 +618,9 @@ FunctionEnd !endif Page custom InstallOptionsPage - - !define MUI_PAGE_CUSTOMFUNCTION_LEAVE InstDirValidation + ; uncomment to add a message that warn the user that the folder exists and will be deleted. + ; Not having it, is a marketing choice to be not QOL and transparent. + ;!define MUI_PAGE_CUSTOMFUNCTION_LEAVE InstDirValidation !insertmacro MUI_PAGE_DIRECTORY ;Start Menu Folder Page Configuration