I'm using condition
Code: Select all
NOT DATABASE_PROP
But I don't know which condition must be used for checking white space strings.
Code: Select all
NOT DATABASE_PROP
Code: Select all
(NOT DATABASE_PROP) AND (DATABASE_PROP = " ")
Code: Select all
// get the value of the DATABASE_PROP property in a variable
$property = AI_GetMsiProperty DATABASE_PROP
// check if the variable contains spaces
if (($property -match " ") -eq $true)
{
// set a property if the variable contains spaces. This property can further be used to form a condition.
AI_SetMsiProperty CONTAINS_SPACES true
}