Delay program restart?

Hi,I recently bought wyupdate and it works like a charm, thumbs up!

I only run into a minor problem which maybe, I assume, can easily coped with.I managed to update my program with new files etc. But my program uses also an access database.In case of an update i create a backup of the old database with a .bat file, wyupdate places the new database (which holds new tables) in the right location and with a .exe file i run a datatransfer so the new database contains the data from the old database.

On my windows XP machine everything works just fine, but on my Windows 7 machine the datatransfer throws errors. When I test the datatransfer exe manually it works perfect, so the problem must lie somewhere else.

I assume that Wyupdate restarts the program to fast, before the datatransfer is completed, so the access database is in use and therefore the transer can't complete.

Is it possible to delay the restart of my program after the update is complete, other than 'Execute file after update has finished' (which i use)? And if so, how can I do that?I saw the option 'Update Actions', but I don't know how to manage that.In short the updateprocess contains:update available -> backup database -> install update -> transfer data -> restart program.

Thanks,Paul

Hmm, as usual the answer comes after posting a topic... 😳

I renamed my datatransfer to 1. updater.exe and placed it into my programs folder and (again) set the option 'Execute file after update has finished' and 'wait for execution to finish before updating'.Maybe cache problems?

It now works on both machines (xp & 7). 😀 Don't yet know if it also works when the database has a lot of data in it.Will test that now.

But, curious as I am, is it possible to delay the restart of the program?

Grt,Paul

But, curious as I am, is it possible to delay the restart of the program?

I'm not sure I understand the question. It seems like you need to use "Wait for execution to finish before continuing". Also, after you set that option for a file you have to rebuild your updates and re-upload them to your server.

There's really no advantage to delaying the start of your application. Unless I'm misunderstanding you.

Never mind my posts, it is working just fine.I guess I used some settings wrong, because the update is working now.

At first I thought wyupdate wanted to restart the program before the database transfer was completed, hence my question of a delayed restart after the installation of the update.

But indeed with the option "Wait for execution to finish before continuing" I haven't had the problem since.

Thanks for replying though

Best regards,Paul