Can I install downloaded *.cab files manually?

Can I install downloaded *.cab files manually?

Postby pstein » 28.03.2017, 16:59

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
pstein
 
Posts: 91
Joined: 13.02.2010, 15:34

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

Postby aker » 28.03.2017, 21:07

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).
Wer Rechtschreibfehler findet, darf sie behalten oder an den Meistbietenden versteigern. / Everybody finding a misspelling is allowed to keep or sell it.
aker

WSUS Offline Update „Community Edition“
https://gitlab.com/wsusoffline/wsusoffline/-/releases
aker
 
Posts: 3999
Joined: 02.03.2011, 15:32


Return to Installation / Updating

Who is online

Users browsing this forum: No registered users and 39 guests