Skip to content

CMS\_UseAlternativeColorSchemeAt

Defines when end user cancellation messages should be displayed using an Alternative Color Scheme(ACS). This will only have effect if CDM_DefineEndUserCancellation is called. Function should be called before Job_InstallationStart.

In the example below only the last end user cancellation balloons is displayed using ACS. If you want the last 2 messages to use ACS call the function with 2 as parameter and so forth.

CMS_UseAlternativeColorSchemeAt(iRemainingCancellations) as Boolean

iRemainingCancellations

Defines at how many remaining cancellations an alternative color scheme should be active

VBScript

If bStatus Then bStatus = CMS_UseAlternativeColorSchemeAt(1)
If bStatus Then bStatus = CDM_DefineEndUserCancellation(3, 99991231, "ALWAYS")

Scripting Guidelines

CMS Functions