Install Windows Store App package (*.appx) for all users

I know there are several posts where users want to install Windows Store Apps for all users. Answers were to use DISM.

In my case I can not use DISM because all clients are already deployed. If a user requests a new app at the supports center, the package will be deployed to his machine.

This package (*.appx) should be deployed to the machine not only for the user.

Is there a powershell command to achive this?

4

2 Answers

You can do this through the DISM.EXE /Online /Add-ProvisionedAppxPackage command. More info here

1

You can use Add-ProvisionedAppxPackage with PowerShell script to install UWP Sideloading packages with certificate:

  1. You must choose a local or network path and copy all the package folder content.
  2. Run as Administrator:
$localFolderPath = "C:\UWP_1.0.0.0_Test]\*"
$localPackage = "C:\UWP_1.0.0.0_Test\UWP_1.0.0.0_x64.msixbundle"
$certName = Get-ChildItem -Path $localFolderPath -Include *.cer
certutil.exe -addstore TrustedPeople $certName[0].FullName
DISM.EXE /Online /Add-ProvisionedAppxPackage /PackagePath:$localPackage /SkipLicense
  1. Wait, it takes a while.
  2. If there are some depencies use /DependencyPackagePath:[pathDependcies]

I hope that I could help someone with that. :)

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like