[wpkg-users] WG: AW: Wpkg restart count exceeded

Mike Burgener mike.burgener at u-blox.com
Thu Dec 11 08:52:08 CET 2008


 

> -----Ursprüngliche Nachricht-----
> Von: Mike Burgener 
> Gesendet: Donnerstag, 11. Dezember 2008 08:07
> An: 'Rainer Meier'
> Betreff: AW: [wpkg-users] Wpkg restart count exceeded
> 
>  
> 
> > -----Ursprüngliche Nachricht-----
> > Von: Rainer Meier [mailto:r.meier at wpkg.org]
> > Gesendet: Mittwoch, 10. Dezember 2008 21:22
> > An: Mike Burgener
> > Cc: wpkg-users at lists.wpkg.org
> > Betreff: Re: [wpkg-users] Wpkg restart count exceeded
> > 
> > Hi Mike,
> > 
> > Mike Burgener wrote:
> > > Is it possible to tell wpkg that it should allow more
> > reboots than 5?
> > 
> > Five (5)? Hmm, WPKG (at least wpkg.js) does not have any 
> limit on that 
> > - assuming the OS is not applying any limits.
> > 
> > WPKG is either issuing an automatic immediate reboot if the package 
> > specifies reboot=true attribute (or an exit code matches a reboot 
> > action). In case you use postponed restart
> > (reboot=postponed) WPKG will issue a reboot command after 
> completing 
> > its work (right before it exits).
> > 
> > The reboot command can be specified as well. By default it uses 
> > built-in capabilities but you might invoke a shutdown-tool as well.
> > 
> > 
> > > I need this, so that i can deploy a lot of updates with 
> > heise offline 
> > > update.
> > 
> > Probably you can write some more lines about your use-case. 
> > C't offline update is downloading updates to a local machine 
> > in order to execute them off-line. To do this with WPKG you 
> > need to create a package information file. This needs either 
> > a single package with a couple of install/upgrade commands or 
> > you create single package for each patch you want to apply. 
> > In general WPKG is not targeted to update Windows as 
> > Microsoft already provides decent update mechanisms to do 
> > this (Windows/Microsoft Update for home, WSUS for corporate 
> > environment).
> 
> Yes of course, but we have only 1 Windows-Server, so we don't 
> want to setup a WSUS Server
> I made such a package file,
> 
> I took it from http://wpkg.org/Heise_Offline-Update
> It looks like that:
> 
> <?xml version="1.0" encoding="UTF-8"?>
> <packages>
> <package
> 	id="offlineupdate"
> 	name="offlineupdate"
> 	revision="200812092"
> 	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>
> 
> > 
> > 
> > br,
> > Rainer
> > 
> > 
> 
> Thanks in advance for your help.
> 
> Greets
> 
> Mike
> 



More information about the wpkg-users mailing list