Check if a non app store application is installed in windows 10 machine

348 views Asked by At

I have installed a windows desktop application(not from app store). How can I check if this app is installed from other application using javascript?

Is there any plugin available for Windows application like cordova AppAvailability for Android/iOS?

1

There are 1 answers

0
DfKimera On BEST ANSWER

You can use WMI (Windows Management Instrumentation) to generate a list of installed apps via the wmic command-line tool, and go over this list to find the app you're searching.

If you're running NodeJS, you can use the node-cmd package to execute the sequence of commands in the link above, and capture the string output so you can parse later.