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
0 Comments   [ + ] Show Comments

Comments

Please log in to comment

Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.

Answers

0
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
Answered 12/19/2005 by: WiseUser
Fourth Degree Brown Belt

Please log in to comment
Answer this question or Comment on this question for clarity