> 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
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
> 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
> 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
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
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:
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
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
>
>
>
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
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
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
11 matches
Mail list logo