Re: [NAnt-users] psexec

2009-02-19 Thread Brass Tilde
> Sorry added the switch but there appears to be some type of error with the > bat file That's something that you're going to need to work out. Use regsvr32.exe /? for specific help with that command. Many DOS commands have such a switch which will show you the parameters. /bs

Re: [NAnt-users] psexec

2009-02-17 Thread M K
This is unrelated to nant or even psexec. You have regsvr32.exe hung on a pop up. Check regsvr32 /? for the way that you need to call it. From: zwhee...@sddmtech.comto: nant-us...@lists.sourceforge.netdate: Tue, 17 Feb 2009 14:55:16 -0500Subject: [NAnt-users] psexec I was able to use p

Re: [NAnt-users] psexec

2009-02-17 Thread Brass Tilde
> 2. Unregister – dlls – here it just hangs > Regsvr32 –u x:\dlls\aspDlls.dll If this is the exact command line you used, add the /s (silent) switch to it, and see what happens. If you don't do that, the remote machine is trying to display a modal dialog box. Whether or not that succeeds d

Re: [NAnt-users] psexec

2009-02-17 Thread Brass Tilde
> I was able to use psexec to start and stop IIS on a remote machine however, > I was not able to unregister and unregister a .dll on that same remote > machine. So my target ran a bat file that You need to make sure the user logged into the local machine has rights to make the modifications you

Re: [NAnt-users] psexec

2009-02-17 Thread Bob Archer
I use psexec to run a batch that registers files without a problem. However, our build runs under a domain account credentials and the domain account is an admin on the target server is question. But, I wouldn't expect you to get a hang. Is the file in use? BOb

Re: [NAnt-users] psExec

2009-02-10 Thread Munawar Rashid
psexec \\remotemachine -c example.exe you can put the above command in a batch file called example.bat and then run the batch file from your build file in the following way Hope it helps Munawar From: zwhee...@sddmtech.comto: nant-us...@lists.sourceforge.netdate: Tue, 10 Feb 2009 16:

Re: [NAnt-users] psExec

2009-02-10 Thread Steve Kapinos
Be aware that psexec has many limitations when used combined with other tools. For instance, while things worked mostly fine from nant, I had massive problems with it being used by nant called from java (from my build agents). I had to resort to using WMI and visual basic in many cases to work

Re: [NAnt-users] psExec

2009-02-10 Thread Chris Taylor
I've used it. I love it. nothing better than doing remote service installs or whatever you can imagine. Just have to make sure your permissions are right for the user you impersonate as. otherwise, it's the bees knees. On Tue, Feb 10, 2009 at 3:14 PM, Zachary B. Wheeler wrote: > Hi All > > >

Re: [NAnt-users] psexec and NAnt

2008-11-25 Thread Bob Archer
You can set any environmental variables you need in the exec task rather then needing to call that bat file. From: Eric Fetzer [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 25, 2008 12:47 PM To: Melissa; Nant Users Subject: Re: [NAnt-users] psexec and

Re: [NAnt-users] psexec and NAnt

2008-11-25 Thread Eric Fetzer
file. From: Melissa <[EMAIL PROTECTED]> To: Eric Fetzer <[EMAIL PROTECTED]>; Nant Users Sent: Tuesday, November 25, 2008 9:06:57 AM Subject: Re: [NAnt-users] psexec and NAnt The environment that vcvars32.bat sets up goes away as soon as the exec ca

Re: [NAnt-users] psexec and NAnt

2008-11-25 Thread Melissa
The environment that vcvars32.bat sets up goes away as soon as the exec call is completred. It isn't available in the next call. Run vcvars32.bat betore you call nant. -Original Message- From: Eric Fetzer [mailto:[EMAIL PROTECTED] Sent: Monday, November 24, 2008 2:27 PM To: Nant Users