我该如何安装的IronPython 2.0 NGEN'ed二进制文件? [英] How do I install IronPython 2.0 with NGEN'ed binaries?

查看:242
本文介绍了我该如何安装的IronPython 2.0 NGEN'ed二进制文件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有谁知道如何安装的IronPython 2.0使用MSI软件包NGEN'ed二进制文件?该 IronPython的官方主页说,NGEN选项将大大提高启动时间,但由于某些原因,默认情况下不启用。它实际上并没有说明哪个MSI参数,你需要通过启用它,我无法找到一个网站上的文档页面,所以我希望这里有人会知道。 (澄清:我正在做一个静默安装进行分发到多台机器,所以我在寻找的命令行参数,谢谢)

Does anyone know how to install IronPython 2.0 with NGEN'ed binaries using the MSI package? The official IronPython homepage says that the NGEN option will greatly improve startup time, but for some reason it is not enabled by default. It doesn't actually state which MSI parameters you need pass to enable it, and I couldn't find a documentation page on the site, so I'm hoping someone here would know. (Clarification: I'm doing a silent install for distribution to multiple machines, so I'm looking for command line parameters, thanks)

我问这是因为开始时间为一个简单的Hello World的剧本是在5-6秒的量级上我的笔记本电脑2 + GHz的英特尔Core 2 Duo W / 4gig。而发生这种情况每次运行的时间。我希望这个NGEN选项可以解决这个问题,因为像现在一样慢,几乎感觉就像我使用的编译语言。

I'm asking this because the start time for a simple "hello world" script is in the order of 5-6 seconds on my laptop with 2+ghz Intel Core 2 Duo w/ 4gig. And this happens every time I run. I hope that this NGEN option solves this problem because as slow as it is now, it almost feels like I'm using a compiled language.

更新:srivatsn有正确的答案使用NGENDLLS = true命令行参数

UPDATE: srivatsn had the right answer to use the NGENDLLS=True command line parameter.

有关备查,这里是我以前安装的IronPython 2.0的完整的MSI命令行静默方式:

For future reference, here is the complete MSI command line I used to install IronPython 2.0 silently:

msiexec /qn /i "IronPython.msi" NGENDLLS=True


由于有约色,但我实际上做了静默安装(通过MSIEXEC / QN)进行集中分布到多台机器。有谁知道什么命令行参数(非UI)使NGEN的选择吗?


Thanks Igal but I'm actually doing a silent install (via msiexec /qn) for centralized distribution to multiple machines. Does anyone know what command line parameter (non UI) enables the NGEN option?

推荐答案

尝试传递NGENDLLS =真从命令行。

Try passing in NGENDLLS=True from the commandline.

这篇关于我该如何安装的IronPython 2.0 NGEN'ed二进制文件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆