Guessing, but my guess would be a possible lack of ACL permissions in one or more locations. Don't forget that the IIS account is running it and needs Read in some places and Read/Write in others.

Check the %temp% folders as well, if it can't write and delete temp files it will fail. It needs access to certain locations of PHP/MySQL too.