Deploy Silverlight OOB with ClickOnce (like LightSwitch)
I know the limitations of WPF clickonce deployment versus SL OOB, however, in LightSwitch apps, there is a ClickOnce Package to deploy Silverlight OO开发者_开发问答B Apps.
Is it possible to get the same behavior without using LightSwitch, say custom RIA app?
The user can right click on the silverlight control and install the app. If you want to force it, check in app.cs to see if the app is running out of browser, if it's not you can set the root visual to a splash screen with an install button. http://timheuer.com/blog/archive/2009/08/12/silverlight-out-of-browser-force-install-pattern.aspx
edit: I don't think you can deploy SL with ClickOnce.
http://social.msdn.microsoft.com/Forums/en/winformssetup/thread/59f0925b-e912-45b1-ac46-330a3f72ca76
"ClickOnce deployment is designed for smart client applications, such as WinForms or WPF apps, or console applications. AFAIK it won't work for a Silverlight app, nor will it work for WCF services, unless you include them in a client application and have it host them itself."
精彩评论