问题描述
我在 Visual Studio 中创建了 Uwp 应用程序并创建了用于测试目的的应用程序包.
I created Uwp app in visual studio and created app packages for test purposes.
我的域中有两个用户,现在我使用一个用户在我的 Windows 平板电脑上安装了我的应用程序.我使用 powershell add-appxpackage 命令它已安装并且运行良好,但是当我从平板电脑上的其他用户登录时,它无法找到 UWP 应用程序.
I have two users in my domain now I installed my app on my windows tablet using one user. I use powershell add-appxpackage command It gets installed and is working well but when I login from a different user on my tablet it is not able to find the UWP app.
我希望多个用户为我的所有用户在共享位置读取和写入文件,因此我的应用程序在共享位置创建它,而我的其他用户能够看到创建的文件并访问它,但无法找到应用程序.
I wanted multiple users to read and write file in a shared location for all my users so my app creates it in a shared location and my other user is able to see the created file and access it but it is not able to find the app.
我尝试使用 Add-AppxProvisionedPackage 并且它显示的结果很好,但是当我搜索应用程序时它不存在.
I tried with Add-AppxProvisionedPackage and it displays the result fine but when i search for app it is not there.
我需要给它一些许可还是我的安装有问题?
Do I need to give it some permission or is my installation wrong?
推荐答案
您应该能够使用 Add-ProvisionedAppxPackage
cmdlet 为所有用户安装应用程序包.请参阅文档此处了解更多详细信息.
You should be able to install an app package for all users using the Add-ProvisionedAppxPackage
cmdlet. See the documentation here for more details.
这篇关于并非每个用户都访问 UWP 应用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!