How to Uninstall Zoom via PowerShell When Facing Package Issues?

0
5
Asked By TechNinja42 On

I'm working on a script to uninstall the current version of Zoom and install the latest 64-bit version across multiple computers that haven't been updated. I have about 40 machines running either a 32-bit version or older 64-bit versions of Zoom. I've written a script that attempts to locate the installed version for both architectures and run an uninstall command using msiexec. However, when I check the log, it shows a missing package error. It seems that Windows sometimes caches the install files, but I suspect they might get cleaned out over time. I also tried using Uninstall-Package, but that failed as well, with a message indicating that a necessary log file doesn't exist. Is there a more reliable way to handle the uninstallation process without running into these issues?

4 Answers

Answered By TechTroubleshooter On

If you're still running into issues, check out this community post for some automated solutions to missing MSI package problems. It's a great resource: [Fix Missing MSI PowerShell Automate](https://www.reddit.com/r/PowerShell/comments/1o0ra2l/release_fixmissingmsipowershell_automate/)!

Answered By SysAdminBuddy On

You could explore using WinGet for the uninstallation process. It's a neat tool for managing apps on Windows, and you can run commands like `winget upgrade zoom.zoom` to handle upgrades or might be able to set it up for uninstalls.

Answered By CodeCrafter91 On

You might want to supply the MSI installer with your Win32 app as the uninstall MSI instead of using the GUID directly. This ensures you’re correctly referencing the right uninstall package for what’s currently installed.

Answered By HelpfulHarry On

Have you tried using cleanzoom first and then running your new installer right after? This method helps clear out the old version before installing the new one.

Related Questions

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.