I'm glad your problem has been solved. Generally speaking, in order to improve security and performance, Windows 10 in S mode can only run applications provided by Microsoft Store. To install applications from outside the Microsoft Store, you need to quit the S mode permanently. There is no charge for exiting S mode, but the mode cannot be restored after exiting. If you are prevented from quitting, and the device belongs to the organization, please check with the administrator. Organizations can choose to keep all devices in S mode at all times.
For detailed questions and answers about Windows S mode, you can refer to the following articles: