chocolatey / boxstarter

Repeatable, reboot resilient windows environment installations made easy using Chocolatey packages
https://boxstarter.org/
Apache License 2.0
1.29k stars 163 forks source link

ClickOnce fails in Chrome and Firefox #345

Open yodurr opened 5 years ago

yodurr commented 5 years ago

Running the clickonce installer fails to start in Chrome. It's a known issue and the workaround is to use Edge. I didn't see an issue for it so adding the issue here.

gep13 commented 5 years ago

@yodurr thanks for raising this.

This has been a known issue for a while, and it comes down to the fact that Chrome removed support for NPAPI:

https://blog.chromium.org/2014/11/the-final-countdown-for-npapi.html

It is my understanding that ClickOnce relies on this in order to function, and as a result, fails. As a result, I don't think that there is much that Boxstarter itself, can do to work around this.

@Redsandro has created a Google Chrome extension (https://chrome.google.com/webstore/detail/windows-remix-clickonce-h/dgpgholdldjjbcmpeckiephjigdpikan) which adds support for ClickOnce back into those browsers, however, this would need to be installed, prior to trying to access a Boxstarter URL.

@yodurr did you have any suggestions on how to workaround this in another way?

pauby commented 5 years ago

Issues #61 and #97 both talk about the FF and Chrome issues around this.

pauby commented 5 years ago

@yodurr Did you manage to get this working in Chrome?

yodurr commented 5 years ago

no, it still doesn't work. Am using the scripts on aka.ms/devsetup

pauby commented 5 years ago

As far as I understand it this is a browser issue and outside of Boxstarter. Not sure what we can add to that. I know there are plugins for Chrome and Firefox - I have no experience of them so cannot make any recommendations.

I was hoping you were going to come back with a 'yeah, and here is a fantastic plugin that works really well' ... :(

AnthonyMastrean commented 5 years ago

At some point, IE will be dead and the Edge that runs with NPAPI will also be dead, replaced by the Chromium Edge. https://www.windowscentral.com/microsoft-building-chromium-powered-web-browser-windows-10