Quote Originally Posted by linder View Post
Andrew,

wupdate.exe does not require a machine reboot . wupdate.exe (the web update client) checks if an update is available. If this is the case, it downloads and executes your "web update installer package". This package seems to update files that are "in-use" (locked) and so Windows requires a reboot to complete the install.

I would suggest to make sure that the application to be updated is not active (in-use). There are several built-in functions in the installer to handle this. If the update installer package detects that the application is still active, display a message and ask the user to terminate the app.

Does this help?

Friedrich
Thanks. Now situation is clear for me.
I still couldn't resolve my issue. But now I understand its reasons!
If update is available I close my app and run cmd

wupdate /S /Q
myApp.exe

wupdate /S /Q - wupdate downloads AppUpdate.exe[web update installer package] and run it(right?). At this moment my application starts too. So AppUpdate.exe try download lock files(my app is running) and widnows make reboot.
The problem is clear.

But how can I controle start application after update(After web update installer package update all files, not after download it)