

Procuct Code for Microsoft Project Professional 20: ProjPro Procuct Code for Microsoft Project Standard 20: ProjStd Then with some if statements (if installed) uninstalled it with:Įxecute-MSI -Action ‘Uninstall’ -Path $ProductKeyįor Project 2010 and Project 2013 I userd the XML files like for Visio. $ProjStd2007 = (Get-InstalledApplication -Name “Microsoft Office Project Standard 2007”).ProductCode $ProjPro2007 = (Get-InstalledApplication -Name “Microsoft Office Project Professional 2007”).ProductCode $ProjStd2003 = (Get-InstalledApplication -Name “Microsoft Office Project Standard 2003”).ProductCode

$ProjPro2003 = (Get-InstalledApplication -Name “Microsoft Office Project Professional 2003”).ProductCode So what I did is get the Product Code like this: Project 2003 and Project 2007 (all versions) have a Product Code that can be used with msiexec to uninstall it.

Like for instance using the Offscrub.vbs files (which I use for my Office upgrades).īut I seriously had a 100% success rate with my script which basically does a clean uninstall like you would do manually. 350 Microsoft Projects.įor your information, there are other ways to accomplish this as well. We didn’t have 2016 back then, but it shouldn’t be that hard to append to the script. Well I actually happen to have an uninstall script for all Ms Project versions from 2003 until 2013. I will not post the script here because this forum will screw with the formatting įor your reference, the Product ID’s for the different Visio versions that have to be used in the XML are: I have tested this script with following installed products and it worked every time without any issues: It doesn’t require any Setup or source files as it will check the Uninstall string and use that one to uninstall.įor unattended silent uninstalls, an XML file will be created in the Temp folder depending on the installed version of Visio and will be used for the uninstall. This script will check wheter any version of MS Visio is installed and uninstall it.
