Having recently moved to a new laptop for development I realised when trying to reinstall Plone and get buildouts working again it is not in fact such a simple task. Python and it’s libraries are all built with Visual Studio 2003 (we have 2008 doh!) and it is not friendly with newer versions.
Therefore this is how to create a proper and working plone distribution in Windows with buildout functionality.
Firstly download and install Python 2.4.4 here and Python Extensions for Windows here and install them both (this is the ‘non plone’ instance of python)
Download and install the Plone Windows installer (we used 3.1.7) here . Follow the steps in my previous post up until the buildout stage (as this is where it will fail currently as we have no Visual Studio 2003).
Now download GCC for Windows here and install, ensure you tick the correct boxes during install and it should find the ‘non plone’ instance of python we installed earlier. If you go to your command prompt after this you should be able to type gcc and it will spit some output from the compiler.
Now browse to you ‘non plone’ instance of python and copy all the files over your plone instance of python (in my case C:\Plone3\python).
Your buildout should be working correctly now as it will be using MingW to compile the libraries instead of visual studio and all the required libraries are now present.