I realise this is relatively old but I think after some hacking I found the solution...(in my case at least)
The original install package was done on a 32 bit machine, when checked in to the server which is a 64 bit machine the build fell over....
On closer inspection in the aiproj project, there ...
FOLLOW US
Get the latest news in Application Packaging