Skip to content

Job_SetPlatform

Defines the management platform that runs the script. The platform decides how the script reports status and how it handles messages to the end user, for example end-user cancellation in Job_InstallationStart.

Scripts created by the CapaInstaller Package Creator call Job_SetPlatform("CDM") just before Job_Start. Keep this call in scripts that CapaInstaller deploys.

Job_SetPlatform(sPlatform) As Boolean

Current Desktop Management platform. Use CDM (or CMS, which has the same effect) for CapaInstaller. The other valid values, SMS, SMSKS, SMS2003 and GENERIC, are for other platforms. The value isn’t case-sensitive.

If bStatus Then bStatus = Job_SetPlatform("CDM")

Scripting Guidelines

Constants Package Property Variables