DVD 上的 wpf 应用程序如何?

发布于 2024-08-13 22:35:06 字数 375 浏览 0 评论 0原文

可能的重复:
wpf/silverlight 应用程序到 DVD

只是想知道是否可以在上播放 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

惟欲睡 2024-08-20 22:35:06

您只需将 exe、dll 和所需的数据文件刻录到 DVD 上并从那里运行即可。

但是

  1. 您必须在计算机上安装适当版本的 .net 框架。
  2. 从 cd/dvd 运行的 .net 应用程序以部分信任方式运行,在此模式下您没有执行某些操作的权限。

此 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

  1. You must have the appropriate version of the .net framework already installed on teh computer.
  2. .net applications running from cd/dvd run in partial trust, in this mode you don't haver permissions to do some things.

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.

吻泪 2024-08-20 22:35:06

您可以通过 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.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文