[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 - name: Build Windows host installer
run: | run: |
cd host\build cd host\build
makensis platform\Windows\installer.nsi makensis -DBUILD_32BIT platform\Windows\installer.nsi
obs: obs:
runs-on: ubuntu-latest runs-on: ubuntu-latest

View file

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