PDA

View Full Version : vbld_RemoteExecuteCmd


Andrew
02-07-2005, 08:07 AM
One of the last steps in our automated build procedure is uninstall and install of our application and com+ proxy on our citrix server.

To get the job done we use vbld_RemoteExecuteCmd() to launch the setup.exe with /qn commandline parameter to do a silent install. This works fine execpt for the fact that the script returns without waiting for the completion of the setup.exe program.

We've been trying to use a log file but this is a clumsy sollution and doesn't work when uninstalling the program.

I've tried to run the setup with start /wait setup.exe /qn but this doesn't seem to help.

Does anybody have an idea on how this can be fixed?

kinook
02-07-2005, 08:21 AM
Use psExec [1] instead. It's demonstrated in the Server.bld sample.

[1] http://www.sysinternals.com/ntw2k/freeware/psexec.shtml