Difference between revisions of "CTUpdate"

From WPKG | Open Source Software Deployment and Distribution
Jump to: navigation, search
(Added CTUpdate silent installer)
 
m
Line 7: Line 7:
 
Then run it in order to create a repository containing the languages and systems you want, but you do NOT need to create ISO files. The repository will be placed in the client subfolder. Then copy the entire tree over to the wpkg software folder and use the following entries:
 
Then run it in order to create a repository containing the languages and systems you want, but you do NOT need to create ISO files. The repository will be placed in the client subfolder. Then copy the entire tree over to the wpkg software folder and use the following entries:
  
<pre>
+
<source lang="xml">
 
+
 
<package id="ctupdate" name="Windows and Office hotfixes and service packs" revision="0" reboot="true" priority="0">
 
<package id="ctupdate" name="Windows and Office hotfixes and service packs" revision="0" reboot="true" priority="0">
 
   <!--
 
   <!--
Line 33: Line 32:
  
 
</package>
 
</package>
 
+
</source>
 
+
</pre>
+
  
 
The referenced bat-file:
 
The referenced bat-file:
<pre>
+
<source lang="dos">
 
%WPKG_DRIVE%
 
%WPKG_DRIVE%
 
cd %SOFTWARE%\ctupdate4\client\cmd
 
cd %SOFTWARE%\ctupdate4\client\cmd
 
cmd /c doupdate.cmd %*
 
cmd /c doupdate.cmd %*
 
date /T > %windir%\ctupdate.done
 
date /T > %windir%\ctupdate.done
</pre>
+
</source>
  
 
[[Category:Silent installers for Windows Hotfixes]]
 
[[Category:Silent installers for Windows Hotfixes]]

Revision as of 06:48, 21 February 2008

CTUpdate is an alternative method for applying Windows and Office hotfixes and service packs. It consists of two parts: 1) A program to automatically queries and downloads the latest packages into a repository, 2) A program that reads the repository and applies any updates to the local machine.

Download it here: http://www.heise.de/ct/projekte/offlineupdate/download_uk.shtml

GOTCHA: CTUpdate cannot be run from a non-mapped drive, so make sure you map your repository first. The bat-file below expects %WPKG_DRIVE% to be set to this drive. Alternatively, you can modify the bat-file to temporarily map the drive.

Then run it in order to create a repository containing the languages and systems you want, but you do NOT need to create ISO files. The repository will be placed in the client subfolder. Then copy the entire tree over to the wpkg software folder and use the following entries:

<package id="ctupdate" name="Windows and Office hotfixes and service packs" revision="0" reboot="true" priority="0">
  <!--
  CTUpdate keeps its own state (by checking Windows and see which updates should be
  installed), so the wpkg integration is not entirely clean.
  
  The bat-file touches a statefile after the first successful run through.
  
  Increment revision each time the CTUpdate repository is updated, and it will be run
  again by wpkg and figure out what needs to updated itself.
  
  Prioritize below Office, as Office is updated by this as well.
  
  The uninstall simply removes the statefile - we don't provide for uninstalls of
  patches, however one might want to reinstall the package in order to rerun it.

  See ctupdate4\client\cmd\doupdate.cmd for other possible flags (IE7 install etc.)
  -->
   <check type="file" condition="exists" path="%windir%\ctupdate.done" /> 
   <install cmd='cmd /c "%SOFTWARE%\ctupdate4\runwpkg.bat" /nobackup' />

   <upgrade cmd='cmd /c "%SOFTWARE%\ctupdate4\runwpkg.bat" /nobackup' />
   <remove cmd='cmd /c del %windir%\ctupdate.done'/>

</package>

The referenced bat-file:

%WPKG_DRIVE%
cd %SOFTWARE%\ctupdate4\client\cmd
cmd /c doupdate.cmd %*
date /T > %windir%\ctupdate.done