Forum Discussion
Machine-wide Package Provisioning (Install for All Users)
Hi nanvik,
Currently the installation of an MSIX app to all users does require the use of the Add-AppxProvisionedPackage PowerShell cmdlet, or the use of the DISM parameter /add-appxprovisionedpackage.
Have you considered using the following PackageManager API to force the provisioning of your MSIX app package to your devices, making it accessible to all users?
I hope this was helpful.
Thanks,
Roy
Thanks for the reply. I wasn't aware of the API, but if I understand the documentation correctly the only way to achieve the 'double-click to install' that we get with MSI is to create a bootstrapper application that has the MSIX package embedded in it (like a setup.exe does with MSI package). That would imply needing to build out the UI experience and handling of install progress etc (assuming the API supports that). While it may be technically possible, it's not the type of software we'd want to spend our time building out and maintaining.
This seems like the type of thing a 3rd party vendor like Advanced Installer, or Flexara should be tackling rather than an independent ISV. Even better would be to have built-in support for it as I suggested above.
Is it worth me adding an entry into the ideas area of the MSIX Tech Community for future consideration? Or is there a technical/business reason that it's not made it into the queue? Seems like a fairly common thing for an ISV to install an app for all users - I'm surprised it isn't easily supported.
Nels.