Comodo Firewall comes with an uinstaller.
Did you clean the “c:\Windows\Installer” folder in an attempt to save hard disk space? That could cause installers and uninstallers using Windows/MSI installer to fail.
Best thing to do in your situation is to boot into safe mode and run the clean up tool. Then boot back in Windows and run the Windows Installer Clean Up utility and see if there is a reference to Comodo Firewall. If there is remove it. Then try again.
Keep us posted.