Deployment Solution

 View Only
  • 1.  setupcomplete.cmd modification not working

    Posted Jan 31, 2013 01:45 PM

    I have modified the setupcomplete.cmd and I can't seem to get it to do anything but the first line of the command.  Does anyone know what I'm doing wrong?

    %WINDIR%/setup/scripts/AltirisAgent.bat

    if not exist C:\RISlog mkdir C:\RISlog
    echo %date%,%time%,errorlevel: %errorlevel%,setupcomplete.CMD - 3: Begin >> c:\RISlog\deployment.log
    %WINDIR%/setup/scripts/Agent.bat

     

    It does run the altirisagent.bat file.  I'm testing the mkdir portion right now but I know it does not run the echo command and the command after. 

     

     

     



  • 2.  RE: setupcomplete.cmd modification not working
    Best Answer

    Posted Jan 31, 2013 04:25 PM

    I put everything into AltirisAgent.bat, I think for the same reason.  Perform any command scripting there and put your calls to .vbs scripts there.



  • 3.  RE: setupcomplete.cmd modification not working

    Posted Jan 31, 2013 05:59 PM

    I will check once more tonight but I'm pretty sure this file gets written over every deployment (I know it does in XP) if it was modified with a new version only containing the commands they have.



  • 4.  RE: setupcomplete.cmd modification not working

    Posted Jan 31, 2013 06:11 PM

    Or maybe you need to CALL or START "" /WAIT your batch file.



  • 5.  RE: setupcomplete.cmd modification not working

    Posted Jan 31, 2013 09:02 PM

    Yes calling these commands from AltirisAgent.bat is working.  Funny how they can't get things straight between OS's with deployment.