分发 IronPython 应用程序

发布于 2024-08-26 13:01:52 字数 411 浏览 6 评论 0原文

我正在考虑使用 IronPython 开发一个小型应用程序,但是我想将我的应用程序分发给非技术人员,因此理想情况下,我希望能够为他们提供我的应用程序的标准快捷方式以及安装 IronPython 所需的说明第一的。

如果可能的话,我什至希望我的快捷方式能够检测 IronPython 是否不存在,并在这种情况下显示适当的警告(我可以使用简单的 VbScript 来完成)

问题是 IronPython 不会将自己置于 %PATH% 环境中变量,因此如果 IronPython 安装到非标准位置,我的快捷方式将不起作用。

现在我还可以告诉我的用户“如果你将 IronPython 安装到不同的位置,你需要去编辑这个快捷方式......”,但这对于我的目标受众来说太技术性了。

有没有一种万无一失的方法来分发我的 IronPython 依赖应用程序?

I'm thinking of developing a small application using IronPython, however I want to distribute my app to non-techies and so ideally I want to be able to give them a standard shortcut to my application along with the instructions that they need to install IronPython first.

If possible I even want my shortcut to detect if IronPython is not present and display a suitable warning if this is the case (which I can do using a simple VbScript)

The trouble is that IronPython doesn't place itself in the %PATH% environment variable, and so if IronPython is installed to a nonstandard location my shortcut don't work.

Now I could also tell my users "If you install IronPython to a different location you need to go and edit this shortcut and...", but this is all getting far too technical for my target audience.

Is there any foolproof way of distributing my IronPython dependent app?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

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

发布评论

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

评论(1

紫﹏色ふ单纯 2024-09-02 13:01:52

我不会尝试找到 IronPython - 我会将所有必要的 IronPython 运行时文件直接附加到您的应用程序中。那么它就是100%万无一失的:-)

I would not try to find IronPython - I would append all necessary IronPython runtime files directly to your application. Then it is 100% foolproof :-)

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