MSI\_SetRetryValues
Description
Section titled “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
Section titled “Syntax”MSI_SetRetryValues(iRetryCount, iSecondsToWait) As Boolean
Parameters
Section titled “Parameters”iRetryCount (String)
How many times should be retried
iSecondsToWait (String)
How long to wait each time
Example
Section titled “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 IfRelated functions
Section titled “Related functions”