I found that the answer to this one was very simple but like a lot of simple answers I simply couldn't see it! I had put the 'ProfilesDir' line under '[unattended]' heading when it actually needed to go under the section '[GuiUnattended]' heading. This solved the problem. So I guess what I have learnt from this one is to double check that everything is under the correct heading.