Launch Silverlight Out-of-Browser from browser post-installation

随声附和 提交于 2019-12-05 12:41:46

问题


I am building a prototype application in Silverlight 4 Beta and I am using the Out-of-Browser (OOB) functionality. I need the OOB functionality to be able to access the local file system, and I would like to avoid writing an ActiveX component or Java applet.

I have a requirement to be able to launch the OOB experience from the browser once it has been installed on the client machine. All I seem to be able to do is detect from the browser whether the application has been installed, and then ask the user to start it from the desktop or start menu (as a normal application).

This however 'breaks' the experience required by the customer, which should be directed from the browser. Has anyone been able to launch the OOB application directly from the browser?

Thank you,

Martijn


回答1:


This should not be possible.

Just because a user has agreed to install an application as an OOB this should not confer rights to the source site that it can then invoke the OOB experience without the user explictly deciding to do so.

So the closest your going to get is what you already have. Politely remind the user that they have the app already installed as an OOB. If possible allow some functionality from the browser and in your "already installed message" explain that the best experience may be had by using the installed version instead.



来源:https://stackoverflow.com/questions/2325647/launch-silverlight-out-of-browser-from-browser-post-installation

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!