Hello
Thank you for your question and reaching out. I can understand you are having query\issues related to c:\windows\installer folder cleanup.
Windows installer cache is stored in the C:\Windows\Installer folder, which you shouldn't delete. This folder is used to keep crucial files for programmes installed using the Windows Installer technology.
Please note that It is not safe to delete or cleanup Installer folder
Reference:
--If the reply is helpful, please Upvote and Accept as answer--