I am using the Windows Update Agent API and the WSUSSCN2.CAB file to scan for
missing updates on machines that do not have Internet access. The scans work
fine. Since I cannot use the WUA API to download and install the updates (no
Internet connection), I obtain the patch download links for the missing
updates via the WUA API. I then use these download links to download the
update installation files onto a server that has Internet access and then
copy the updates from this server to the machine that does not have Internet
access. I then simply shell out and execute the update files one at a time.
The problem I have is that the download links provided by the WUA API are
sometimes for CAB files rather than for EXE/MSI/MSU files. This occurs mostly
in Vista machines, but I have run across other cases. So, I cannot just
shell out to install these updates. I know that if I go to the Microsoft
site to manually download an update, I will get an EXE/MSI/MSU file rather
than a CAB file.
Is there some way to obtain the download links for EXE/MSI/MSU files via the
WUA API rather than the links for CAB files? Alternatively, is there some
way to get the installer in WUA API to install one of these CAB files by
providing a location on the local machine to which the CAB file was copied
without having to use the WUA API to actually perform the download? I have
not found anything in the WUA API documentation that deals with these
questions.
Bookmarks