Browse Docs
ONLINE DOCUMENTATION
|
||
Fixing MSI upgrade problem in WindowsIn this document
What is the MSI upgrade issue?In any scenario where an MSI package is upgraded, the MSI file containing the currently installed version must remain on the system. During installation or upgrade, a copy of the MSI file is stored in the During the upgrade process, the uninstallation section of the MSI file corresponding to the currently installed version is executed first. If the cached MSI file in the In such cases, Windows also attempts to locate the original MSI file as a last resort. For example, if an MSI file like C:\Windows\Temp\Example-1.0.msi was downloaded and its cached version under the However, if both the cached and original files are removed from the system, upgrading or uninstalling the software becomes impossible. Is it specific to DefensX?No, this process is not specific to DefensX. It applies to all software packages distributed as MSI (Microsoft Installer) files. The same problem can seen on even the Microsoft SQL Server described here: https://learn.microsoft.com/en-us/troubleshoot/sql/database-engine/install/windows/restore-missing-windows-installer-cache-files The directory mentioned, The files stored in this directory are unique to each machine. Therefore, attempting to delete these files and replace them with copies from another machine would be inappropriate. Removing items from this directory can potentially lead to application crashes or, in severe cases, require the reinstallation and patching of the affected application. How can we solve this problem?The only solution is to download the same MSI file into the same location with the same name. Due to the cached names being different from computer to computer, they must be queried through registry or Powershell and should be copied with the correct name. To download the original DefensX Agent MSI file to the correct location easily;
|
||