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
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/)!
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.
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.
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
Can't Load PhpMyadmin On After Server Update
Redirect www to non-www in Apache Conf
How To Check If Your SSL Cert Is SHA 1
Windows TrackPad Gestures