I wrote a script that I have added in as a computer based policy to run at startup. This script checks which version of WinRAR (x86/x64) is installed and runs the correct uninstall.exe with the /s flag (uninstall.exe /s) for a silent uninstall.
The policy works and the uninstaller runs, however it does not uninstall properly, the shortcuts, task bar items and start menu items for WinRAR all stay in place. The files in Program Files are gone though. When I change this to a user based policy the uninstall.exe /s works properly and all the shortcuts are gone as they should be. However, my typical users do not have the administrative rights to run this uninstall.exe. So it only works right if logging into an admin account since the user policy runs with the users permissions.
Any ideas how to make this work?