Kinook Software Forum

Go Back   Kinook Software Forum > Visual Build Professional > [VBP] Third Party Tools

 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 09-08-2005, 10:01 AM
kblaine kblaine is online now
Registered User
 
Join Date: 04-30-2004
Posts: 12
Angry PSEXEC to run .Bat File

I am trying to run a batch file on a particular server, but it only works 1/3 of the time.

Here is what my VB step is:
psexec %server_name% -u domain\username -p mypassword -i c:\WEB_inst.bat

Here is the error I get 2/3 of the time:
The process tried to write to a nonexistent pipe.
Connecting to server_name..Starting PsExec service on server_name Connecting with PsExec service on Server_name Starting C:\WEB_inst.bat on Server_name..
C:\WEB_inst.bat exited on Server_name with error code 1.
Process completed with exit code 1

The batch script that I run, places approximately 100 assemblies into the GAC. Here is the line that is used in the bat file, multilplied by 100:
C:\gacutil -i C:\na33.2003\Infragistics.UltraChart.Core.v3.dll

Do you know of an easier way to automate installing 100 assemblies into the gac? Why is my build only working 1/3 of the time, and getting "the process tried to write to a nonexisitent pipe" the rest of the time?

Thank you!
Reply With Quote
 

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



All times are GMT -5. The time now is 10:26 AM.


Copyright © 1999-2023 Kinook Software, Inc.