Plesk upgrade fails: The older version cannot be removed

Follow

Comments

1 comment

  • Avatar
    Ivan B

    Instead of step #2 and #3 in the Windows cache manipulations part, one can find local package name directly by its non-cached name.

    1. Find out product code in the  HKLM\SOFTWARE\Classes\Installer\Products\  hive:
      PS C:\> reg query HKLM\SOFTWARE\Classes\Installer\Products\ /f "webmail.msi" /s
      HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Installer\Products\32458DC911F747645AF257819E1DB266\SourceList
          PackageName    REG_SZ    webmail.msi
      So we need 32458DC911F747645AF257819E1DB266
    2. To get the LocalPackage value add the product code from previous step and InstallProperties to the HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Products\ hive:
      PS C:\> reg query HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Products\32458DC911F747645AF257819E1DB266\InstallProperties | findstr "LocalPackage"
          LocalPackage    REG_SZ    C:\Windows\Installer\18ea00.msi

Please sign in to leave a comment.

Have more questions? Submit a request