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 thevercommand 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 thevercommand executed from the Windows Command Prompt) of Microsoft Windows that must be installed, orNoneto indicate the minor version number should not be checked. Minimum value꞉ 0.minimumServicePack (
int, optional) – Minimum Windows service pack number that must be installed, orNoneto indicate the service pack number should not be checked. Minimum value꞉ 0.minimumBuild (
int, optional) – Minimum Windows build number that must be installed, orNoneto indicate the build number should not be checked. Starting with Windows 10, the build number should always be given. Minimum value꞉ 0.