Windows 10签名的ClickOnce应用抛出'Unknown Publisher' [英] Signed ClickOnce app throwing 'Unknown Publisher' with Windows 10

查看:251
本文介绍了Windows 10签名的ClickOnce应用抛出'Unknown Publisher'的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们的绝大多数业务用户都运行Windows 7,并且我们的ClickOnce应用程序可以按原样安装,更新和运行,而不会出现任何弹出警告。



同一应用程序在Windows 10上引发了以下情况





当然,更多信息似乎成为文字的一部分,而不是您可以单击的内容,唯一的选择是不要运行



如果您单击更多信息,则会指出发行商是未知的(尽管它在更新时显示得很好!!)



代码签名证书有效,并且在Win 7上仍可安装/更新并运行而不会发出警告



有什么想法现在改变了吗?



谢谢



https:/ /stackoverflow.com/a/18636102/1246870



我不确定在Windows 7中为什么这样行得通-就我而言,Win7不能正常运行很好-但是根据您的评论,这可能是解决方案...


The vast majority of our business users run Windows 7, and our ClickOnce application installs, updates and runs as it should without any pop-up warnings.

The same application is throwing up the following on Windows 10

Of course 'More info' appears to be part of the text rather than something you can click with 'Don't run' appearing to be the only option

If you do click 'More Info' it states the publisher is unknown (although it displayed it just fine whilst updating!!!)

The Code Signing Certificate is valid and it still installs/updates and runs without warnings on Win 7 boxes.

Any ideas what they have changed now?

Thanks

解决方案

I assume you are using Signing tab - but it only signs setup.exe - and not the actual application.exe file. This way you don't get a "warning" prompt when you install the app, but you get it when you run it. You need to sign application.exe separately - and there is no UI for that in Visual Studio, you need to use PostBuild task: https://stackoverflow.com/a/18636102/1246870

i'm not sure why this works okay in Windows 7 - in my case Win7 did not work as well - but based on your comment, this can be the solution...

这篇关于Windows 10签名的ClickOnce应用抛出'Unknown Publisher'的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆