Description
If default retry and wait values needs to be changed this is the function to call. To take effect this function needs to be called before MSI_CheckEngineState()
Syntax
MSI_SetRetryValues(iRetryCount, iSecondsToWait) As Boolean
Parameters
iRetryCount (String)
How many times should be retried
iSecondsToWait (String)
How long to wait each time
Example
VBScript
If bStatus Then bStatus = MSI_SetRetryValues(45, 90) If bStatus Then bStatus = MSI_CheckEngineState() If bStatus And UCase(gsValue) = "TRANSACTION" Then bStatus = Job_WriteLog("Custom", "MSI Engine is in transaction phase. Installation is being postponed", bStatus, True) End If