Get OS installation types
Description
Section titled “Description”Gets OS Installation Types.
Syntax
Section titled “Syntax”GetOSInstallationTypes(Byval OSPointID as Integer) as ArrayList
Parameters
Section titled “Parameters”OSPointID (Integer)
OS Point ID
Return value
Section titled “Return value”The function returns an array of OS installation types. Each element in the array is a joined line with the character defined with Set splitter.
- InstallType.ID
- InstallType.GUID
- InstallType.Type
Example
Section titled “Example”VBScript
Set oCMS = CreateObject("CapaInstaller.SDK")Set aUnit = CreateObject("System.Collections.ArrayList")Set aUnit = oCMS.GetOSInstallationTypes("1")for each item in aUnit wscript.echo itemnextRelated functions
Section titled “Related functions”The OS Point ID can be retrieved with the function Get OS points.