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 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
1.       Stopped iis – this was fine
2.       Unregister – dlls – here it just hangs
? does psexec allow the registery to modified on the remote machine (or is this 
something it will not allow). 
 
Mybat file setup.bat
 
Iisweb /stop aspApplication
Regsvr32 –u x:\dlls\aspDlls.dll
 
 
Target
 
<target name=”runsetup”>
 
<exec program=”psexec” basedir=”c:\pstools” workingdir=”.”>
 
<arg line =\\${server}”/>
<arg line =-u ${username}”/>
<arg line =-p ${password}”/>
<arg line =-c  c:\svn\trunk\apps\setup.bat/>
<arg line =-w x:\nant_s_t_bat”/>
 
</exec>
 
</target>
 
Zachary B. Wheeler
Principal
www.sddmtech.com
"We Listen To Our Customers"
Contact: 202.528.8969
Toll Free: 866.830.4147
Fax: 202.478.2886
 
------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
NAnt-users mailing list
NAnt-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users

Reply via email to