Platform Object
To create an object expression that checks target systems for operating system details during an Advanced UI or Suite/Advanced UI installation, use the Platform object. The Platform object has support for properties such as Architecture, FullVersion, and MajorVersion.
Syntax
[@Platform.Architecture]
[@Platform.BuildNumber]
[@Platform.CSDVersion]
[@Platform.FullVersion]
[@Platform.MajorVersion]
[@Platform.MinorVersion]
[@Platform.ProductType]
[@Platform.ServicePackVersion]
[@Platform.Value]
Parameters
The Platform object does not have any parameters.
Properties
The following properties are available for the Platform object.
Property |
Description |
|||||||||
Architecture |
Retrieves the architecture (x86, x64, IA64, ARM, or Unknown) of the machine on which the Advanced UI or Suite/Advanced UI installation is running. |
|||||||||
BuildNumber |
Retrieves the build number version of Windows on the machine on which the Advanced UI or Suite/Advanced UI installation is running. For a list of valid build numbers, see the dwBuildNumber member of the OSVERSIONINFOEX structure that is documented in the MSDN Library. |
|||||||||
CSDVersion |
Retrieves the CSD version of Windows on the machine on which the Advanced UI or Suite/Advanced UI installation is running. Service Pack 2 is an example of a CSD version. |
|||||||||
FullVersion |
Retrieves the full version number of Windows on the machine on which the Advanced UI or Suite/Advanced UI installation is running. The value is calculated as MajorVersion X 100 + MinorVersion. For example, the version number of Windows 8.1 is 6.3. The FullVersion value on a machine with Windows 8.1 is 603. |
|||||||||
MajorVersion |
Retrieves the major version number of Windows on the machine on which the Advanced UI or Suite/Advanced UI installation is running. |
|||||||||
MinorVersion |
Retrieves the minor version number of Windows on the machine on which the Advanced UI or Suite/Advanced UI installation is running. |
|||||||||
ProductType |
Retrieves the product type of the machine on which the Advanced UI or Suite/Advanced UI installation is running. Valid values are:
|
|||||||||
ServicePackVersion |
Retrieves the service pack version of Windows on the machine on which the Advanced UI or Suite/Advanced UI installation is running. |
|||||||||
Value |
Retrieves the same value as the FullVersion property. |
Examples
The following examples demonstrate use of the Platform object in object expressions.
Expression |
Description |
[@Platform.FullVersion] |
Obtain the version number of the target system. |
[@Platform.Architecture] |
Obtain the architecture of the target system. |