SystemInfo.WinServicePackMajor
------------------------------

Returns the major version number of the latest Service Pack installed on the system.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [SystemInfo](component_SystemInfo.md) | [2.8](newinversion28.md) | ❌ No | ✅ Yes | ❌ No | ✅ Yes, on Windows | ❌ No |

### Deprecated

This function was [deprecated](deprecated.md).

MBS( "SystemInfo.WinServicePackMajor" ) ### Parameters

none

### Result

The version number.

### Description

Returns the major version number of the latest Service Pack installed on the system.   
For example, for Service Pack 3, the major version number is 3. If no Service Pack has been installed, the value is zero.  
### See also

- [SystemInfo.WinServicePackMinor](SystemInfoWinServicePackMinor.md)

### Release notes

- **Version 13.1**
    - Deprecated [SystemInfo.WinServicePackMajor](https://www.mbsplugins.eu/SystemInfoWinServicePackMajor.shtml) and [SystemInfo.WinServicePackMinor](https://www.mbsplugins.eu/SystemInfoWinServicePackMinor.shtml) functions.

### Blog Entries

- [MBS FileMaker Plugin, version 13.1pr1](https://www.mbsplugins.de/archive/2023-02-01/MBS_FileMaker_Plugin_version_1/monkeybreadsoftware_blog_filemaker)

This function is free to use.

Created 18th August 2014 , last changed 28th January 2023

  
[SystemInfo.WinProductType](SystemInfoWinProductType.md) - [SystemInfo.WinServicePackMinor](SystemInfoWinServicePackMinor.md)

[HTML Version](SystemInfoWinServicePackMajor.shtml)