Page 1 of 1

Can I install downloaded *.cab files manually?

PostPosted: 28.03.2017, 16:59
by pstein
WSUS downloads found files into its ubdirectory

<wsusbase>/client/w61-x64/glb/

as *.cab archives.

Ok, I could install all these downloaded *.cab archives through UpdateInstaller.exe
But is it possible to (re-) install them manually with commands like

pkgmgr /ip /m:blahblah.cab /quite
pkgmgr /ip /m:blahblah2.cab /quite

Or does UpdateInstaller.exe do some extra work (in registry,....)?

Assume I put some of these pkgmgr commands into a batch file myinst.bat;
is the following command only executed after the precedent is finished?
In other words: does batch execution wait until a command is completed?

Peter

Re: Can I install downloaded *.cab files manually?

PostPosted: 28.03.2017, 21:07
by aker
The client-part (.\client\cmd\DoUpdate.cmd) also verifies dependencies and checks, if the updates are needed, so nothing unneeded gets installed.
If you want to install manually:
Code: Select all
dism /online /add-package /packagepath:"<path to the cab>"

But be careful because ou might break dependencies (e.g. installing WMF 3.0, then 4.0, then .NET 4.5 makes WMF 5.0+ fail to install).