amp_man Posted January 18, 2005 Share Posted January 18, 2005 my batch file never stops on programs I've compressed with winrar, even with the start /wait commands, it just keeps on trucking right through, and so my winrar'ed programs (office 2003, VCE GH and VCE MSTI) dont get fully installed before the reboot. is there any way other than sleep to get this working? perhaps winzip or another compression program? my batch file is attached, and the Office2003.exe contains office, frontpage, and another batch that gets executed to do an unattended install of both. thanksstart.cmd Link to comment Share on other sites More sharing options...
lilweirddude Posted January 18, 2005 Share Posted January 18, 2005 are you executing the installer with an sfx option?if you are, then try extracting it first, the execute the installer from your batchi think that should work Link to comment Share on other sites More sharing options...
amp_man Posted January 18, 2005 Author Share Posted January 18, 2005 No, not exactly. The Office programs I am, but the VCE programs simply need to be extracted to the program files directory, and then the shortcuts are manually installed in the $Docs folder. I have confirmed that the unattended sfx options work fine under windows, but during installation, the computer shuts down before these files can finish extracting. Link to comment Share on other sites More sharing options...
lilweirddude Posted January 18, 2005 Share Posted January 18, 2005 hm...maybe you could move it higher in your batch file Link to comment Share on other sites More sharing options...
warrior1109 Posted January 18, 2005 Share Posted January 18, 2005 try extending the shutdown pause to 3, 4, or 5 mins, depending how long it needs;ECHO.ECHO Restarting the PC in 1 minute...shutdown.exe -r -f -t 60 -c "Windows XP will now restart in 1 minute, this will give enough time for the shortcuts to update and for the shell to fully load before its ready to restart!"will become;ECHO.ECHO Restarting the PC in 4 minutes...shutdown.exe -r -f -t 240 -c "Windows XP will now restart in 4 minutes, this will give enough time for the shortcuts to update and for the shell to fully load before its ready to restart!"Also, once your main batch file has performed the extraction, it will not be aware of the installation proccess, so it will go on to the next proccess. Try calling the install batch files from your main batch file. Hope that helps. Link to comment Share on other sites More sharing options...
amp_man Posted January 20, 2005 Author Share Posted January 20, 2005 the problem is, this installs on machines ranging from P3 667s to P4 1.7s, so the time required varies greatly. Does anyone know if WinZip SFX will work any better with this? Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now