From 13fabc2e4ac47e2730dc71e3b570a3645b3cfbf4 Mon Sep 17 00:00:00 2001 From: Quantum Date: Sun, 17 Oct 2021 19:22:50 -0400 Subject: [PATCH] [host] windows: fix NSIS install directory on 64-bit builds This is probably an NSIS bug. --- host/platform/Windows/installer.nsi | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/host/platform/Windows/installer.nsi b/host/platform/Windows/installer.nsi index b7e318e8..22610c89 100644 --- a/host/platform/Windows/installer.nsi +++ b/host/platform/Windows/installer.nsi @@ -31,10 +31,12 @@ Unicode true RequestExecutionLevel admin ShowInstDetails "show" ShowUninstDetails "show" -InstallDir "$PROGRAMFILES64\Looking Glass (host)" !ifndef BUILD_32BIT Target AMD64-Unicode +InstallDir "$PROGRAMFILES\Looking Glass (host)" +!else +InstallDir "$PROGRAMFILES64\Looking Glass (host)" !endif !define MUI_ICON "icon.ico"