

" (HelpFile: " & errLoop. " (NativeError: " & errLoop.NativeError & ")" & "" " (SQL State: " & errLoop.SQLState & ")" & "" & _ I have tried putting them before the zerotouchinstallation. Error Codes and Their Description Error code Description 5201 A connection. I have 3 apps to install and all of them fail with 1618. Created by the USMT when restoring data The ZeroTouchInstallation.vbs script. I have ordered the apps to install after the zertouchinstalation.vbs custom command. Complete that installation before proceeding with this install. " (Source: " & errLoop.Source & ")" & "" & _ According to MS KB229683 error code 1618 for msiexec.exe is ERRORINSTALLALREADY RUNNING Another installation is already in progress. , 15:52:28 (IronSpigot::ExeInstallerBase:: PerformAction) PerformOperation on exe returned exit code 1618 (translates to HRESULT 0x80070652) When I look in the Application and Setup event files I find the following additional information: Application Event: Windows Installer installed the product. StrError = "Error #" & errLoop.Number & "" & _

' Enumerate Errors collection and display Instead, in VBScript, use On Error Resume Next and then check both Err.Number and the Count property of the Errors collection, as shown in the following example: In other words, you cannot use On Error GoTo in VBScript. The primary difference is that VBScript does not support the concept of error handling by continuing execution at a label. There is little difference between the methods used in Visual Basic and those used with VBScript.
