You need to restart your computer and go into safe mode with networking, windows will use the minimum amount of resources while in safe mode. Once you're in safe mode, try installing the anti-virus.
Make sure you have anti-virus at all times on your computer to prevent further infections.