Author Topic: Avast Free Antivirus (Win) installer program breaks proper detection of UCRT  (Read 2341 times)

0 Members and 1 Guest are viewing this topic.

REDACTED

  • Guest
When Avast Free Antivirus for Windows is installed, it copies api-ms-* libraries as a side-by-side package to a subdirectory of winsxs; but it also copies ucrtbase.dll to System32 directory. This breaks, e.g., Microsoft's own VC Redist 2015 or 2017 package installer's UCRT detection logic, which is checking if ucrtbase is present in the directory (the installers are available at https://support.microsoft.com/en-us/help/2977003/the-latest-supported-visual-c-downloads). In this case, the VC Redist would omit installation of the relevant MSU package, which leads to other applications depending on UCRT later failing because of api-ms-win-crt-string-l1-1-0.dll missing.

A workaround for other applications would be to directly install relevant MSUs (available from https://www.microsoft.com/en-us/download/details.aspx?id=48234). In LibreOffice installer, we have workarounded this by trying to install the MSUs unconditionally (ref: https://bugs.documentfoundation.org/show_bug.cgi?id=119910). But it would be good if Avast would not install parts of UCRT to the place where only properly installed library must reside.
« Last Edit: October 04, 2018, 12:42:13 PM by mikekaganski »

Offline bob3160

  • Avast Überevangelist
  • Probably Bot
  • *****
  • Posts: 48608
  • 64 Years of Happiness
    • bob3160 Protecting Yourself, Your Computer and, Your Identity
Thanks, I've reported this to Avast.
Free Security Seminar: https://bit.ly/bobg2023  -  Important: http://www.organdonor.gov/ -- My Web Site: http://bob3160.strikingly.com/ - Win 11 Pro v24H2 64bit, 32 Gig Ram, 1TB SSD, Avast Free 24.4.6112, How to Successfully Install Avast http://goo.gl/VLXdeRepair & Clean Install https://goo.gl/t7aJGq -- My Online Activity https://bit.ly/BobGInternet