[wpkg-users] cmd /c hanging?

David Miller david3d at gmail.com
Sat Aug 19 00:48:12 CEST 2006


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.wpkg.org/pipermail/wpkg-users/attachments/20060818/fbbdf280/attachment-0001.html>
-------------- next part --------------




-------------- next part --------------
_______________________________________________
wpkg-users mailing list
wpkg-users at lists.wpkg.org
http://lists.wpkg.org/mailman/listinfo/wpkg-users


More information about the wpkg-users mailing list