A Node.Js package that gets all apps installed in a Windows machine.
$npm install @ahkohd/get-win-appslet getWinApps = require('@ahkohd/get-win-apps');
getWinApps
.getApps()
.then(apps => console.log(apps))
.catch(err => console.log(err));
// OUTPUT: [{ displayName: string, displayIcon: string, installLocation: string }]See this stackoverflow question to see how it works.
git clone https://github.com/ahkohd/get-win-apps.git
cd get-win-apps
// run an example
npm test
// run the compiled exe
npm run dry-runThe command below helps to compile the get-apps-win.cs source code to exe. Please modify the command below to make it work on your machine, and also you need .NET installed on your Windows machine.
c:\\windows\\Microsoft.NET\\Framework\\v<version e.g 3.5>\\csc.exe /t:exe /out:C:\\Users\\<local_current_user>\\<path_to_project-folder>\\get-apps\\get-apps.exe C:\\Users\\<local_current_user>\\<path_to_project-folder>\\get-apps\\get-apps-win.cs An Example looks like:
c:\\windows\\Microsoft.NET\\Framework\\v3.5\\csc.exe /t:exe /out:C:\\Users\\victor\\Documents\\dev-lab\\get-apps\\get-apps.exe C:\\Users\\victor\\Documents\\dev-lab\\get-apps\\get-apps-win.cs