2017-09-01 55 views

回答

0

我認爲在sideload模式下打包appx可能會對您有所幫助,您可以自己分發。詳細請參閱
https://docs.microsoft.com/en-us/windows/uwp/packaging/packaging-uwp-apps

關於如何創建一個證書:
1.創建證書
https://technet.microsoft.com/en-us/itpro/powershell/windows/pkiclient/new-selfsignedcertificate 例子:

New-SelfSignedCertificate -Type Custom -Subject "CN=BurningFish" -KeyUsage DigitalSignature -CertStoreLocation "Cert:\LocalMachine\My" 

您將獲得證書的路徑,例如如A0A89249221A0BA3E8681A12021966475079214B。
2.出口與powershell命令的PFX:

$pwd = ConvertTo-SecureString -String "password" -Force -AsPlainText 
Export-PfxCertificate -cert "Cert:\LocalMachine\My\A0A89249221A0BA3E8681A12021966475079214B" -FilePath C:\Temp\MyKey.pfx -Password $pwd 

對於如何打包並簽署APPX
我提供的問題的解決方案:Packging of Edge Extension which support nativemessaging(UWP app)

先決條件運行APPX
將系統設置爲側向載荷模式:
進入設置 - >更新&安全 - >對於開發 - >側載應用。

0

您可以自行打包,簽署和部署到商店:這被稱爲側載應用程序。所有你需要做的是按照this process step by step

您不能將其分發給其他用戶,並且您只能在自己的機器上安裝。分銷目前僅限於商店。