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

标签 inno-setup windowsversion

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

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

最佳答案

来自 InnoSetup 帮助文件:

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

>

并且:

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

关于inno-setup - 仅适用于 Windows 2000 的 InnoSetup 中的 OnlyBelowVersion 应该使用什么值?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/3228437/

相关文章:

inno-setup - 从 Inno Setup 检查 Windows 版本的问题

windows - 各种 Windows 版本附带的 Kernel32.dll 版本列表?

inno-setup - 如何调整 Inno Setup 向导页面的大小?

inno-setup - Inno Setup 组件视觉故障

ant - 如何在 javafx-ant、maven 和 INNO 中使用自定义 *.ISS?

passwords - 使用 Inno Setup 的密码保护卸载

inno-setup - 使用 Inno Setup 安装隐藏文件

c++ - 运行时检查失败 #2 - 变量 'osvi' 周围的堆栈在 mfc 应用程序上已损坏

delphi - 如何在Delphi XE4中对CSIDL或KNOWFOLDERID进行条件编译?