Page tree
Skip to end of metadata
Go to start of metadata

Description

Returns which source has initiated the uninstall. License Consolidation or Administrative tool

 

Syntax

CMS_GetUninstallSource(sPackage) as Boolean

 

Parameters

sPackage (String)

Name of package

 

Return value

Result will be stored in gsValue. The result will be either 'lc' or 'Console'

 

Example

VBScript
If bStatus Then bStatus = CMS_GetUninstallSource(GetContainer)
If bStatus Then xStatus = Job_WriteLog("Custom", "gsValue: " & gsValue, bStatus, True)

Scripting Guidelines

 

Related functions

  • No labels