Uninstall all previous versions of projectwise?

Within my company there are many computers who have gotten behind on bentley updates. In order to get everyone upgraded to the newest releases, I was wondering if there is an uninstaller script or .exe that will remove any previous version of projectwise or microstation in particular.  I will post any findings that I come across or create myself to help others.

Parents
  • I discovered a very easy way to uninstall any version of projectwise. Since the .exe's are just calling a bunch of .msi installers, all of the uninstall strings are located on the computer and realatively easy to find with powershell. The script I wrote is:

    $programs = Get-WmiObject -Class Win32_Product | Where-Object { $_.Name -like "Projectwise *" -or $_.Vendor -like "Bentley *" }
    foreach($program in $programs){
    $program.Uninstall()
    }

    This iterates over the list of found installed programs that match the search conditions ( a name that starts with projectwise or a vendor that starts with bentley) and uninstalls them. This version will also uninstall microstation and most of the pre/post reqs that come with it. Hope this helps someone out there.

    Answer Verified By: Jeremy 

Reply
  • I discovered a very easy way to uninstall any version of projectwise. Since the .exe's are just calling a bunch of .msi installers, all of the uninstall strings are located on the computer and realatively easy to find with powershell. The script I wrote is:

    $programs = Get-WmiObject -Class Win32_Product | Where-Object { $_.Name -like "Projectwise *" -or $_.Vendor -like "Bentley *" }
    foreach($program in $programs){
    $program.Uninstall()
    }

    This iterates over the list of found installed programs that match the search conditions ( a name that starts with projectwise or a vendor that starts with bentley) and uninstalls them. This version will also uninstall microstation and most of the pre/post reqs that come with it. Hope this helps someone out there.

    Answer Verified By: Jeremy 

Children
No Data