question

RobertBarnes-8211 avatar image
0 Votes"
RobertBarnes-8211 asked RobertBarnes-8211 commented

ClickOnce not working with W11

My software (MANASYS Jazz, https://jazzsoftware.co.nz/) is distributed with ClickOnce. I have created the latest build on my laptop (W10), and download works perfectly there, with the software being downloaded and installed. I get sent an email that there has been a download. However with my new PC (W11), when I click the download nothing happens except that I get the email.

Both computers are using Edge, Edge version is 99.0.1150.36 (Up to date), and edge://flags/#edge-click-once shows that ClickOnce is enabled.

The ASP.NET code initiating the download is
Dim StartupString As String = URLBase & Folder & "Jazz.application?" & QStr
SendEmail("MANASYS Jazz Download, Userid=@Userid", StartupString)
Response.Redirect(StartupString)`
If I run this from Visual Studio and pause on the Response.Redirect, I can copy/paste StartupString into the browser and click it: with my W10 laptop this downloads the software normally, with by W11 PC this does nothing.

How do I fix this?

windows-11ms-edge
· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi @RobertBarnes-8211

I test to download and install the ClickOnce app in Edge in Win10 and Win11, it works on both machines.

Please try to check if you have disabled ClickOnceEnabled policy in Edge in Win11. If not, I think the issue is more related with Windows system. I test on Windows 11 version 21H2, OS build 22000.556. You can check if you have installed all the latest updates on Windows and try again. If the issue still persists, please provide feedback about the issue using the Feedback Hub.

0 Votes 0 ·

1 Answer

LimitlessTechnology-2700 avatar image
0 Votes"
LimitlessTechnology-2700 answered RobertBarnes-8211 commented
· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

@LimitlessTechnology-2700 , I followed up these references. The registry details seem to have been changed for W11.

On my W10 laptop the Regedit hierarchy is exactly as described, i.e.
Computer\HKEY_CURRENT_USER\SOFTWARE\Classes\Software\Microsoft\Windows\CurrentVersion\Deployment

On this W11 PC Regedit gets to
Computer\HKEY_CURRENT_USER\Software\Classes
but there is no Software within this to continue down the hierarchy.

0 Votes 0 ·