I have a couple of packages that are using cmd /c <command> to install and remove software and sometimes the cmd window seems to hang and I have to kill it.  The cmd runs fine if I cut and paste it into a cmd prompt on the machine.  Any ideas what would cause such on issue?

Here's one package that's giving me the problem.  The 2nd command copies 2 files and the 3rd copies 45 files.  It's the 3rd command that it tends to hang on.  When I run this manually it takes less than 2 seconds to copy the 45 files.

<?xml version="1.0" encoding="UTF-8"?>

<packages>

<package
    id="brazil2_max8"
    name="Brazil 2.x for Max8"
    revision="919"
    reboot="false"
    priority="0">

    <check type="file" condition="versionequalto" path="%PROGRAMFILES%\Autodesk\3dsMax8\BrMaxTransport.dll" value=" 2.0.0.919" />

    <install cmd='cmd /c copy /Y /Z \\godzilla\wpkg\software\Graphics\3dsmax\max8\plugins\b2files\BrMaxTransport.dll "c:\program files\Autodesk\3dsMax8\"' />
    <install cmd='cmd /c c:\windows\system32\xcopy.exe /E /Z /Y /I \\godzilla\wpkg\software\Graphics\3dsmax\max8\plugins\b2files\PlugCfg "c:\program files\Autodesk\3dsMax8\PlugCfg\"' />
    <install cmd='cmd /c c:\windows\system32\xcopy.exe /E /Z /Y /I \\godzilla\wpkg\software\Graphics\3dsmax\max8\plugins\b2files\Brazil2 "c:\program files\Autodesk\3dsMax8\plugins\Brazil2\"' />

    <remove cmd='cmd /c del "c:\program files\Autodesk\3dsMax8\BrMaxTransport.dll"' />
    <remove cmd='cmd /c del /S /Q "c:\program files\Autodesk\3dsMax8\PlugCfg\Brazil2"' />
    <remove cmd='cmd /c rmdir /Q /S "c:\program files\Autodesk\3dsMax8\PlugCfg\Brazil2"' />   
    <remove cmd='cmd /c del /S /Q "c:\program files\Autodesk\3dsMax8\plugins\Brazil2"' />
    <remove cmd='cmd /c rmdir /Q /S "c:\program files\Autodesk\3dsMax8\plugins\Brazil2"' />

</package>

</packages>


Thanks,
David Miller
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
wpkg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wpkg-users

Reply via email to