Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Detecting Windows Update in progress
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00984862
Message ID:
00984983
Vues:
25
>Hi,
>
>I have an application on a locked-down "kiosk" style Windows 2000 image on several PCs. The image has recently been set to perform unattended Windows Updates.
>Is there any way for my app to detect that the update is taking place so that it can complete pending transcations (if any) and gracefully shut itself down, as opposed to Windows doing a brute force shutdown?
>
>TIA

Maybe you can make it work the other way around? Instead of your applicattion checking if WindowsUpdate is running, your application can launch and control the Windows Update? I never tried it, but you can find information here:

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wua_sdk/wua/windows_update_agent_object_model.asp

and some simple sample here:

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wua_sdk/wua/searching__downloading__and_installing_updates.asp
"The five senses obstruct or deform the apprehension of reality."
Jorge L. Borges?

"Premature optimization is the root of all evil in programming."
Donald Knuth, repeating C. A. R. Hoare

"To die for a religion is easier than to live it absolutely"
Jorge L. Borges
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform