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