Introduction
You are facing an issue where Windows command-based script host "cscript" is not functioning properly. This causes the *.vbs and *.js scripts, which detect the applications, to not work properly.
Troubleshooting
First of all, make sure *.js and *.vbs scripts work on your machine:
Step 1
To check *.js scripts: