views:

162

answers:

1

I am building for Silverlight 4, and I handle MouseRightButtonDown events and build my own ContextMenu's (a class from the Silverlight Toolkit). I would like to add the classic "Silverlight" menu item to my menus, and give the user the familiar option of launching the "Microsoft Silverlight Configuration" dialog. This is the dialog lets users manage Updates, Webcams, Permissions, and Application Storage. So I need a way to programatically launch the dialog when the menu item is clicked.

I can be done for Flash, and it would seem that Microsoft would want to encourage developers to support that option.

Can it be done?

+2  A: 

Here is the answer no likes to give: no. Currently there is no exposure in the Silverlight API to invoke the display of the Silverlight configuration dialog.

I would agree that such a feature ought to exist.

Edit

In response to your additional question. In an elevated SL4 OOB app it may be possible to get the scripting shell to launch the Silverlight.Configuration.exe. You find this file at:-

%programfiles%\Microsoft Silverlight\4.0.50401.0\Silverlight.Configuration.exe

AnthonyWJones
@AnthonyWJones - I noticed today that Silverlight Spy (http://firstfloorsoftware.com/silverlightspy) has a Tools >> Silverlight Configuratoin menu item that launches the dialog. I know that this is a WPF application and not a Silverlight control, but I am curious how the dialog is lauched in that case. Maybe this could be done OOB and/or via COM? I'd love to learn more...
Jim McCurdy
@Jim: Edited answer with the additional info you requested
AnthonyWJones