Can Chromium Edge install ClickOnce app deployed to a LAN share by Visual Studio 2019 Publish Wizard

Copper Contributor


We have not been able to install a Winforms desktop application from a LAN share using Visual Studio 2019 Publish Wizard and the current Chromium Edge (v92.x).  Edge intercepts the setup.exe file as if it were a normal download and does not invoke the installation process:



Our networking team has enabled ClickOnce in Edge in ActiveDirectory policy and has set a number of other policies related to SmartScreen:

Edge ActiveDirectory settings.png


When Visual Studio 2019 publishes the publish.htm page to the LAN share, the RUN button on that page, when clicked, attempts to download the setup.exe file using the file:// protocol. This is the address in the browser:




The following question on this forum


Re: SmartScreen turned off -> Java Webstart JNLP Files are marked as "can harm your computer - Micro...


discusses adding file-extension and domain-name pairs to the 


registry entry; the example given there, which the poster called successful, includes the https:// protocol as part of the domain-name (see his "" domain example at the bottom of this message). So I tried to include file:// as part of our domain-name by analogy (  "file://*" ) but Edge continues to intercept the setup.exe file.  
If Edge can work with ClickOnce packages installed to an intranet LAN share, not to a website, how is that done?
"1"="{\"domains\": [\"https://*\", \"\"], \"file_extension\": \"jnlp\"}"

2 Replies

@lloydmalvern Hello!  When the setup.exe file is blocked are you able to hover over the blocked message in the Downloads window, do you see a trash can and "..."? 


If you click on "..." you should have the option to "Keep" the file.  


Here is our documentation with additional information: 


Would this work for your scenario?  





When the "keep" option is used, the setup.exe is saved to the downloads folder, and then when it is clicked on, the rest of the deployment package cannot be found, since the other files have not been downloaded to the download folder but still sits up on the LAN share.  Under Internet Explorer  the setup.exe was launched not saved to disk.


 So we're going to switch over to the deploy-to-website mode. I have a couple of questions about that but will start a separate message.