Some times when we deployed WSP by bat file we get this type of issue, I was very unhappy when I saw this error and unable to find out why it is coming
to resolve it go to assembly and remove all install related DLLs and if some dll denies to uninstall go to process(task manager) and stop all SharePoint /visual studio related process.