IPB

Google Frontpage Forums Unattended CD/DVD Guide

> Unattended CD/DVD Guide Homepage · MSFN Forum Rules

Welcome to the Applications Installs forum. Make sure you read the forum rules before you start posting.

Links/Requests to warez and/or any illegal material (porn, cracks, serials, etc..) will not be tolerated. Discussion of circumventing WGA/activation/timebombs/keygens or any other illegal activity will also not be tolerated.

We try our best to keep this forum clean of illegal content. If you see any illegal activity use the "report" button you find in every post to report the specific post to the moderators. If you ignore any of the rules you will be banned without notice.

Read Forum Rules

 
Reply to this topicStart new topic
> Using sleep instead of /wait, Quicktime doesnt wait!
GaF
post Mar 16 2006, 10:45 AM
Post #1





Group: Members
Posts: 8
Joined: 16-March 06
Member No.: 90967
Country Flag


Hi all, my first post... maybe it's a noob request, but ive search in many topics without findin how ive to do... blushing.gif
I go a problem with "quicktime 7" in command lines of start.cmd
With this command line -->

start /wait %systemdrive%\install\qtime\qtime7.exe /S/v/qn

quicktime'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/qn
sleep 150

and

start sleep 150 %systemdrive%\install\qtime\qtime7.exe /S/v/qn

But no way... no.gif
Can anyone explain me how to use sleep?

Thanks for all the reply, and sorry if there is a similar topic i havent found smile.gif
Go to the top of the page
 
+Quote Post
prathapml
post Mar 16 2006, 11:57 AM
Post #2


Follow the rules please :-)
Group Icon

Group: Patrons
Posts: 6780
Joined: 14-November 03
From: Bangalore, India
Member No.: 9470
Country Flag


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 60

And have you ensured sleep.exe is in the System32 folder?
Go to the top of the page
 
+Quote Post
GaF
post Mar 16 2006, 12:45 PM
Post #3





Group: Members
Posts: 8
Joined: 16-March 06
Member No.: 90967
Country Flag


I gotnt Sleep.exe in my system32 folder... can u please attach this file (or tell me where i can find this)? smile.gif
I thougth it was already on my pc, as a default command...
Go to the top of the page
 
+Quote Post
ajua
post Mar 16 2006, 03:53 PM
Post #4


Custom Installer Maker
******

Group: Members
Posts: 1215
Joined: 16-April 05
From: The chair in front of Cleopetra
Member No.: 52266
OS: Windows 7 x86
Country Flag


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)
Go to the top of the page
 
+Quote Post
GaF
post Mar 16 2006, 04:29 PM
Post #5





Group: Members
Posts: 8
Joined: 16-March 06
Member No.: 90967
Country Flag


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?
Go to the top of the page
 
+Quote Post
FrankE9999
post Mar 16 2006, 04:40 PM
Post #6


Member
**

Group: Members
Posts: 114
Joined: 16-March 04
Member No.: 16047



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.
Go to the top of the page
 
+Quote Post
ajua
post Mar 16 2006, 05:31 PM
Post #7


Custom Installer Maker
******

Group: Members
Posts: 1215
Joined: 16-April 05
From: The chair in front of Cleopetra
Member No.: 52266
OS: Windows 7 x86
Country Flag


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 off
echo testing sleep.exe
start /wait sleep.exe 15
exit

if the command windows closes after 15 seconds, everything is working fine.

if you want, PM and i will send it to you.
Go to the top of the page
 
+Quote Post
GaF
post Mar 17 2006, 01:16 AM
Post #8





Group: Members
Posts: 8
Joined: 16-March 06
Member No.: 90967
Country Flag


Found a little but working version of sleep.exe (5 kb).
If anyone need is there --> Attached File  sleep.zip ( 1.89K ) Number of downloads: 87

Thank for all replies newwink.gif
Go to the top of the page
 
+Quote Post
prathapml
post Mar 17 2006, 01:53 AM
Post #9


Follow the rules please :-)
Group Icon

Group: Patrons
Posts: 6780
Joined: 14-November 03
From: Bangalore, India
Member No.: 9470
Country Flag


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.
Go to the top of the page
 
+Quote Post
gunsmokingman
post Mar 17 2006, 02:45 AM
Post #10


MSFN Addict
Group Icon

Group: Moderator
Posts: 1743
Joined: 2-August 03
From: Vancouver,B.C
Member No.: 5386
OS: none
Country Flag


If you do not want to use sleep then you can use a ping cmd, this is a defualt cmd
QUOTE
ping -n 60 127.0.0.1>nul
Go to the top of the page
 
+Quote Post
GaF
post Mar 17 2006, 04:43 AM
Post #11





Group: Members
Posts: 8
Joined: 16-March 06
Member No.: 90967
Country Flag


Thak u guys thumbup.gif
Go to the top of the page
 
+Quote Post
Wicket20519
post Mar 17 2006, 12:58 PM
Post #12


Member
**

Group: Members
Posts: 173
Joined: 23-February 05
Member No.: 45024
Country Flag


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:

CODE
ECHO.
ECHO Installing Quicktime 7.0.4
ECHO Please wait...
EHCO msiexec /i ISScript11.Msi /qb
ECHO msiexec /i QuickTime.msi TRANSFORMS=1033.mst ISSETUPDRIVEN=1 /QR

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"

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.
Go to the top of the page
 
+Quote Post
Yzöwl
post Mar 17 2006, 01:49 PM
Post #13


MSFN Junkie
Group Icon

Group: Super Moderator
Posts: 3503
Joined: 13-October 04
Member No.: 33618
OS: Windows 7 x64
Country Flag


QUOTE (Wicket20519 @ Mar 17 2006, 06:58 PM) *
CODE
<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!
CODE
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
Go to the top of the page
 
+Quote Post
Wicket20519
post Mar 17 2006, 01:59 PM
Post #14


Member
**

Group: Members
Posts: 173
Joined: 23-February 05
Member No.: 45024
Country Flag


Ah, thanks! That was what I was looking for, but couldn't remember the %XXXXXXXX% names.
Go to the top of the page
 
+Quote Post
earlr
post Apr 24 2006, 02:55 PM
Post #15





Group: Members
Posts: 1
Joined: 24-April 06
Member No.: 94563
Country Flag


Thanks so much Wicket20519. This is exactly what I was looking for!
Go to the top of the page
 
+Quote Post
MAVERICKS CHOICE
post Apr 25 2006, 02:58 AM
Post #16


The Guy from Aus
*******

Group: Members
Posts: 1534
Joined: 14-November 03
From: DownUnder
Member No.: 9474
Country Flag


Bit late in the post but I can confirm if interested? Sleep.exe can certainly use three digits eg Sleep 120

Cheers
MC.
Go to the top of the page
 
+Quote Post
Klintan
post Apr 26 2006, 08:00 AM
Post #17





Group: Members
Posts: 5
Joined: 26-April 06
From: Sweden
Member No.: 94735
Country Flag


Hi

I've the same problem with some installers. You start with a setup.exe and after a short wile you get the command prompt back again and the installer is still running (This because the installer have created another process and ended the original). My solution is more general.
Create a script that monitors a installer process. Then create a batch script like this.

Example from when installing MSDN
@setup.exe
@Cscript wait.vbs 001msdn.exe


--wait.vbs---
Option Explicit
'On Error Resume Next
Dim bCheck, quitCode, colItems, objItem, objWMIService, strComputer, sArg1
strComputer = "."


If WScript.Arguments.Count > 0 Then
sArg1 = WScript.Arguments(0)
Else
WScript.Echo "Enter <program.exe> as parameter"
WScript.Quit 1
End If

Set objWMIService = GetObject("winmgmts:\\" & strComputer & "\root\cimv2")

WScript.Sleep 5000
quitCode = 2 'No program.exe found
Do
bCheck = False
Set colItems = objWMIService.ExecQuery("Select * from Win32_Process Where Caption='" & LCase(sArg1) & "'",,48)
For Each objItem in colItems
quitCode = 0
bCheck = True
WScript.Sleep 1000
Exit For
Next
Loop While bCheck

WScript.Quit quitCode
----
Go to the top of the page
 
+Quote Post
muiz
post May 3 2006, 06:40 PM
Post #18


SPECIAL
******

Group: Banned
Posts: 1055
Joined: 3-August 03
Member No.: 5418
OS: none
Country Flag


How do i use sleep.exe from RunOnce ?
Go to the top of the page
 
+Quote Post
ajua
post May 4 2006, 04:05 PM
Post #19


Custom Installer Maker
******

Group: Members
Posts: 1215
Joined: 16-April 05
From: The chair in front of Cleopetra
Member No.: 52266
OS: Windows 7 x86
Country Flag


QUOTE (muiz @ May 3 2006, 07:40 PM) *
How do i use sleep.exe from RunOnce ?


you have two options for using sleep.exe in runonceex:
1) copy it to system32 and just call it sleep.exe XX in your cmd files
2) use it along with your setup files are and call it as above, but you have to have sleep.exe where every cmd file is.
Go to the top of the page
 
+Quote Post
CoffeeFiend
post Nov 13 2008, 10:56 PM
Post #20


Coffee Aficionado
Group Icon

Group: Super Moderator
Posts: 3679
Joined: 14-July 04
From: Coffeeland
Member No.: 24596
OS: Windows 7 x64
Country Flag


[edit] post before mine just got deleted, please delete this one too...

This post has been edited by crahak: Nov 13 2008, 11:08 PM
Go to the top of the page
 
+Quote Post

Google Frontpage Forums Unattended CD/DVD Guide

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 




Lo-Fi Version Time is now: 7th November 2009 - 05:54 PM
All trademarks mentioned on this page are the property of their respective owners
MSFN is not affiliated with Microsoft
Copyright © 2001-2009 msfn.org
Privacy Policy