I'm going to detect my os update status using wuapi.
Using IUpdateSearcher::Search i can do it, but this function can only be used at online.
At offline I also used IUpdateServiceManager::AddScanPackageService function to get status but this functions need wsusscn2.cab file and this file is too large.
At offline is there any other wuapi to detect windows update status or is there any registry or system file to detect it?
Thank you for you help...
Even offline, you can use a Windows Update API search to see what updates are needed. You can set your IUpdateSearcher object's Online property to false before calling Search or BeginSearch. Doing that will perform an offline scan, in which WU just re-evaluates the updates it already knows about. This will work offline and will also return faster results. There are two downsides you should be aware of: