You can use several approaches when uninstalling Office 2007 applications.

  1. msiexec.exe /x {productcode} /qb
  2. Configure the setup.xml file and run setup with /unstall /config

 image

Here are some examples of uninstall commands

Office 2007 Visio Profesional: "\\Server\Microsoft Visio 2007\setup.exe" /uninstall VisPro /config .\VISPRO.WW\uninstall.xml
Office 2007 Project Profesional: "\\Server\Microsoft Project 2007\setup.exe" /uninstall PrjPro /config .\PRJPRO.WW\uninstall.xml