locked
Add-AppxProvisionedPackage with an .AppInstaller RRS feed

  • Question

  • I am able to install for a local user using an .AppInstaller file as follows: 

    Add-AppxPackage -AppInstaller "http://myWebServer/MyApp/MyApp.appinstaller"

    I would like to include the same in a system image for all users. I've tried 

    Add-AppxProvisionedPackage -PackagePath "http://myWebServer/MyApp/MyApp.appinstaller" -Online -SkipLicense -AppInstaller

    But an error says that "A parameter cannot be found that matches parameter name 'AppInstaller'." Is there a way to do this? I would like to use AppInstaller because it enables auto-updates. Thanks.

    Wednesday, April 24, 2019 7:26 PM

All replies

  • Hi,

    From the link (https://docs.microsoft.com/en-us/powershell/module/dism/add-appxprovisionedpackage?view=win10-ps), we can see that:

    Add-AppxProvisionedPackage[-FolderPath <String>] [-PackagePath <String>] [-DependencyPackagePath <String[]>] [-LicensePath <String>] [-SkipLicense] [-CustomDataPath <String>] [-Online] [-WindowsDirectory <String>] [-SystemDrive <String>] [-LogPath <String>] [-ScratchDirectory <String>] [-LogLevel <LogLevel>] [<CommonParameters>]

    The parameter name '-AppInstaller' isn’t supported.

    As far as I know, we cannot install package through .appinstaller to all users. Please refer to the link below:

    Install package (appxbundle) via .appinstaller to all users on machine

    https://stackoverflow.com/questions/50326370/install-package-appxbundle-via-appinstaller-to-all-users-on-machine

    Please Note: Since the website is not hosted by Microsoft, the link may change without notice. Microsoft does not guarantee the accuracy of this information.

    Best Regards,


    Please remember to mark the replies as answers if they help.
    If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com.

    Thursday, April 25, 2019 6:14 AM
  • Hi, 
    Was your issue solved?
    If yes, would you like to share your solution in order that other community members could find the helpful reply quickly.
    If no, please reply and tell us the current situation in order to provide further help. 
    Best Regards,

    Please remember to mark the replies as answers if they help.
    If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com.

    Monday, April 29, 2019 1:36 PM