简体   繁体   English

我应该在InnoSetup for Windows 2000中使用OnlyBelowVersion有什么价值?

[英]What value should I use for OnlyBelowVersion in InnoSetup for Windows 2000 only?

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. 我想使用OnlyBelowVersion来安装sc.exe程序,如果Windows版本是2000,而不是Windows NT及更低版本。

What is the only below version required for Windows 2000 only, ie what is the minimum windows XP or Windows 2003 string? 仅Windows 2000所需的唯一版本是什么,即最小的Windows XP或Windows 2003字符串是什么?

From the InnoSetup help file: 来自InnoSetup帮助文件:

Windows versions: Windows版本:

4.0.950 Windows 95 4.0.950 Windows 95

4.0.1111 Windows 95 OSR 2 & OSR 2.1 4.0.1111 Windows 95 OSR 2和OSR 2.1

4.0.1212 Windows 95 OSR 2.5 4.0.1212 Windows 95 OSR 2.5

4.1.1998 Windows 98 4.1.1998 Windows 98

4.1.2222 Windows 98 Second Edition 4.1.2222 Windows 98 Second Edition

4.9.3000 Windows Me 4.9.3000 Windows Me

Windows NT versions: Windows NT版本:

4.0.1381 Windows NT 4.0 4.0.1381 Windows NT 4.0

5.0.2195 Windows 2000 5.0.2195 Windows 2000

5.01.2600 Windows XP or Windows XP 64-Bit Edition Version 2002 (Itanium) 5.01.2600 Windows XP或Windows XP 64位版本2002(Itanium)

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

or Windows XP 64-Bit Edition Version 2003 (Itanium) 或Windows XP 64位版本2003(Itanium)

6.0.6000 Windows Vista 6.0.6000 Windows Vista

6.0.6001 Windows Vista with Service Pack 1 or Windows Server 2008 6.0.6001带有Service Pack 1或Windows Server 2008的Windows Vista

6.01.7600 Windows 7 or Windows Server 2008 R2 6.01.7600 Windows 7或Windows Server 2008 R2

> >

And: 和:

OnlyBelowVersion Basically the opposite of MinVersion. OnlyBelowVersion基本上与MinVersion相反。 Specifies the minimum Windows and Windows NT version for the entry not to be processed. 指定不处理的条目的最小Windows和Windows NT版本。 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. 例如,如果您放置4.1,5.0并且用户正在运行Windows 95或NT 4.0,则将处理该条目,但如果用户正在运行Windows 98(其报告其版本为4.1)或Windows 2000(将其版本报告为NT 5.0),它不会被处理。 Putting "0" for one of the versions means there is no upper version limit. 将“0”设置为其中一个版本意味着没有上限版本。 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. 这将覆盖脚本的[Setup]部分中的任何OnlyBelowVersion指令。

An entry without an OnlyBelowVersion parameter is always processed, unless other parameters say it shouldn't be. 始终处理没有OnlyBelowVersion参数的条目,除非其他参数说它不应该。

Example: OnlyBelowVersion: 4.1,5.0 示例:OnlyBelowVersion:4.1,5.0

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM