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.