GaF Posted March 16, 2006 Posted March 16, 2006 Hi all, my first post... maybe it's a noob request, but ive search in many topics without findin how ive to do... I go a problem with "quicktime 7" in command lines of start.cmdWith this command line -->start /wait %systemdrive%\install\qtime\qtime7.exe /S/v/qnquicktime's insttallation starts, complete silent, but not wait and go immediately to the second program to install.I've tryed usin sleep command, but still not works: maybe I dont use "sleep" correctly? I've used this -->start %systemdrive%\install\qtime\qtime7.exe /S/v/qnsleep 150andstart sleep 150 %systemdrive%\install\qtime\qtime7.exe /S/v/qnBut no way... Can anyone explain me how to use sleep?Thanks for all the reply, and sorry if there is a similar topic i havent found
prathapml Posted March 16, 2006 Posted March 16, 2006 I believe sleep supports only 2 digits. (not sure if upto 60 only, or more)In any case, you wouldn't need to hold out for more than 60 seconds.Your usage is correct, but just try this instead:sleep 60And have you ensured sleep.exe is in the System32 folder?
GaF Posted March 16, 2006 Author Posted March 16, 2006 I gotnt Sleep.exe in my system32 folder... can u please attach this file (or tell me where i can find this)? I thougth it was already on my pc, as a default command...
ajua Posted March 16, 2006 Posted March 16, 2006 if you havent copied sleep.exe to system32 just copy it to where your cmd file is and call it like sleep.exe XX (i dont know either if it accepts more than 2 digits)
GaF Posted March 16, 2006 Author Posted March 16, 2006 K, but i havent Sleep.exe yet, i was lookin for and i found many version of sleep.exe (from 5 to 40 kb) and im not sure to kepp the correct one... a place to keep it?
FrankE9999 Posted March 16, 2006 Posted March 16, 2006 I had a similar problem with the QuickTimeInstaller.exe installer. I found that this was actually a self extracting executable compressed using rar. I was able to uncompress it using 7zip and then the install using "start /wait QuickTimeInstaller.exe /S /v/qb".The file downloaded and the extracted file both had the same name but one was about 20MB and the other was about 30MB.
ajua Posted March 16, 2006 Posted March 16, 2006 the one im using is 124 kb. i googled for sleep.exe, read some sites that came up and finished with this one. try searching for it, i think there are many of them and all works. just look for someone that uses this syntax since its easier: sleep.exe XX where XX is the time in seconds to wait.download the ones you found and test them in an cmd like this ine:@echo offecho testing sleep.exestart /wait sleep.exe 15exitif the command windows closes after 15 seconds, everything is working fine.if you want, PM and i will send it to you.
GaF Posted March 17, 2006 Author Posted March 17, 2006 Found a little but working version of sleep.exe (5 kb).If anyone need is there --> sleep.zipThank for all replies
prathapml Posted March 17, 2006 Posted March 17, 2006 Well, most of us got our SLEEP from here - http://unattended.msfn.org/unattended.xp/view/web/10/ - and its confirmed to work, whereas other tools may not work under all conditions.
gunsmokingman Posted March 17, 2006 Posted March 17, 2006 If you do not want to use sleep then you can use a ping cmd, this is a defualt cmd ping -n 60 127.0.0.1>nul
Wicket20519 Posted March 17, 2006 Posted March 17, 2006 I've been working on a silent install for QuickTime 7.0.4, and here's what I've come up with so far.Download the standalone installer from Apple's website.Extract the Quicktimeinstaller.exe using winrar.Run the Quicktime installer. Before finishing, look in your C:\Documents and Settings\Administrator\Local Settings\Temp\ folders for ISScript11.Msi, QuickTime.msi, and 1033.mst. Once you get those 3 files, you can cancel the installation.Copy those 3 files to where ever you put them on your CD.In your application install batch file, use this:ECHO.ECHO Installing Quicktime 7.0.4ECHO Please wait...EHCO msiexec /i ISScript11.Msi /qbECHO msiexec /i QuickTime.msi TRANSFORMS=1033.mst ISSETUPDRIVEN=1 /QRECHO.ECHO Deleting unwanted shortcuts...DEL /F/Q "C:\Documents and Settings\Administrator\Application Data\Microsoft\Internet Explorer\Quick Launch\QuickTime Player.lnk"DEL /F/Q "C:\Documents and Settings\Administrator\Desktop\QuickTime Player.lnk"It seems to wait for for QuickTime to install before moving on to the next program install (which, in my case, is KLite.exe, then SAV CE).Hope that is of some help in case the sleep thing doesn't work.
Yzöwl Posted March 17, 2006 Posted March 17, 2006 <snip>ECHO.ECHO Deleting unwanted shortcuts...DEL /F/Q "C:\Documents and Settings\Administrator\Application Data\Microsoft\Internet Explorer\Quick Launch\QuickTime Player.lnk"DEL /F/Q "C:\Documents and Settings\Administrator\Desktop\QuickTime Player.lnk"you could probably shorten that!ECHO/&ECHO/Deleting unwanted shortcuts...DEL "%APPDATA%\MICROSOFT\INTERNET EXPLORER\QUICK LAUNCH\QUICKTIME PLAYER.LNK" "%USERPROFILE%\DESKTOP\QUICKTIME PLAYER.LNK"should be on two lines only
Wicket20519 Posted March 17, 2006 Posted March 17, 2006 Ah, thanks! That was what I was looking for, but couldn't remember the %XXXXXXXX% names.
earlr Posted April 24, 2006 Posted April 24, 2006 Thanks so much Wicket20519. This is exactly what I was looking for!
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