Can you explain me how to add non-critical updates?

Can you explain me how to add non-critical updates?

Postby realtebo » 31.12.2012, 21:24

I read in this forum that is possible to manually add some non critical updates to static packages ... how exactly ?

I can be more exact: I've created the ISO on another PC. Now i've already Office 2010 ita + global update installer ISO.

I've seen some not-included updated availabl online.

I'd like to manually download it (i cannot redownload ALL from scratch and i've no more access to the pc) and then add directly to the (uncompressed) iso.

Then I'll be able to recreate a more-updated iso.

Is it possible ?
realtebo
 
Posts: 20
Joined: 31.12.2012, 21:17

Re: Can you explain me how to add non-critical updates?

Postby aker » 01.01.2013, 14:41

As you said, wsusou just downloads and installs the security updates listed in Microsoft's catalog wsusscn2.cab.
If you want to install other updates just create a text file named "StaticDownloadLinks-o2k10-glb.txt" in ".\static\custom" and put your download links into it.
(Don't forget to add a blank line at the end of the file)

For installation just create a text file named "StaticUpdateIds-o2k10.txt" in .\client\static\custom" and put the id's of the updates into it (e.g. "123456" for the update "Office2010-KB123456-x86-glb.exe").

Then start UpdateGenerator and start download.
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

Re: Can you explain me how to add non-critical updates?

Postby realtebo » 03.01.2013, 12:58

Is there no way to add installation file directly into 'client' folder, without add to download, and restart the update generator ?
realtebo
 
Posts: 20
Joined: 31.12.2012, 21:17

Re: Can you explain me how to add non-critical updates?

Postby aker » 03.01.2013, 13:27

I don't know, how to do so for Office because the patches wsusou downloads have cryptic names, so wsusou list them in a cvs-file with an identification number provided in wsusscn2.cab. But I think when I completely reviewed [edit](it is still there)[/edit] the wsusou source code, there was some code searching the files using the KB number, so just try to copy the update to .\client\o2k10\glb and start UpdateInstaller.
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

Re: Can you explain me how to add non-critical updates?

Postby boco » 03.01.2013, 15:46

realtebo wrote:Is there no way to add installation file directly into 'client' folder, without add to download, and restart the update generator ?
If the cleanup is enabled such rogue files will be removed on the next run. But even without cleanup the WSUSOU will not pick them up.
Microsoft update catalog: http://catalog.update.microsoft.com/v7/site/
Windows Install media download: https://support.microsoft.com/en-us/help/15088/windows-create-installation-media
boco
 
Posts: 2391
Joined: 24.11.2009, 17:00
Location: Germany

Re: Can you explain me how to add non-critical updates?

Postby aker » 03.01.2013, 17:24

@boco
If you add the KB Number to StaticUpdateIds-XXX.txt, wsusou will recognize it.
It searches all files in the client directory (see ListUpdatesToInstall.cmd
Code: Select all
    if not exist "%TEMP%\Update.txt" (
      for %%k in (%OFC_NAME% ofc o2k3 o2k7 o2k10) do (
        for %%l in (%OFC_LANG% glb) do (
          call ListUpdateFile.cmd %%i ..\%%k\%%l
        )
      )
    )

and ListUpdateFile.cmd
Code: Select all
if /i "%3"=="/searchleftmost" (
  dir /A:-D /B /OD %2\%1*.* >"%TEMP%\Update.txt" 2>nul
) else (
  dir /A:-D /B /OD %2\*%1*.* >"%TEMP%\Update.txt" 2>nul
)

)
And it won't delete the files when the links are set as static download link even with enabled "/cleanup" option. (see DownloadUpdates.cmd
Code: Select all
if exist "%TEMP%\ValidStaticLinks-%1-%2.txt" (
  type "%TEMP%\ValidStaticLinks-%1-%2.txt" >>"%TEMP%\ValidLinks-%1-%2.txt"
)
if exist "%TEMP%\ValidDynamicLinks-%1-%2.txt" (
  type "%TEMP%\ValidDynamicLinks-%1-%2.txt" >>"%TEMP%\ValidLinks-%1-%2.txt"
)
for /F %%i in ('dir ..\client\%1\%2 /A:-D /B') do (
  if exist "%TEMP%\ValidLinks-%1-%2.txt" (
    %SystemRoot%\system32\find.exe /I "%%i" "%TEMP%\ValidLinks-%1-%2.txt" >nul 2>&1
    if errorlevel 1 (
      del ..\client\%1\%2\%%i
      echo %DATE% %TIME% - Info: Deleted ..\client\%1\%2\%%i >>%DOWNLOAD_LOGFILE%
    )
  ) else (
    del ..\client\%1\%2\%%i
    echo %DATE% %TIME% - Info: Deleted ..\client\%1\%2\%%i >>%DOWNLOAD_LOGFILE%
  )
)

)
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

Re: Can you explain me how to add non-critical updates?

Postby boco » 03.01.2013, 18:45

If you add the KB Number to StaticUpdateIds-XXX.txt, wsusou will recognize it.
I know that. My post only refers to the quote above it, and simply copying the files into the ./client directory will not do anything without additional work.
Personally, I have some custom updates included, like the exFAT package for XP. I know how it works.
Microsoft update catalog: http://catalog.update.microsoft.com/v7/site/
Windows Install media download: https://support.microsoft.com/en-us/help/15088/windows-create-installation-media
boco
 
Posts: 2391
Joined: 24.11.2009, 17:00
Location: Germany

Re: Can you explain me how to add non-critical updates?

Postby aker » 03.01.2013, 21:21

Oh sorry, than I misunderstood your post, because I already said, that realtebo needs to add the line to that file.
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

Re: Can you explain me how to add non-critical updates?

Postby realtebo » 03.01.2013, 23:33

aker wrote:boco
If you add the KB Number to StaticUpdateIds-XXX.txt, wsusou will recognize it.
It searches all files in the client directory (see ListUpdatesToInstall.cmd


I went into windows update, using rapid (not cutom) method, and i found this kb 'missing': http://support.microsoft.com/kb/2798897

I open client/static/StaticUpdateIds-wxp-x86.txt file

it's empty.

I add a single row, a single number: 2798897 and i save

I download the file (it's called rvkroot.exe).
I save into cilent/static/custom without renaming.

Obiously, I understand that UpdateInstall need some how to know which file match the 2798897.
In fact, I re-run installation OFFLINE and NO new upate were installed.

How to proceed? What is the mistake i'm doing ?

Now I do a second test:

I open wsusoffline/static/StaticDownloadLinks-win-x86-glb.txt

I added the full link of the fill to download:
Code: Select all
http://download.microsoft.com/download/6/5/5/655D2A75-0199-49BF-8BF8-C9ACACF283C3/rvkroots.exe

I re-run update (without 'cleanup download directory').

I didn't se any new download done.

I re-run UpdateInstall into xp and NOTHING has been installed.

I re-run microsot update and this KB is suggest as important to download. SO it's not installed.

What's the problem !?!!?!

Thanks for help and patience
realtebo
 
Posts: 20
Joined: 31.12.2012, 21:17

Re: Can you explain me how to add non-critical updates?

Postby boco » 04.01.2013, 02:59

Did you terminate the lines you inserted with a Carriage Return and a Line Feed (CR+LF, 0x=D0A)?
Microsoft update catalog: http://catalog.update.microsoft.com/v7/site/
Windows Install media download: https://support.microsoft.com/en-us/help/15088/windows-create-installation-media
boco
 
Posts: 2391
Joined: 24.11.2009, 17:00
Location: Germany

Next

Return to Fehlende Updates / Missing updates

Who is online

Users browsing this forum: No registered users and 85 guests