From 2d28d27e908d761704b66ca51e65293fbed462cd Mon Sep 17 00:00:00 2001 From: Geoffrey McRae Date: Sat, 13 Sep 2025 11:20:37 +1000 Subject: [PATCH] Revert idd reg changes due to missing nsis support --- idd/installer.nsi | 30 ------------------------------ 1 file changed, 30 deletions(-) diff --git a/idd/installer.nsi b/idd/installer.nsi index fd2bd663..64ea1e26 100644 --- a/idd/installer.nsi +++ b/idd/installer.nsi @@ -25,8 +25,6 @@ !include "FileFunc.nsh" !include "LogicLib.nsh" !include "Sections.nsh" -!include "AccessControl.nsh" -!include "x64.nsh" ;Settings Name "Looking Glass (IDD)" @@ -123,32 +121,6 @@ FunctionEnd ${EndIf} !macroend -!macro CreateDriverRegKey - - ${If} ${RunningX64} == 1 - SetRegView 64 - ${EndIf} - - ; Create just the key - WriteRegStr HKLM "Software\\LookingGlass\\IDD" "" "" - - ; Grant FullAccess to SYSTEM (SID S-1-5-18) - AccessControl::GrantOnRegKey HKLM "Software\\LookingGlass\\IDD" "(S-1-5-18)" "FullAccess" - Pop $R0 - -!macroend - -!macro RemoveDriverRegKey - - ${If} ${RunningX64} == 1 - SetRegView 64 - ${EndIf} - - ; Remove the entire key - DeleteRegKey HKLM "Software\\LookingGlass" - -!macroend - ;Install !ifdef IVSHMEM Section "IVSHMEM Driver" Section0 @@ -218,7 +190,6 @@ Section "!Indirect Display Driver (IDD)" Section1 !insertmacro StopLGIddHelper DetailPrint "Installing IDD" - !insertmacro CreateDriverRegKey nsExec::ExecToLog '"$INSTDIR\LGIddInstall.exe" install' Pop $0 @@ -235,7 +206,6 @@ Section "Uninstall" Section6 DetailPrint "Uninstalling IDD" nsExec::ExecToLog '"$INSTDIR\LGIddInstall.exe" uninstall' - !insertmacro RemoveDriverRegKey DetailPrint "Clean up helper service" nsExec::Exec 'sc.exe delete LGIddHelper'