Fix to ensure Windows uninstaller removes reg entries from the 64 bit registry

This commit is contained in:
David Wilson
2023-01-11 22:39:26 +10:00
committed by Matthias Mailänder
parent 44be6cea94
commit 9cd3981b94

View File

@@ -226,6 +226,10 @@ Function ${UN}Clean
RMDir /r $INSTDIR\Support RMDir /r $INSTDIR\Support
!ifndef USE_PROGRAMFILES32
SetRegView 64
!endif
DeleteRegKey HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\OpenRA${SUFFIX}" DeleteRegKey HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\OpenRA${SUFFIX}"
DeleteRegKey HKLM "Software\Classes\openra-ra-${TAG}" DeleteRegKey HKLM "Software\Classes\openra-ra-${TAG}"
DeleteRegKey HKLM "Software\Classes\openra-cnc-${TAG}" DeleteRegKey HKLM "Software\Classes\openra-cnc-${TAG}"