Skip to content
View in the app

A better way to browse. Learn more.

MSFN

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Inserting a sleep time between 2 commands

Featured Replies

Hello,

I am trying to install CopyToDVD 3.0.56.

The silent command " /VERYSILENT /SP- /NORESTART" works, but WPI moves onto the next command (taskkill) before it is done, which is a problem. So, I need to add a sleep time with the CopyToDVD setup.exe command.

I have the sleep.exe file in a directory on my DVD and can call the command, but I'm not sure for the correct syntax (here bellow) to make it wait for say 30 seconds.

prog[pn]=[CopyToDVD 3.0.56']
cmd1[pn]=['%cdrom%\\Software\\VSO\\copytodvd3_setup.exe /VERYSILENT /SP- /NORESTART']
cmd2[pn]=[''%cdrom%\\Software\\VSO\\sleep.exe 30']
cmd3[pn]=['taskkill /F /IM  vsostart.exe']
rega[pn]=['%cdrom%\\Software\\VSO\\VSO.reg']
dflt[pn]=['yes']
cat[pn]=['CD/DVD Burners']
ordr[pn]=[400]
pn++

Does anyone could check and confirm???

Regards

coucou

Edited by coucou

I use System Sleep (v2.5 1/12/92) Copyright © OzWoz 1988-92 (thanks copy&paste func). I have joint the program, I use it for PowerDVD 5 language patch bug ...

usage :

Í─────────────────────────────────────────────────────────À

║ System Sleep (v2.5 1/12/92) Copyright © OzWoz 1988-92 ║

Ë─────────────────────────────────────────────────────────¢

Usage: sleep hh:mm[:ss:hd] [/!PK]

Sleeps for the time specified then exits. If sleeping terminates normally

then an exit code of 0 is returned else 1. Switches are interpreted as:

/! - Display general program and OzWoz information.

/P - No message display

/K - No abort by keypress allowed

sleep.exe

Edited by sonic

@ coucou Have you ever messed with AutoIt? You can create a simple script and compile it, adjusting the sleep timing to your heart's content. A simple script might take this form:

AutoItSetOption("TrayIconHide", 1)
AutoItSetOption("WinTitleMatchMode", 4)
BlockInput(0)

Sleep("35000")

The script will run for 35 seconds and do nothing while your program finishes up.

  • Author

TX all,

@blinkdt: Usually, i write scripts with AutoIt and solve that problem with sleep(xxxx).

The problem is, AutoIt Window Info report for each CopyToDVD "active window screen" except the las one. NO "Window Title", "Status Bar Text", "Visible Window Text".

Then, i opted to install CopyToDVD silently with the switches above, call sleep.exe 30 and then call Taskkil.exe to get ride of the last screen.

Does my syntax above is correct???

Regards

coucou

coucou, you use incorrect syntax, re-read my post ...

For 30s you must use

sleep 00:00:30

Goodbye.

  • Author

@sonic: TNX, but i'm using this sleep.exe file. I checked the syntax, its correct.

sleep 30

Anyway, this problem answer not works. Because CopyToDVD last screen is hanging out and the "sleep.exe" not called until clicking on the [Exit] starter.gif.

If someone have any idea here the Trial Download

Regards

coucou

Lucky day for you ;)

Download this compiled AutoIt script ... You must create a batch which launch the AutoIt script with start (without /wait) and after the silent install of CopyToDVD .... Just tested on my system.

Goodbye.

Source:

Opt("TrayIconHide", 1)
ProcessWait("VsoStart.exe")
ProcessClose("VsoStart.exe")

edit: directly in WPI doesn't work .

KillVsoStart.exe

Edited by sonic

  • Author

Salut Sonic,

Bien vu! well thought! :thumbup Merci.

In fact i improved it this way

Run("copytodvd3_setup.exe /VERYSILENT /SP- /NORESTART")
Opt("TrayIconHide", 1)
ProcessWait("VsoStart.exe")
ProcessClose("VsoStart.exe")

Tested on my system, working.

BTW, may you explain

Opt("TrayIconHide", 1)

Cordialement

coucou

Edited by coucou

Opt("TrayIconHide", 1)

hide the tray icon , just more clean ...

You have test in WPI interface ? Because AutoIt script doesn't search in the same directory, si ?

  • Author

I didn't test in WPI interface yet.

Usually, i put the AutoIt file in the same directory with the called program.

What precautions do i have to take to run with WPI???

Regards

coucou

Try in WPI , this doesn't work because the working directory isn't set and is dynamic (%cdrom%) ....

sorry for very fast posting ... try & see ...

++

  • Author

Then, maybe it will be clleaver to copy the copytodvd archive to %temp% directory and run the autoit installation from there???

coucou

hum, yes you can copy copytodvd into %Windir%\TEMP and in AutoIt script set the Run path to %Windir%\TEMP ... play and try it !

Goodluck. ++

  • Author

Winrar do it very easy

SFX the 2 files copytodvd3_setup.exe and the CopyToDVD3.exe (AutoIt installer)

here the archive rar comment

;The comment below contains SFX script commands

Setup=CopyToDVD3.exe
TempMode
Silent=1
Overwrite=1

coucou

Create an account or sign in to comment

Recently Browsing 0

  • No registered users viewing this page.

Account

Navigation

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.