Skip to content
This repository was archived by the owner on Sep 10, 2023. It is now read-only.

ahkohd/get-win-apps

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

get-win-apps

A Node.Js package that gets all apps installed in a Windows machine.

Install

$npm install @ahkohd/get-win-apps

Usage

let 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 }]

How it works

See this stackoverflow question to see how it works.

Development

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-run

Compiling get-apps-win.cs

The 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

License

MIT

About

Get all installed apps on a windows machine.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages