This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Delay by something other than full seconds
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jul 12, 2018
09:34 AM
Delay by something other than full seconds
Using installScript, I want to delay the processing of each file by .25 seconds. The Delay() function will only let me use integers, so the shortest delay is 1 second, which is too long.
Does anyone have any ideas on how to delay the processing by a fraction of a second?
Thanks!
- Bob
Does anyone have any ideas on how to delay the processing by a fraction of a second?
Thanks!
- Bob
(3) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jul 12, 2018
01:24 PM
Use:
Sleep(number);
were number is the time interval for which execution is to be suspended, in milliseconds.
regards
Markus
Sleep(number);
were number is the time interval for which execution is to be suspended, in milliseconds.
regards
Markus
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jul 12, 2018
01:29 PM
Thanks. I kept thinking that a SLEEP command should be there, but only saw the Delay command in the documentation. Makes sense that this is so easy.
I appreciate the response.
- Bob
I appreciate the response.
- Bob
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jul 12, 2018
01:36 PM
Yes a lot of Windows API's are prototyped into InstallScript by default.
regards
Markus
regards
Markus
![](/skins/images/8CE4FAD0DE6F3A6F9D0567434D2D2DAE/responsive_peak/images/icon_anonymous_message.png)