I have a problem with installing programs trough any kind of setup that uses Windows Installer.
If i open any kind of Setup file be it .exe or .msi it closes after a few seconds.
Now i have gone through some troubleshooting on it already and from what i see it seems to be my Windows installer closing.

I checked that my windows installer wasn't disabled(As shown in the link above) and when i try to look for updates that also closes after a few seconds

Thank you