简体   繁体   English

2016年以后Mac上的Silverlight:浏览器外(OOB)是一个选项吗?

[英]Silverlight on Mac beyond 2016: Is Out Of Browser (OOB) an option?

The Get Silverlight page now shows Dec 31 2016 as the end of support for Silverlight in Safari. Get Silverlight页面现在显示2016年12月31日结束了对Safari中Silverlight的支持。 That seems to be unannounced news and it is unclear if it was set by Apple or Microsoft. 这似乎是未经宣布的消息,目前还不清楚它是由Apple还是微软设定的。 The date matches the Firefox end of support for NPAPI . 该日期与Firefox对NPAPI的支持结束相匹配。

Q1: Could a Silverlight app continue to be viable (and installable) as an OOB app on the Mac beyond that? 问题1: Silverlight应用程序可以继续作为Mac上的OOB应用程序继续可行(并且可安装)吗? Or does the inevitable loss of broswer NPAPI support mean the complete end-of-the-line for Silverlight on Macs? 或者,不可避免地丢失broswer NPAPI支持意味着Silverlight在Mac上的完整终端? The post here seems to offer some hope, but it is quite old. 这里的帖子似乎提供了一些希望,但它已经很老了。

Q2: Can anyone point to a source/announcement of that Safari end of support date? Q2:任何人都可以指出该Safari结束支持日期的来源/公告吗?

I made a test to see if running an OOB Silverlight application requires a hidden browser process. 我做了一个测试,看看运行OOB Silverlight应用程序是否需要隐藏的浏览器进程。 On Windows and Mac, it appears that no instance of a browser is needed (no iexplore.exe appears in the Windows Task Manager, and no Safari process appears in the list given by "ps aux" on the terminal on Mac OS X). 在Windows和Mac上,似乎不需要浏览器实例(Windows任务管理器中没有iexplore.exe,并且Mac OS X终端上的“ps aux”列表中没有出现Safari进程)。

Since we know that the installation can be done on Windows without the browser, it should work on that OS even if no browser supports Silverlight (as long as the Silverlight component itself is available to the client users). 由于我们知道可以在没有浏览器的情况下在Windows上完成安装,因此即使没有浏览器支持Silverlight,它也应该在该操作系统上运行(只要Silverlight组件本身可供客户端用户使用)。

The question that remains: can we make an installer for the Mac, so that the browser is not involved at any point in the installation process? 问题仍然存在:我们是否可以为Mac安装一个安装程序,以便浏览器在安装过程中的任何时候都不参与? There is a procedure to build such an installer but it requires the Silverlight application to run in the browser first, to get the ".app" file. 有一个构建此类安装程序的过程,但它需要首先在浏览器中运行Silverlight应用程序,以获取“.app”文件。

A possible workaround: an installer can be made while Safari still supports Silverlight. 可能的解决方法:在Safari仍支持Silverlight时可以创建安装程序。 The application included in the installer will become out-of-date as its code evolves but since the installed OOB application has a build-in mecanism to update itself from the server, the latest version will be available when running it the second time. 随着代码的发展,安装程序中包含的应用程序将变得过时,但由于已安装的OOB应用程序具有内置机制以从服务器更新自身,因此第二次运行时将提供最新版本。 Maybe that could save us? 也许这可以拯救我们?

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM