Jump to content


Initial check for local updates?


1 reply to this topic

#1 HerpDerp

    Newbie

  • Members
  • Pip
  • 5 posts

Posted 02 September 2012 - 07:57 PM

Hello;

I am a technician that is constantly restoring computers (15+ per week). As such, anything that can be automated to save time is a huge help. One area that I am interested in, is Windows Updates,

I understand that AutoPatcher will download and install updates, and also save the updates to a directory, My question is :

Does AutoPatcher check a local directory FIRST for necessary updates that need to be installed BEFORE downloading any new (or missing updates) from Microsoft update?

Downloading updates typically takes a lot longer than installing them from a local directory. My end goal is to have a USB drive that contains all Windows Updates previously downloaded, and have a program (potentially AutoPatcher) automatically install them. Then, check for new updates; if there are any, download them to the flash drive and install them on the system.

This way, I have a rolling, constantly up to date USB drive with all updates I need - and automatically download any that I don't have for the next time.


Downloading updates once and caching them locally has to be faster than redownloading them every time I need them!

Thanks for any light you can shed on this,
HerpDerp

Edited by HerpDerp, 02 September 2012 - 08:00 PM.


#2 ViroMan

    Just an awesome guy.

  • Project Manager
  • PipPipPipPipPipPip
  • 1,162 posts
  • Gender:Male
  • Location:California, USA, Earth, SOL, Milkyway
  • Interests:Programming and being a know it all pest.

Posted 02 September 2012 - 09:17 PM

Apup(the downloader) will check the local directory first before downloading updates. As long as you have the files arrange properly it will detect the files and MD5 them to make sure they are correct.
The directory structure for some of the scripts is a bit complicated except the for recent scripts we have created. Whatacrock's XP x86 script and his XP x64 script(already official and in the main list) are simple directory trees.

For the x86 create this structure
Apup
L Modules
   L Windows XP x86
	  L Critical
	  |	L Critical_files
	  L Non Critical
	  |	L Non Critical_files
	  L Components
		  L Components_files
Looks like crap but, I am sure you get it. Place the downloads you have in the directories that say _files. Critical updates in Critical_files and so on.

Directory structure is the same for XP x64 just change the the windows directory to Windows XP x64. So far these are the only scripts converted to be simple. As for the other scripts, I am afraid you need to download all the content again.


Some advice... since you want to download them to the usb drive... DO NOT run the update program from the usb drive or from your desktop(if you don't have all English characters in your user name)... the program is old and not very robust. Best to keep a copy on the HD you download updates from and copy changes to the USB drive. I am in the progress of creating an updated program but, it will take time. You can run the patching program(Autopatcher.exe) from the USB drive fine. It will MD5 all the updates to confirm they are officially correct and not corrupted. This may take time. If you want to avoid the wait just delete all RTI files you find in the apup directory. Autopatcher will complain by showing red unofficial in the top right but, that will not stop it from doing its job. However you won't know if any of them get corrupted by any virus or what not... you choice. Same thing if you want to place the stuff on a DVD... in fact I would say its necessary to remove the RTI files... it can take a up to 10 mins to MD5 files on a DVD its...ridiculous.

Here is the link to a sort of guide... (man I wish we had that wiki up by now.)
http://www.autopatch...dpost__p__16829

Edited by ViroMan, 02 September 2012 - 09:27 PM.
some advice






1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users