tmiller
08-31-2005, 02:27 PM
I am having problems with getting VBP to remotely install. I have tried using the built in VBScript and using the third party tool suggested (psexec) with little luck.
The VBScript came directly from the server example to start a remote build (which I was able to do)
Dim intRet
intRet = vbld_RemoteExecuteCmd("eleroo", "msiexec.exe /i \\bart\ocp\HandlerDaemon2005.1.00.001.msi /qn", "qauser", "qapass")
If intRet = 0 Then
Builder.LogMessage "Remote project successfully launched"
Builder.LogMessage "Remote project failed with code " & intRet
Else
' if failed, show a message and stop the build
Builder.LogMessage "Remote project failed with code " & intRet
Builder.Stop
End If
This comes back saying that it successfully launches, which according to what I can tell, it does launch msiexec.exe. The msi program ends up in the process list. I have also tried putting %doscmd% in front of it, in which case I show both a cmd and a msiexec on the process list. Nothing appears to actully happen with them.
When using PSexec I always get access is denied. The user is set as an admin on the domain, I also created a local admin account and tried that but it also got an access denied error on anything I tried.
I am really at a loss, any help would be greatly appreciated.
TIA
The VBScript came directly from the server example to start a remote build (which I was able to do)
Dim intRet
intRet = vbld_RemoteExecuteCmd("eleroo", "msiexec.exe /i \\bart\ocp\HandlerDaemon2005.1.00.001.msi /qn", "qauser", "qapass")
If intRet = 0 Then
Builder.LogMessage "Remote project successfully launched"
Builder.LogMessage "Remote project failed with code " & intRet
Else
' if failed, show a message and stop the build
Builder.LogMessage "Remote project failed with code " & intRet
Builder.Stop
End If
This comes back saying that it successfully launches, which according to what I can tell, it does launch msiexec.exe. The msi program ends up in the process list. I have also tried putting %doscmd% in front of it, in which case I show both a cmd and a msiexec on the process list. Nothing appears to actully happen with them.
When using PSexec I always get access is denied. The user is set as an admin on the domain, I also created a local admin account and tried that but it also got an access denied error on anything I tried.
I am really at a loss, any help would be greatly appreciated.
TIA