Howto Add AppxPackage for All Users

Hi,

we got the problem to Add an Appx Package for all Users with Powershell over PDQ.

The Package is deployed, but the App then runs only under the default PDQ User.

Any Tip how to manage it? 

Powershell Skript with the Standard Command Line.. (Add-AppxPackage -Path xxxx) won´t work.

 

 

2

Comments

2 comments
Date Votes
  • Hi Dirk,

    I got it working. 

    Copy the files that you need to your local computer. (File Copy)

    User the powershell step and type

    $localFolderPath = "C:\nexus\install\work\Db.App_5.39.12.0"
    $localPackage = "C:\nexus\install\work\Db.App_5.39.12.0\Db.App_5.39.12.0_x86_x64_arm.appxbundle"


    DISM.EXE /Online /Add-ProvisionedAppxPackage /PackagePath:$localPackage /SkipLicense /DependencyPackagePath:$localFolderPath\Dependencies\x64\Microsoft.NET.Native.Framework.2.1.appx /DependencyPackagePath:$localFolderPath\Dependencies\x64\Microsoft.NET.Native.Runtime.2.1.appx /DependencyPackagePath:$localFolderPath\Dependencies\x64\Microsoft.VCLibs.x64.14.00.appx

     

    1
  • Legened, this worked for me too. I was trying to deploy Microsoft To Do and ended up with:


    Step1: Copy appxBundle file to C:\Temp

    Step2: 

    $localFolderPath = "C:\Temp"
    $localPackage = "C:\Temp\ToDo.appxbundle"

    DISM.EXE /Online /Add-ProvisionedAppxPackage /PackagePath:$localPackage /SkipLicense

    Obtained the appxbundle using:
    https://store.rg-adguard.net/

     

    1

Please sign in to leave a comment.

Didn't find what you were looking for?

New post