Since Windows 10, the IApplicationAssociationRegistrationUI::LaunchAdvancedAssociationUI
method does not work anymore.
On Windows Vista, 7 and 8, it opens the Control Panel on the Set Program Associations page for specified application.
On Windows 10, it does nothing.
It's even documented in Microsoft documentation:
Starting in Windows 10, this does not launch the association dialog box. It displays a dialog to the user informing them that they can change the default programs used to open file extensions in their Settings
(Even the second part of the statement is no longer true in the current version of Windows 10)
And actually in recent versions of Windows 10 that control panel does not exist anymore. Its functionality has been moved to a Settings app, under Apps > Default apps > Set defaults by app > [App name].
Is there a way to open the Set defaults by app screen for my application in Windows 10 Settings app programmatically?
Or is there another approach recommended for an application to allow its users to customize associations in Windows 10?
Changing the system default apps is no longer allowed. Here is the annoucement on the Windows Insider blog:
Even if there is some way to launch the settings application, you will not be able to do more.