SpotifyInstaller.exe has stopped working

I've just registered on spotify and tried to download the desktop app, but whenever I click on the SpotifySetup to run it, the "SpotifyInstaller.exe has stopped working" window instantly pops up. I tried turning off antivirus and firewall but it didn't help at all.