I am having similar problem packaing same product - is your failure code failed to download all files needed for the package?
Can someone else answer if this is connected to an issue whereby web shares do not like directoruies called BIN because they pose a security threat?