It is hard to tell without seeing what your trying to uninstall, but I would go away from using a bat file as it won't pass error codes through etc. I would create it as a deployment package with each step etc so you can see where it's failing, its a little extra work at the start but makes things alot easier.