仅适用于 Windows 2000 的 InnoSetup 中的 OnlyBelowVersion 应该使用什么值?

发布于 2024-09-08 18:19:28 字数 155 浏览 0 评论 0原文

如果Windows版本是2000,我想使用OnlyBelowVersion来安装sc.exe程序,而对于Windows NT及以下版本根本不需要。

仅 Windows 2000 所需的唯一以下版本是什么,即 Windows XP 或 Windows 2003 的最小字符串是什么?

I want to use OnlyBelowVersion to install the sc.exe program if the Windows version is 2000 and not at all for Windows NT and below.

What is the only below version required for Windows 2000 only, ie what is the minimum windows XP or Windows 2003 string?

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

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

发布评论

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

评论(1

魂归处 2024-09-15 18:19:28

来自 InnoSetup 帮助文件:

Windows 版本:

4.0.950 Windows 95

4.0.1111 Windows 95 OSR 2 和OSR 2.1

4.0.1212 Windows 95 OSR 2.5

1998 年 1 月 4 日 Windows 98

4.1.2222 Windows 98 第二版

4.9.3000 Windows Me

Windows NT 版本:

4.0.1381 Windows NT 4.0

5.0.2195 Windows 2000

5.01.2600 Windows XP 或 Windows XP 64 位版本 2002 版(安腾)

5.02.3790 Windows Server 2003 或 Windows XP x64 版本 (AMD64/EM64T)

或 Windows XP 64 位版本
2003(安腾)

6.0.6000 Windows Vista

6.0.6001 Windows Vista Service Pack 1 或 Windows Server 2008

6.01.7600 Windows 7 或 Windows Server 2008 R2

>

和:

OnlyBelowVersion 基本上
与 MinVersion 相反。指定
最低 Windows 和 Windows NT 版本
以便不处理该条目。为了
例如,如果您输入 4.1,5.0 和
用户正在运行 Windows 95 或 NT 4.0
该条目将被处理,但如果
用户正在运行 Windows 98(
报告其版本为 4.1) 或 Windows
2000(报告其版本为 NT
5.0),将不会被处理。为其中一个版本添加“0”
意味着没有版本上限。
内部版本号和/或服务包
版本中可能包含级别
数字。这会覆盖任何
OnlyBelowVersion 指令中
脚本的 [Setup] 部分。

没有 OnlyBelowVersion 的条目
参数总是被处理,除非
其他参数表明不应该。

示例:仅低于版本:4.1,5.0

From the InnoSetup help file:

Windows versions:

4.0.950 Windows 95

4.0.1111 Windows 95 OSR 2 & OSR 2.1

4.0.1212 Windows 95 OSR 2.5

4.1.1998 Windows 98

4.1.2222 Windows 98 Second Edition

4.9.3000 Windows Me

Windows NT versions:

4.0.1381 Windows NT 4.0

5.0.2195 Windows 2000

5.01.2600 Windows XP or Windows XP 64-Bit Edition Version 2002 (Itanium)

5.02.3790 Windows Server 2003 or Windows XP x64 Edition (AMD64/EM64T)

or Windows XP 64-Bit Edition Version
2003 (Itanium)

6.0.6000 Windows Vista

6.0.6001 Windows Vista with Service Pack 1 or Windows Server 2008

6.01.7600 Windows 7 or Windows Server 2008 R2

>

And:

OnlyBelowVersion Basically the
opposite of MinVersion. Specifies the
minimum Windows and Windows NT version
for the entry not to be processed. For
example, if you put 4.1,5.0 and the
user is running Windows 95 or NT 4.0
the entry will be processed, but if
the user is running Windows 98 (which
reports its version as 4.1) or Windows
2000 (which reports its version as NT
5.0), it will not be processed. Putting "0" for one of the versions
means there is no upper version limit.
Build numbers and/or service pack
levels may be included in the version
numbers. This overrides any
OnlyBelowVersion directive in the
script's [Setup] section.

An entry without an OnlyBelowVersion
parameter is always processed, unless
other parameters say it shouldn't be.

Example: OnlyBelowVersion: 4.1,5.0

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