The error is not WinRAR install, but WinRAR shellextension (right click menu of mouse). The problem is new entries in the new right-click menu. The solution is:
Open PowerShell and write this:
get-appxpackage *winrar.shellextension* | remove-appxpackage
and press Enter
To make sure...