2023-11-12 09:46:05 +00:00
|
|
|
# Add-AppxPackage
|
2023-10-21 10:23:56 +01:00
|
|
|
|
|
|
|
> A PowerShell utility to add a signed app package (`.appx`, `.msix`, `.appxbundle` and `.msixbundle`) to a user account.
|
2023-11-12 09:46:05 +00:00
|
|
|
> More information: <https://learn.microsoft.com/powershell/module/appx/Add-AppxPackage>.
|
2023-10-21 10:23:56 +01:00
|
|
|
|
|
|
|
- Add an app package:
|
|
|
|
|
2023-11-12 09:46:05 +00:00
|
|
|
`Add-AppxPackage -Path {{path\to\package.msix}}`
|
2023-10-21 10:23:56 +01:00
|
|
|
|
|
|
|
- Add an app package with dependencies:
|
|
|
|
|
2023-11-12 09:46:05 +00:00
|
|
|
`Add-AppxPackage -Path {{path\to\package.msix}} -DependencyPath {{path\to\dependencies.msix}}`
|
2023-10-21 10:23:56 +01:00
|
|
|
|
|
|
|
- Install an app using the app installer file:
|
|
|
|
|
2023-11-12 09:46:05 +00:00
|
|
|
`Add-AppxPackage -AppInstallerFile {{path\to\app.appinstaller}}`
|
2023-10-21 10:23:56 +01:00
|
|
|
|
|
|
|
- Add an unsigned package:
|
|
|
|
|
2023-11-12 09:46:05 +00:00
|
|
|
`Add-AppxPackage -Path {{path\to\package.msix}} -DependencyPath {{path\to\dependencies.msix}} -AllowUnsigned`
|