Error Code 3010 using CA's Software Delivery
I'm pushing out XP SP2 using CA's Software Delivery tool. When the job is complete I'm getting an Error (exit) code of 3010. I realize that this code indicates that the workstation is in need of a reboot, however, I would like to get around this error code.
Does anybody have any experience pushing this using CA's product and know of a way to get around getting 3010 returned at the end of the job?
Thanks
B
Does anybody have any experience pushing this using CA's product and know of a way to get around getting 3010 returned at the end of the job?
Thanks
B
0 Comments
[ + ] Show comments
Answers (1)
Please log in to answer
Posted by:
WiseUser
18 years ago
Instead of calling the setup routine directly, create a "wrapper" script which returns whatever you like to the distribution software.
Here's a very basic example:
Set oWsh = CreateObject("Wscript.Shell")
sCurrentDir = Replace(Wscript.ScriptFullName, Wscript.ScriptName, "")
iRet = oWsh.run(Chr(34) & sCurrentDir & "mysetup.exe" & Chr(34), 5, True)
msgbox iRet
Select Case iRet
Case 3010
Wscript.Quit 0
Case Else
Wscript.Quit iRet
End Select
Set oWsh = Nothing
Here's a very basic example:
sCurrentDir = Replace(Wscript.ScriptFullName, Wscript.ScriptName, "")
iRet = oWsh.run(Chr(34) & sCurrentDir & "mysetup.exe" & Chr(34), 5, True)
msgbox iRet
Select Case iRet
Case 3010
Wscript.Quit 0
Case Else
Wscript.Quit iRet
End Select
Set oWsh = Nothing
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
so that the conversation will remain readable.