UWP installer without powershell

后端 未结 2 994
情话喂你
情话喂你 2020-12-18 02:43

I am looking for a more userfriendly way to make an installer for my UWP Application. I don\'t want to distribute through the store and I am aware that you need to set the d

相关标签:
2条回答
  • 2020-12-18 02:56

    Microsoft has now adds its own graphical installer. You can simply double click the appxbundle file.

    If you use a self signed cert it must be set as trusted in the system. The cer file is also in the zip archive with is created by Visual Studio.

    0 讨论(0)
  • 2020-12-18 03:06

    You can install an appx package from code with the Windows.Management.Deployment.PackageManager object's AddPackageAsync method. This is demonstrated for C++ and C# in the Add app package sample on MSDN.

    To update an existing package call PackageManager.UpdatePackageAsync

    0 讨论(0)
提交回复
热议问题