GeoEco.Dependencies.WindowsDependency.SetVersion

WindowsDependency.SetVersion(minimumMajorVersion, minimumMinorVersion=None, minimumServicePack=None, minimumBuild=None)

Sets the minimum version number of Microsoft Windows that is required.

Parameters:
  • minimumMajorVersion (int) – Minimum major version number (the first number reported by the ver command executed from the Windows Command Prompt) of Microsoft Windows that must be installed. Minimum value꞉ 5.

  • minimumMinorVersion (int, optional) – Minimum minor version number (the second number reported by the ver command executed from the Windows Command Prompt) of Microsoft Windows that must be installed, or None to indicate the minor version number should not be checked. Minimum value꞉ 0.

  • minimumServicePack (int, optional) – Minimum Windows service pack number that must be installed, or None to indicate the service pack number should not be checked. Minimum value꞉ 0.

  • minimumBuild (int, optional) – Minimum Windows build number that must be installed, or None to indicate the build number should not be checked. Starting with Windows 10, the build number should always be given. Minimum value꞉ 0.