Windows 10 Creator Edition includes an option to only allow applications to only be installed from the app store. Under Settings –> Apps –> Apps and Features, Use the drop-down dialog box to set the parameter for installing applications.
If the parameter is set to only use the app store and a “normal” application is attempted to be executed, a dialog box will appear.
This includes portable applications or any .EXE program.
If the parameter is set to warn, a new button is available when the dialog box appears.