danny96, did you remove any previous anti-virus software via the proper removal tool per DavidR’s suggestion?
Each av has their own removal tool. Be sure to use any and all removal tools in “safe” mode. Then run a cleaner. I recommend CCleaner.

If you can’t run “any” programs and get the BSOD, how could you uninstall avast?