ClickOnce and Microsoft Edge (Chromium)

The ClickOnce installation behavior recently changed when Microsoft introduced the new Microsoft Edge, based on the Chromium open source project.

The new Microsoft Edge has ClickOnce support from v 77 and it it’s enabled by default from v 87. There is an older post about how to enable it here.

Browse to the following link in Edge to see the current version.

edge://version/

New Behavior

Launching Smart Office from a ClickOnce installation point link or performing a logoff (restart) from within Smart Office is now disrupted by the following dialog due to the changed security implementation:

Press Open to continue with the ClickOnce launch process as it was before.

The dialog will not appear if Smart Office is launched from the Windows Start Menu or the Start Menu link as a shortcut on the Windows Desktop.

The Logoff button can be locked in Shutdown mode to avoid this issue altogether.
Instead of Logoff, a Shutdown and then Launch from Windows Start Menu is performed by the user.

Use the Admin tool Import/Export Manager to change the setting ‘Shutdown’ in Mango.UI.xml to be readonly with default value true.

<mp:Property Name="ShutDown" ReadOnly="True">
   <mp:DefaultValue>True</mp:DefaultValue> 
   <mp:Value /> 
</mp:Property>

It will result in the following Smart Office Canvas Header

You can read more about ClickOnce and DirectInvoke in the Microsoft document here.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.