Delaying app startup after reboot
Hi everyone.
I'm using NSIS 2.03 and I'm testing on Windows 98. My installation will create a new MSDE2000 instance, then reboot the PC and after the user logs on it will continue to perform database actions (once the server is active).
The MSDE installation and reboot goes fine. My problem is this: After the user logs in, the installation almost immediately starts to run. Barely enough time elapses for the system to reconfigure it self and to start the MSDE Server. I need for the installation to start running after all other services has started on the machine.
I thought about creating a loop and waiting for the MSDE process to become active, but the installation keeps all the background services from starting up. I've looked at the registry entries in MSDN but there isn't pointers on how to delay app start-ups in the RunOnceEx or RunOnce description. Scouring these forums topics haven't met with success yet.
One of the threads suggested an app called "Nopey" (it has a feature to sleep a process for x ms), but the URL there only produced a 404 error.
Has anyone dealt with a similar situation before? Can anyone point me in a direction?