Changes

Jump to: navigation, search

Heise Offline-Update

1,984 bytes added, 20:01, 4 June 2008
Add Heise Security's Offline Update
Download the [http://www.heise.de/ct/projekte/offlineupdate/download_uk.shtml Offline-Update] scripts. Run the downloader and select the products you want updates for. One note: if you're using the [http://wpkg.org/MS_Office_2007_Compatibility_Pack Compatibility Pack for the 2007 Office System] then download the updates for Office 2007. Those patch the Compatibility Pack as well as Office 2007.

Once all of the downloads are complete copy the contents of the "client" folder to your server. These scripts assume the share name is "offlineupdate" and the server name is "ntinstall". You also need "rm.exe" and "mkdir.exe" from [http://gnuwin32.sourceforge.net/packages/coreutils.htm GnuWin32] in your "tools" folder.

Note: I increment the revision each Patch Tuesday. If you want this to run every time wpkg is run add 'execute="always"' to the package tag and disable the reboot.

offlineupdate.xml:

<source lang="xml">
<?xml version="1.0" encoding="UTF-8"?>
<packages>
<package
id="offlineupdate"
name="offlineupdate"
revision="200805131"
reboot="true"
priority="0">

<check type="file" condition="exists" path="%SystemDrive%\netinst\wpkg\offlineupdate.log" />

<install cmd='cmd /c %WPKGROOT%\scripts\offlineupdate.cmd' />

<upgrade cmd='cmd /c %WPKGROOT%\scripts\offlineupdate.cmd' />

<remove cmd='cmd /c %WPKGROOT%\tools\rm.exe -f "%SystemDrive%\netinst\wpkg\offlineupdate.log"' />

</package>
</packages>
</source>

offlineupdate.cmd:

<source lang="dos">
@echo off

:: Disconnect the w: drive (if connected)
net use /delete /y o: > nul

:: Connect the w: drive
net use /y o: \\ntinstall\offlineupdate > nul

:: Make sure that the log directly exists and is hidden
%WPKGROOT%\tools\mkdir.exe -p %SystemDrive%\netinst\wpkg
attrib +H %SystemDrive%\netinst

:: Update the system and log it
cmd /c o:\cmd\DoUpdate.cmd >%SystemDrive%\netinst\wpkg\offlineupdate.log

:: Disconnect the w: drive
net use /delete /y o: > nul
</source>

[[category:Silent Installers]]
93
edits

Navigation menu