translate the IP to a country

using http://dev.maxmind.com/geoip/legacy/geolite/
code from https://github.com/maxmind/geoip-api-csharp2
This commit is contained in:
Matthias Mailänder
2013-08-07 19:06:02 +02:00
parent 00839cb77b
commit 781c680ad3
14 changed files with 6197 additions and 3 deletions

View File

@@ -94,6 +94,8 @@ Section "Client" Client
File "${SRCDIR}\Tao.*.dll"
File "${SRCDIR}\SharpFont.dll"
File "${SRCDIR}\global mix database.dat"
File "${SRCDIR}\GeoIP.dll
File "${SRCDIR}\GeoIP.dat"
!insertmacro MUI_STARTMENU_WRITE_BEGIN Application
CreateDirectory "$SMPROGRAMS\$StartMenuFolder"
@@ -280,6 +282,8 @@ Function ${UN}Clean
Delete $INSTDIR\cgGL.dll
Delete $INSTDIR\zlib1.dll
Delete "$INSTDIR\global mix database.dat"
Delete $INSTDIR\GeoIP.dat
Delete $INSTDIR\GeoIP.dll
DeleteRegKey HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\OpenRA"
Delete $INSTDIR\uninstaller.exe
RMDir $INSTDIR