[idd] installer: fix copy pasta from host installer

This commit is contained in:
Quantum
2025-09-12 19:21:33 -04:00
committed by Geoffrey McRae
parent 41d2210624
commit e1170f8e01

View File

@@ -182,9 +182,9 @@ Section "!Indirect Display Driver (IDD)" Section1
"DisplayIcon" "$\"$INSTDIR\icon.ico$\""
WriteRegDWORD HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Looking Glass (IDD)" \
"NoRepair" "1"
WriteRegDWORD HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Looking Glass (host)" \
WriteRegDWORD HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Looking Glass (IDD)" \
"NoModify" "1"
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Looking Glass (host)" \
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Looking Glass (IDD)" \
"DisplayVersion" ${VERSION}
!insertmacro StopLGIddHelper
@@ -210,10 +210,8 @@ Section "Uninstall" Section6
DetailPrint "Clean up helper service"
nsExec::Exec 'sc.exe delete LGIddHelper'
DeleteRegKey HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Looking Glass (host)"
DeleteRegKey HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Looking Glass (IDD)"
Delete "$INSTDIR\uninstaller.exe"
Delete "$INSTDIR\looking-glass-host.exe"
Delete "$INSTDIR\looking-glass-host.pdb"
Delete "$INSTDIR\ivshmem.cat"
Delete "$INSTDIR\ivshmem.inf"
Delete "$INSTDIR\ivshmem.sys"