I am currently trying to manage installation a line of business UWP application on a series of client machines. I need to make sure that the application is installed for any user that signs into windows on a particular machine. To do this I am copying the APPX file of the UWP app to a provisioning directory, and using this command to provision the application:
Add-AppxProvisionedPackage -Online -PackagePath C:\myapp-provision -SkipLicense.
The application installs fine for users some/most of the time. However, I am running into a couple of issues fairly consistatnly.
- Sometimes, after provisioning a new version of the application, when a new user signs into windows, they still see the previous version of the application installed.
- Sometimes, after provisioning the application for the first time, when a new user signs into windows and searches for the app in the start menu, they get no results.
Both of these issues can be resolved by going to Apps & Features, searching for the application in list, selecting Advanced Options on the app, and then selecting reset.
This is an ok fix for the short term, but long term, I cant rely on users to always be aware that they may need to reset the app before using it.
Is there a better way I can go about getting this application installed for all users? Are there additional steps I am missing?