Socket
Book a DemoInstallSign in
Socket

exec-appx

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

exec-appx

Executes a Windows Store application (Appx)

latest
Source
npmnpm
Version
0.2.0
Version published
Maintainers
1
Created
Source

exec-appx

License Version: npm GitHub branch check runs

Executes a Windows Store application (Appx).

Prerequisites

This library requires PowerShell 5.0 (or higher) and support for the Windows Store.

Installation

npm install exec-appx

Usage

execAppx(appID, args = [], options = {})

Example usage in script:

import { execAppx } from 'exec-appx';

try {
		await execAppx('Mozilla.Firefox');
} catch (err) {
		console.error(err);
}

[!IMPORTANT]
For some applications, the AppX manifest specifies multiple executables. To deal with this special case, pass an object as the first argument.

await execAppx({
  	appId: 'Mozilla.Firefox',
  	specifier: 'firefox.exe' // or the index in the filenames array
  })

Options

See child_process.spawn documentation for details.

License

This work is licensed under The MIT License.

Keywords

appx

FAQs

Package last updated on 12 Oct 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts