iTixRuntime::SetSymbol

Set the value of the indicated variable. After setting it, the installer will use the new value. Do not include the < and > brackets around the variable name. The effect is similar to changing the variable's value in the Variables page of your InstallMate project, except that it occurs at runtime instead of build time.

BOOL SetSymbol(
    const TCHAR *pszSymbolName,
    const TCHAR *pszNewValue
);

Parameters

pszSymbolName
Name of the variable to set. This may be any of the variables that you defined in your project.
pszNewValue
New value to assign to the variable. This new value may contain symbolic expressions; they will be resolved when the new value is accessed.

Return value

Returns nonzero if successful or zero if an error occurs.