This is good, and I have a deployment setup similar to this, however we need to uninstall Office 2013 and 2010 from client PCs prior to installing Office 365. Currently I am checking a registry key (word.application CurVer) to determine which version of office is installed, and then trying to use the Setup.exe /uninstall command to to uninstall office silently (using a configuration.xml file to tell it to run silently). I have two problems though:
First, is that the uninstaller does not seem to run at all. I have tried various batch scripts and command line deployment options, it always throws an error that /uninstall is not a valid switch (which it clearly is, it works when I run it manually)
Second is that the deployment commands do not wait for the installer (and I am guessing the uninstaller) to finish before moving to the next step, which for the installer is success. I need to know that the installation actually was successful, not that it was started successfully, as well as ensure that the uninstall of the old versions finished before moving onto installing the new versions.