# Job_Start

> Initialize CapaInstaller script. Create a log, initialize the environment etc.

Source: https://docs.capaone.com/capainstaller/vb-scripting-library/job-functions/job-start/  
Product: CapaInstaller — a separate CapaSystems product; do not apply this page to any other.

### Description

Initialize CapaInstaller script. Create a log, initialize the environment etc

### Syntax

Job_Start(sMode, sJobName, sVersion, sLog, sTask) as Boolean

### Parameters

#### sMode (String)

Installation-mode. Valid values: 'WS', 'US'

#### sJobName (String)

Job name

#### sVersion (String)

Job version

#### sLog (String)

Log-file name

#### sTask (String)

Task mode. Valid values: 'INSTALL', 'UNINSTALL', 'POST', 'CONFIGURE'

#### Example

**VBScript**

```vb
If bStatus Then bStatus=Job_Start("WS", "CapaInstaller", "v1.0", "CapaInstaller.log", "INSTALL")
```

[Scripting Guidelines](/capainstaller/vb-scripting-library/scripting-guidelines/)

### Related functions

[Job_End](/capainstaller/vb-scripting-library/job-functions/job-end/) [Constants](/capainstaller/vb-scripting-library/addendum/constants/) [Package Property](/capainstaller/vb-scripting-library/addendum/package-property/) [Variables](/capainstaller/vb-scripting-library/addendum/variables/)
