Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

NOTE: The function will automatically be called if Shell_Execute is running msiexec.exe

 


Syntax

MSI_CheckEngineState() As Boolean

 


Return value

Result will be stored in gsValue

 


Example

Code Block
languagevb
themeEclipse
languagevb
titleVBScript
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

Scripting Guidelines

 


Related functions

...