DVD 上的 wpf 应用程序如何?
只是想知道是否可以在上播放 wpf 应用程序DVD。 我们有一个应用程序,可以充当一些应用程序的知识库。我们的客户希望用户将 DVD 带回家并播放,以熟悉使用 DVD 的应用程序的各个方面。您可以将 KB 应用程序视为使用 wpf 构建的文章集合,它看起来像一个具有后退、前进和后退功能的浏览器。菜单中的收藏夹选项。只是想知道是否有人有任何建议。 谢谢 氮
Possible Duplicate:
wpf/silverlight application to dvd
Just wondering if it is possible to play a wpf app on dvd.
We have an app which acts as a Knowledgebase for a few applications. Our client would like the users to take home the dvd and play it to get familiar with various aspects of apps using the dvd. You can kind of think of the KB application as a collection of articles built using wpf which looks like a browser with back, forward & favorites options in the menu. Just wondering if anyone has any suggestions.
Thanks
N
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
您只需将 exe、dll 和所需的数据文件刻录到 DVD 上并从那里运行即可。
但是
此 MSDN 页面解释了部分信任支持哪些 WPF 功能:http://msdn .microsoft.com/en-us/library/aa970910.aspx
根据您的应用程序,您可能会发现在本地计算机上安装程序(如果需要,可以将数据保留在 DVD 上)比获取更容易它以部分信任的方式运行,在这种情况下,请查看(从最简单到最强大的顺序)ClickOnce、VS 安装项目和 WIX。
You can just burn the exe, dlls and required data files to a dvd and run it from there.
BUT
This MSDN page explain what WPF features are supported in partial trust: http://msdn.microsoft.com/en-us/library/aa970910.aspx
Depending on your application you may find out that installing the program on the local computer (maybe keeping the data on the dvd if you want) is easier than getting it to run in partial trust, in that case take a look at (ordered from simplest to most powerful) ClickOnce, VS setup projects and WIX.
您可以通过 ClickOnce 发布应用程序,ClickOnce 可以构建可刻录到 DVD 的离线安装程序。这将是最简单的发布方式,包括一个引导程序,可以为您安装所有必需的先决条件,而无需完全承诺的 MSI 安装程序的所有复杂性。
如果您需要更高级的设置,请使用 Wix、Visual Studio 集成安装程序生成器或任何其他选择的 MSI 生成器 - 这将为您提供所有可以想象到的自定义功能。
You can publish the application via ClickOnce, which can build an offline installer that can be burned to DVD. That would be the easiest way to publish, includes a bootstrapper that installs all required prerequisites for you without all the complexity of a fully pledged MSI installer.
In case you would require a more advanced setup, use Wix, Visual Studio integrated installer generator or any other MSI generator of choice - this will give you all the customization imaginable.