为 Windows 商店打包经典桌面应用程序时,是否需要 OV 或 EV 代码签名证书?

Do I need OV or EV code signing certificate when packaging a classic desktop application for the Windows Store?

我想使用桌面桥(MakePri、MakeAppx)将桌面 (WPF) 应用程序添加到 Windows 商店。我已经使用自签名证书测试了我的构建过程,一切正常。

但是,我找不到任何信息说明我是否需要扩展验证 (EV) 证书或组织验证 (OV) 证书是否足够。我知道 OV 证书可能会导致安装程序 .msi 包出现 SmartScreen 警告。

我还找到了旧链接(与 Windows 8 个应用程序相关),其中说商店不使用 SmartScreen。但是我找不到与通过桌面桥打包的 Windows 10 个桌面应用程序相关的任何内容。

当我从商店下载转换后的应用程序时,OV 证书会导致 SmartScreen 警告吗?

您无需使用有效证书即可将您的应用发布到应用商店。您只需要使用测试证书对其进行签名。当您将其上传到开发人员时。中心,它将由 Microsoft 签名以通过应用商店分发。

我找不到说明这一点的文档,只是根据我自己的经验说的。有一些注释here:

To test your app in a realistic setting as you prepare for distribution, it's best to sign your app and then install it.

Visual Studio signs your app by using a test certificate. You'll find that certificate in the output folder that the Create App Packages wizard generates. The certificate file has the .cer extension and you'll have to install that certificate into the Trusted Root Certification Authorities store on the PC that you want to test your app on.

此外,如果您使用 Visual Studio 的新更新,您可以使用 Windows 应用程序包项目创建 Desktop Bridge 应用程序并完全通过 Visual Studio 将它们发布到应用商店。这意味着你不需要手动打包和签名,VS 帮你搞定。

编辑

您的用户无论如何都看不到智能屏幕。这是有道理的,因为您的应用无法 运行 具有管理员权限。如果您的应用需要一个需要管理员权限的功能,您需要在继续之前考虑一下。