Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Can the "Do you want to run this application" prompt be avoided with ClickOnce?

Tags:

clickonce

We would like to deploy an application via ClickOnce but you really do need to click twice. I.e. once on the link - at least one more time on the "Do you want to run this application" dialog (the first time).

Can some kind of trust be created (via Group Policy or otherwise) on certain PCs so that the user never gets asked any questions. I.e. we've already verified that the application is trusted etc just take this URL and it starts.

like image 316
Dodgyrabbit Avatar asked Jun 23 '10 14:06

Dodgyrabbit


People also ask

How do I stop ClickOnce application?

To disable ClickOnce security settings Click the Security tab. Clear the Enable ClickOnce Security Settings check box. Your application will be run with the full trust security settings; any settings on the Security page will be ignored.

Is ClickOnce still supported?

ClickOnce and DirectInvoke in Microsoft Edge | Microsoft Learn. This browser is no longer supported. Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.

What is a ClickOnce application reference?

Application reference file used by ClickOnce, a Microsoft platform used to deploy and run remote Web applications; contains a local or remote link to an application; commonly used to enable links from the Windows Start Menu. APPREF-MS file and their corresponding . APPLICATION files are enabled by the Microsoft .

Is ClickOnce secure?

ClickOnce applications are self-contained; each ClickOnce application is installed to and run from a secure per-user, per-application cache. ClickOnce applications run in the Internet or Intranet security zones. If necessary, the application can request elevated security permissions.


1 Answers

Yes this is possible. You do need "Trusted Publisher" and "Trusted Root" as indicated by Tidjani. That answer led me to this article (linked below) - which explains using ClickOnce with certificates fully and clearly. I now have a popup-free ClickOnce app. It finally really is one click.

http://msdn.microsoft.com/en-us/library/ms996418.aspx

like image 116
Dude Avatar answered Oct 20 '22 03:10

Dude