[idd] installer: use icon embedded in LGIddHelper.exe

This commit is contained in:
Quantum authored and Geoffrey McRae committed 2025-09-14 09:49:39 +10:00
1 parent 4ff5ce02d7
commit 48dc7a90f9
1 file changed
+1 -3
+1 -3
View File
@@ -163,7 +163,6 @@ Section "!Indirect Display Driver (IDD)" Section1
DetailPrint "Extracting support files"
File LICENSE.txt
File icon.ico
WriteUninstaller $INSTDIR\uninstaller.exe
${GetSize} "$INSTDIR" "/S=0K" $0 $1 $2
@@ -181,7 +180,7 @@ Section "!Indirect Display Driver (IDD)" Section1
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Looking Glass (IDD)" \
"Publisher" "Geoffrey McRae"
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Looking Glass (IDD)" \
"DisplayIcon" "$\"$INSTDIR\icon.ico$\""
"DisplayIcon" "$\"$INSTDIR\LGIddHelper.exe$\""
WriteRegDWORD HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Looking Glass (IDD)" \
"NoRepair" "1"
WriteRegDWORD HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Looking Glass (IDD)" \
@@ -223,7 +222,6 @@ Section "Uninstall" Section6
Delete "$INSTDIR\LGIdd.inf"
Delete "$INSTDIR\LGIddHelper.exe"
Delete "$INSTDIR\LGIddInstall.exe"
Delete "$INSTDIR\icon.ico"
Delete "$INSTDIR\LICENSE.txt"
RMDir $INSTDIR