From fda467e355bc49eb61f805f1a1a981f3b61d807d Mon Sep 17 00:00:00 2001 From: Ad5001 Date: Thu, 26 Aug 2021 18:34:17 +0200 Subject: [PATCH] For some reason, NSIS can't find either variables. --- win/installer.nsi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/win/installer.nsi b/win/installer.nsi index 067cd3b..1ac3c7c 100644 --- a/win/installer.nsi +++ b/win/installer.nsi @@ -198,8 +198,8 @@ Section "Uninstall" RMDir /r "$INSTDIR" Delete "$SMPROGRAMS\LogarithmPlotter.lnk" - DeleteRegKey HKLM $[REG_UNINSTALL} - DeleteRegKey HKLM $[REG_APPPATHS} + DeleteRegKey HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\LogarithmPlotter" + DeleteRegKey HKLM "Software\Microsoft\Windows\CurrentVersion\App Paths\logarithmplotter.exe" ; ;DeleteRegKey /ifempty HKCU "Software\Modern UI Test" ; SectionEnd