What operating system do you have?
Check the list of running processes before going to the “Details” dialog - and if you find avast.setup on the list, kill it first.