Windows Update

Installing Windows

Windows

Windows Troubleshooting

Maintenance

Registry

Ms DOS

Tips and Tricks

Internet Explorer

Outlook Express

Troubleshooting

Troubleshooting Hardware

Viruses

Mp3

Digital Photography

Drivers

 

 

 

Windows Update is designed to help your computer continue to work and run better. Windows Update has a central catalogue called Product Updates that includes new product enhancements such as system files, device drivers, service packs and new Windows features. These enhancements will be recommended to you based on what is needed for your computer.

Save Windows Update to Disk

Before you go to Windows update, empty your Internet cache folders.

Right click on the Internet Explorer icon on the desktop and choose Properties. You can also get there by running IE and clicking on View > Internet Options. On the General tab under Temporary Internet Files, hit the Delete Files button. This will make it easier to identify and copy out the files that get downloaded from the update site.

It seems to work better, for me anyway if I select "Files & Folders" from the start menu, in the text dialog box type Cont. Then there are several files named Content IE5 (even though I use IE6) double click these files and you are then presented with a list of folders. Double click a folder there are then a list of temp files delete them all. (Edit -> Select all, File -> delete). You may be asked if you want to send the system file "desk top" to the recycle bin, click NO. Go through this routine for the rest of the folders, and your temp internet files are gone.

Now, go to the Windows update site and download the updates that you want. During the download, watch the Temporary Internet Files folder. You should be able to tell which files it is downloading to do the updates. They are *.cab files or *.exe files. Once the files have downloaded, copy them to a directory for storage. If you can't find them in the Temporary Internet Files folder, do a search for an msdownload.tmp directory on your PC after they have finished downloading, you may find them there.

The Windows Update will automatically install the files once they are finished downloading. However, reinstalling them is not as automatic is it should be, but we'll find a way around that as well.

For the *.exe files, it is easy to reinstall this update. Simply double (or single) click on the exe file and it will reinstall. For the *.cab files, there is a little more to it. To start with, you will need to extract the contents of the cab file to a temporary directory.

Since cabview is built into Windows 98, this requires nothing more than double (or single) clicking on the cab file, selecting all of the contents, and choose Extract from the File menu. Extract them to a temporary folder.

One of the files that gets extracted is a *.inf (setup information) file. The usual procedure is to right click on the file and choose Install. This won't work on some of the files downloaded from the update page. They are a new type if inf file that we will call an "advanced inf file." These require a little more to install. After digging through some of the dll's on my machine, I found this command will work to install:

RunDll32 advpack.dll,LaunchINFSection <inf file(required)>,
<inf section
(optional)>
(line wrapped for better readability)

So, to install the advanced inf files, you will need to run this command from a MS-DOS window, supplying the name of the inf file as the first parameter, the second parameter is not needed.

Now for the way to automate this. You can create a simple batch file that will extract the contents of the cab files and install the updates using the inf files. To do this, first copy the *.cab files to a temporary directory. Next, use notepad to create the batch file and copy and paste these two line into the file:

for %%1 in (*.cab) do extract %%1 /E
for %%2 in (*.inf) do RunDll32 advpack.dll,LaunchINFSection %%2

Run the batch file in the temporary folder containing the *.cab files and it will first extract everything from the cab file and then install the update using the advanced inf file. You can use this to either reinstall the updates if you ever need to reinstall 98, or to copy the downloaded updates to another machine and install them there without having to re-download the updates.

Windows Update Problems

 

 
All products mentioned are registered trademarks or trademarks of their respective companies.
If any person & or persons wish any reference to there company to be removed please contact me and I will remove it.

WebMaster: Peter


Last modified: Thursday June 05, 2003.