[host] installer: build 64-bit NSIS installers

The host is a 64-bit application, so requiring 64-bit Windows isn't an
issue. However, not using 32-bit installers has an advantage: we don't
need to require WoW64.
This commit is contained in:
Quantum 2021-09-21 07:31:59 -04:00 committed by Geoffrey McRae
parent df4a964496
commit bc65de5987
2 changed files with 6 additions and 2 deletions

View File

@ -127,7 +127,7 @@ jobs:
- name: Build Windows host installer
run: |
cd host\build
makensis platform\Windows\installer.nsi
makensis -DBUILD_32BIT platform\Windows\installer.nsi
obs:
runs-on: ubuntu-latest

View File

@ -26,13 +26,17 @@
;Settings
Name "Looking Glass (host)"
OutFile "looking-glass-host-setup.exe"
OutFile "looking-glass-host-setup.exe"
Unicode true
RequestExecutionLevel admin
ShowInstDetails "show"
ShowUninstDetails "show"
InstallDir "$PROGRAMFILES64\Looking Glass (host)"
!ifndef BUILD_32BIT
Target AMD64-Unicode
!endif
!define MUI_ICON "icon.ico"
!define MUI_UNICON "icon.ico"
!define MUI_LICENSEPAGE_BUTTON "Agree"