It’s not safe, but you will need to disable avast to proper install the application. Care: you’re installing a spyware in your computer (at least, avast thinks so).
It won’t remove, it will just ignore, won’t detect.