Create driver

Description

Creates a driver.


Syntax

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


Parameters

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


Return Value

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


Example 

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")