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

This commit is contained in:
David Wilson 2023-01-11 23:20:22 +10:00 committed by abcdefg30
parent e0c1ee07e4
commit bf428de310

View File

@ -186,6 +186,10 @@ Function ${UN}Clean
Delete $INSTDIR\IP2LOCATION-LITE-DB1.IPV6.BIN.ZIP
RMDir /r $INSTDIR\Support
!ifndef USE_PROGRAMFILES32
SetRegView 64
!endif
DeleteRegKey HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\${PACKAGING_WINDOWS_REGISTRY_KEY}"
DeleteRegKey HKLM "Software\Classes\openra-${MOD_ID}-${TAG}"