Okay, good.
I have one more thing. There is a setting which allows you download apps from places other than the microsoft store.
Go to settings > apps > apps and features. Under installing apps select allow apps from anywhere.
Then try reinstalling again.