From 08e54fd1b15f41cdafe2e83b6154ed90d9b18eaf Mon Sep 17 00:00:00 2001 From: Quantum Date: Wed, 17 Sep 2025 04:54:20 -0400 Subject: [PATCH] [idd] installer: fix ivshmem driver installation --- idd/installer.nsi | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/idd/installer.nsi b/idd/installer.nsi index 51f4bda5..b12657f2 100644 --- a/idd/installer.nsi +++ b/idd/installer.nsi @@ -39,6 +39,7 @@ ManifestDPIAware true Target AMD64-Unicode InstallDir "$PROGRAMFILES\Looking Glass (IDD)" !else +!include "x64.nsh" InstallDir "$PROGRAMFILES64\Looking Glass (IDD)" !endif @@ -140,7 +141,13 @@ Section "-IVSHMEM Driver" File /nonfatal ..\ivshmem\ivshmem.pdb DetailPrint "Installing IVSHMEM driver" +!ifdef BUILD_32BIT + ${DisableX64FSRedirection} +!endif nsExec::ExecToLog '"$SYSDIR\pnputil.exe" /add-driver "$INSTDIR\ivshmem.inf" /install' +!ifdef BUILD_32BIT + ${EnableX64FSRedirection} +!endif ${EndIf} SectionEnd !endif