My Atom editor is not installing. What is the problem?

This image is what happens when I try to install the Atom text editor

So I have tried to install the Atom editor many times but it shows up an error every time I try to install it. It says the update has stopped working as you can see in this image 1. The setup log also doesn't open.The error it shows after I click cancel on the Update error. I have tried older builds but it shows the same thing on every release.