Click Once Full Trust signed by CA still requires Admin privileges

我是研究僧i 提交于 2019-12-13 04:34:46

问题


I have developed a winform app that I am deploying via clickonce. I have signed the manifest and the executable with a Thawte certificate and it is deployed via the internet. My understanding was that as long as it is signed and the certificate is installed on the client computer (which it is) then you could enable full trust for the app even if the user is not an administrator and they wouldn't be prompted for administrator approval.

The install and updates still prompt though.


回答1:


Resolved this.

You need to install your own certificate as 'Trusted Publisher' and the Thawte certificate as 'Intermmediate Certification Authority'. Then, the most important step which I couldn't seem to find documented anywhere, right click your project in VS, go to the 'Publish' tab, click 'Options', then 'Manifests', then 'Use application manifest for trust information'

Abracadabra - magic click once fairy dust is sprinkled all over your app.

Hope this helps someone.



来源:https://stackoverflow.com/questions/17837211/click-once-full-trust-signed-by-ca-still-requires-admin-privileges

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!