Compiling D-Rats.exe on Windows 7 - Windows XP

I had to spend quite some efforts to be able to setup the right environment to recompile D-Rats on Windows.

 

At first I was doing this just on Windows 7, but the resulting exe was not working on XP and Vista due to a change into the system .dll structure done by Microsoft over the time.

 

So In order to be able to have an exe compatible with the older versions I had to get a Windows XP machine (actually I used a Windows 7 64 professional running a Virtual PC "XP mode").

 

On this the minimum install:

  • Python 2.7.9.exe
  • pygtk-all-in-one-2.24.2.win32-py2.7.msi
  • libxml2-python-2.7.7.win32-py2.7.exe
  • pyserial-2.7.win32.exe
  • py2exe-0.6.9.win32-py2.7.exe
  • pywin32-219.win32-py2.7.exe

then....    

  • setuptools-15.2.zip

to install the following:

  • feedparser-5.1.3.tar.gz
  • simplejson-3.6.5.tar.gz

and also:

  • Aspell-0-50-3-3-Setup.exe
  • Aspell-en-0.50-2-3.exe
  • Aspell-it-0.50-2-3.exe

 

I also got the source code of D-Rats 0.3.4 into c:\git\ and used then the distXP.bat batch to create the compiled distribution