View Single Post
  #2  
Old 09-08-2005, 11:17 AM
kinook kinook is online now
Administrator
 
Join Date: 03-06-2001
Location: Colorado
Posts: 6,003
Regarding the batch file problem, it seems that PsExec has trouble sending a batch file's output to the pipe VBP creates (not sure if the problem is with VBP or PsExec, but we'll look into it). You can work around the problem by either

1) configuring the step to read output from None

or

2) configuring the step to read output from A file (%server_name%\c$\output.txt) and redirecting the batch file's output to that file (psexec %server_name% -u domain\username -p mypassword -i cmd /c c:\WEB_inst.bat > c:\output.txt)

One way to automate installing a bunch of assemblies into the GAC would be to build a VBP project on the remote computer that uses a Process Files + GAC Install action. Another option would be to use a FOR loop in your batch file (type for /? at a Command Prompt to see the available syntax).
Reply With Quote