[idd] installer: fix ivshmem driver installation

This commit is contained in:
Quantum authored and Geoffrey McRae committed 2025-09-17 21:03:27 +10:00
1 parent b504627145
commit 08e54fd1b1
1 file changed
+7
+7
View File
@@ -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