The sad part of that is you now have wasted your time and ours, ???
and Avast! will probably install flawlessly now that you have re-installed windows.