Skip to content

Create driver

Creates a driver.

CreateDriver(name As String, modelname As String, osPointID As Integer, osShortname As String) As Boolean

name(String)

The name of the Driver.

modelname (String)

The Model this driver matches.

osPointID (integer)

The OS Point ID

osShortname (String)

The OS Shortname

Boolean. The function returns True if successful, otherwise false.

VBScript

Set oCMS = CreateObject("CapaInstaller.SDK")
wscript.echo oCMS.SetDefaultManagementPoint("1")
wscript.echo oCMS.CreateDriver("Intel(R) Ethernet Connection I217-LM","HP HP Z2 Tower G4 Workstation","1","Win11x64")