From b66715b042be3c26e1d633bce954fb207918cdaa Mon Sep 17 00:00:00 2001 From: Jonathan Rubenstein Date: Tue, 8 Dec 2020 10:33:23 -0500 Subject: [PATCH] [host] nsisi: add welcome page to installer --- host/platform/Windows/installer.nsi | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/host/platform/Windows/installer.nsi b/host/platform/Windows/installer.nsi index 6fb4e0fe..2b44012a 100644 --- a/host/platform/Windows/installer.nsi +++ b/host/platform/Windows/installer.nsi @@ -18,7 +18,7 @@ Place, Suite 330, Boston, MA 02111-1307 USA */ -;Include +;Include !include "MUI2.nsh" !include "FileFunc.nsh" !include "LogicLib.nsh" @@ -38,7 +38,10 @@ InstallDir "$PROGRAMFILES64\Looking Glass (host)" !define MUI_LICENSEPAGE_BUTTON "Agree" !define /file VERSION "../../VERSION" +!define MUI_WELCOMEPAGE_TEXT "You are about to install $(^Name) version ${VERSION}.$\r$\n$\r$\nYou don't need to close your Looking Glass client before installation, but after installation you should install the ${VERSION} client.$\r$\n$\r$\nPress Next to continue." + ;Install and uninstall pages +!insertmacro MUI_PAGE_WELCOME !insertmacro MUI_PAGE_LICENSE "LICENSE.txt" !insertmacro MUI_PAGE_DIRECTORY !insertmacro MUI_PAGE_COMPONENTS