From 9cd3981b94082db3613b2e322ab0c62ad64de65c Mon Sep 17 00:00:00 2001 From: David Wilson Date: Wed, 11 Jan 2023 22:39:26 +1000 Subject: [PATCH] Fix to ensure Windows uninstaller removes reg entries from the 64 bit registry --- packaging/windows/OpenRA.nsi | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/packaging/windows/OpenRA.nsi b/packaging/windows/OpenRA.nsi index e7b96339bb..8fd2ca333d 100644 --- a/packaging/windows/OpenRA.nsi +++ b/packaging/windows/OpenRA.nsi @@ -226,6 +226,10 @@ Function ${UN}Clean RMDir /r $INSTDIR\Support + !ifndef USE_PROGRAMFILES32 + SetRegView 64 + !endif + DeleteRegKey HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\OpenRA${SUFFIX}" DeleteRegKey HKLM "Software\Classes\openra-ra-${TAG}" DeleteRegKey HKLM "Software\Classes\openra-cnc-${TAG}"