Closed lemos1235 closed 1 year ago
一般情况下 side loading 的包安装时会验证签名,所以需要手动导入根证书。也可以打开开发者模式,解压以后用 Add-AppxPackage
注册包布局。
谢谢,明白了。
一般情况下 side loading 的包安装时会验证签名,所以需要手动导入根证书。也可以打开开发者模式,解压以后用
Add-AppxPackage
注册包布局。
用Add-AppxPackage安装,还是会报错。(开发者模式已打开,powershell管理员运行)
Add-AppxPackage -Register "C:\Users\pcl\Downloads\Maple.App_0.9.0.0_x64_Test\Maple.App_0.9.0.0_x64_Test\Maple.App_0.9.0.0_x64\AppxMetadata\AppxBundleManifest.xml"
Add-AppxPackage: Deployment failed with HRESULT: 0x80073CF9, Install failed. Please contact your software vendor.
Deployment Register operation with target volume C: on Package 56263bdbai.Maple_0.9.0.0_neutral_~_gv14dyc9zj8pj from: (AppxBundleManifest.xml) failed with error 0x80070057. See http://go.microsoft.com/fwlink/?LinkId=235160 for help diagnosing app deployment issues.
NOTE: For additional information, look for [ActivityId] 4b97108a-0980-0007-87eb-b94b8009da01 in the Event Log or use the command line Get-AppPackageLog -ActivityID 4b97108a-0980-0007-87eb-b94b8009da01
另外,可以不安装证书进行使用吗?