• Announcements

    • xper

      MSFN Sponsorship and AdBlockers!   07/10/2016

      Dear members, MSFN is made available via subscriptions, donations and advertising revenue. The use of ad-blocking software hurts the site. Please disable ad-blocking software or set an exception for MSFN. Alternatively, become a site sponsor and ads will be disabled automatically and by subscribing you get other sponsor benefits.
Glenn9999

Batch Patcher 2.11

48 posts in this topic

I wrote a program that I've been using on Windows ME and XP to apply a number of patches at once to the system.

The basic idea of how it works: There's an interactive mode and non-interactive mode. Select the patches (or provide the directory on the command line) and then it runs the patches then offers to reboot. More details are in the text file with the program.

Comments or questions welcome in this thread.

 

batpatcher211.zip

Edited by Glenn9999
1

Share this post


Link to post
Share on other sites

I see an attachment facility so I'll put it on this thread too.

Edit: All links removed from all posts except the attachment facility link.

Edited by Glenn9999
0

Share this post


Link to post
Share on other sites

Thanks! This is great! Except your link is dead...

Edited by kickarse
0

Share this post


Link to post
Share on other sites
Thanks! This is great! Except your link is dead...

The attachment link on the bottom of the last post works.

0

Share this post


Link to post
Share on other sites

Glenn9999

Found this program of your's and wanted to say thanks!! I just did a fresh install of xp on a buddies computer and giving this a try as I type.

Used c't Offline Update 4.0 to get the updates post SP2 and pointed your program to the folder and just waiting to see what happens. Once your program is done I'll double check it against the Belarc Advisor and compare the before and after results.

I'll post back later to give ya a heads up.

Thanks again for your time and effort, it's truly appreciated.

socom18e out..........

Glenn9999,

Update

Have to say that the program works very fast :) After running your program I doulbe checked again against the Belarc Advisor and it showed all but 5 hotfixes installed. Also noticed that when the program was running that the hotfix it was installing if it completed It showed "done" at the end of it and moved on to the next hotfix. My question for you is that some of the applied hotfixes showed "error 1603" when it was done.

Now I did a brain fart, I had the system restart when it was done, so the "error 1603" could have been "1403". Sorry about that, I should have written it down to be more accurate. My attention to detail and old age is getting to me.... :whistle:

Thanks again,

Socom18e out.............

Edited by socom18e
0

Share this post


Link to post
Share on other sites

The list of what was done in each run is in the windows directory as batpatcher.log.

Error 1603 simply means that the patch wasn't relevant to what was at hand. For example, applying an IE6 patch on a system with IE7 or applying an IE7 patch to a system with IE6 on it would produce the error.

It shouldn't be a problem, unless Windows Update is calling for the patch afterwards.

0

Share this post


Link to post
Share on other sites

Glenn9999,

Just wanted to give you a update here.

Saturday 2 Mar 08 I had to perform a os reinstall on my Aunts computer. I used Nlite to slipstream the os and sp2 with some other programs, and when that was complete I used your program to finish the rest of the post sp2 updates and all worked well. In the end I used Belarc Advisor to verify what was left and only a small amount of critical updates were needed.

You did a awesome job IMHO and thank you for taking the time to do this, it ROCKS!!!! It must be such an honor to have the skills to develop software like this.

Thanks again for taking the time to write this program!!!!

Socom18e out...............

0

Share this post


Link to post
Share on other sites
You did a awesome job IMHO and thank you for taking the time to do this, it ROCKS!!!! It must be such an honor to have the skills to develop software like this.

Thanks for the compliments and glad the program worked out for you. :thumbup

0

Share this post


Link to post
Share on other sites

Hi

thanks for your tools.

It works fine except for one problem. Each time I use it I have an error on the begining and the end of the process about qchain.exe.

could you tell where i need to put this exe file because i have try in th batpatcher folder and hotfixes folder but still have the error

thanks

0

Share this post


Link to post
Share on other sites
It works fine except for one problem. Each time I use it I have an error on the begining and the end of the process about qchain.exe.

It goes in the same folder as batpatcher.exe. It might help to know what kind of error it is, specifically (the message, whatever).

0

Share this post


Link to post
Share on other sites
It goes in the same folder as batpatcher.exe. It might help to know what kind of error it is, specifically (the message, whatever).

Thanks for your answer Glenn and thanks for your tools.

I tried to install hotfixes on windows XP pro with batpatcher.

The error message is :

Qchain is required for this application to run.

download it at http://support.microsoft.com/kb/815062

I download it from the link and I have tried to copy Qchain.exe in the same folder of batpatcher but I still have the same issue.

problem of qchain version ?

Edited by farren
0

Share this post


Link to post
Share on other sites
I download it from the link and I have tried to copy Qchain.exe in the same folder of batpatcher but I still have the same issue.

problem of qchain version ?

The file you would get from that link is a self-extracting archive which works on Windows 2K or above. However, 7-Zip will extract it on any platform it works on (yes the file works on Windows 9X). Inside the file you should find QCHAIN.EXE and EULA.TXT. Copy the QCHAIN.EXE file to the same folder as BATPATCHER.EXE and then it should work.

And yes I know it'd be a lot easier to just distribute the file with the app, but from all appearances it looks like it would be against EULA and would run into the same problems as those are who are distributing the service packs/patches outside of Microsoft's servers (like Autopatcher did).

Edited by Glenn9999
0

Share this post


Link to post
Share on other sites
The file you would get from that link is a self-extracting archive which works on Windows 2K or above. However, 7-Zip will extract it on any platform it works on (yes the file works on Windows 9X). Inside the file you should find QCHAIN.EXE and EULA.TXT. Copy the QCHAIN.EXE file to the same folder as BATPATCHER.EXE and then it should work.

And yes I know it'd be a lot easier to just distribute the file with the app, but from all appearances it looks like it would be against EULA and would run into the same problems as those are who are distributing the service packs/patches outside of Microsoft's servers (like Autopatcher did).

I is exactly I have tried but I still have the same issue. Perhaps it is due to the fact I start it from my unattended DVD at the first connection of administrator account. :(

EDIT : I have tested to started directly from the command line and not from my script and all is ok.

I used a VB script to start it (RunOnceEx) from registry.

here my script:

Dim oShell, oFSO, oSysEnv, oStrm2

Set oShell = Wscript.CreateObject("Wscript.Shell")
set oFSO = CreateObject("Scripting.FileSystemObject")
set oSysEnv = oShell.Environment("PROCESS")

'Script to find cd-rom letter
Dim FileName
Dim File
Dim Folder
Dim FileSystemObject
Dim Drives
Dim DiskDrive, DriveLetter, DriveType

Set FileSystemObject = CreateObject("Scripting.FileSystemObject") 'Create a filesystem object
Set Drives = FileSystemObject.Drives 'Create a drives collection
Filename = "setupxp.htm"

For Each DiskDrive in Drives

DriveLetter = DiskDrive.DriveLetter
DriveType = DiskDrive.DriveType

IF DiskDrive.isready and DriveType = "4" Then
set Folder=FileSystemObject.GetFolder(DriveLetter & ":\")
For Each File In Folder.Files
If LCase(File.Name) = FileName Then
CDLetter = DriveLetter
End If
Next 'File
end if
Next
Set Drives = nothing
Set FileSystemObject = nothing
' end script to find cd letter

'Windows XP Hotfixes
Wscript.echo "Installing Windows XP SP2 Hotfixes..."
oShell.Run CDLetter & ":\w2kapps\batpatcher\batpatcher.exe " & CDLetter & ":\w2kapps\hotfixes /norestart",0,true

Do you have an idea why I have the error with my script and not if i try "G:\w2kapps\batpatcher\batpatcher.exe G:\w2kapps\hotfixes /norestart" from the run command

Edited by farren
0

Share this post


Link to post
Share on other sites
I is exactly I have tried but I still have the same issue. Perhaps it is due to the fact I start it from my unattended DVD at the first connection of administrator account. :(

Do you have an idea why I have the error with my script and not if i try "G:\w2kapps\batpatcher\batpatcher.exe G:\w2kapps\hotfixes /norestart" from the run command

I think I have an idea and I have it in this file (BatchPatcher 1.02b1 - basically 1.01 plus this change). Please let me know if it helps.

(I have a newer version with a few features ready to go soon, but need to figure out a problem with SP3. Hopefully this one can be solved along with it for a full 1.02 release.)

Edited by Glenn9999
0

Share this post


Link to post
Share on other sites
I think I have an idea and I have it in this file (BatchPatcher 1.02b1 - basically 1.01 plus this change). Please let me know if it helps.

(I have a newer version with a few features ready to go soon, but need to figure out a problem with SP3. Hopefully this one can be solved along with it for a full 1.02 release.)

Thanks, I will try with this new version and keep you inform..

I have temporary resolved the problem, I copy batpatcher and qchain on the C drive during the install process, and add a bat file to execute it in the startup group. like this that works.

0

Share this post


Link to post
Share on other sites

I'm looking at this program now to update it. Primary of which is to add detection of a couple of routine sets of patches that have escaped the current detection routines.

1) MS MSRT 2.0

2) The newer .NET patches. (KB958481, KB958483, KB958484)

Are there any others that can be suggested (i.e. routinely installed) but do not show up in Batch Patcher?

Also, any other good tweaks or suggestions are welcome.

0

Share this post


Link to post
Share on other sites
I'm looking at this program now to update it.

Done. 1.03 released, see first post.

0

Share this post


Link to post
Share on other sites

Version 1.01 runs fine. The Link for Version 1.03 is down. Can you please provider another link for the newer version?

Thank you

0

Share this post


Link to post
Share on other sites

I can't say I know the issue, since the link works fine for me and always has. :S

And I can't change the attachment facility link upon edit either, so really can't do much more.

0

Share this post


Link to post
Share on other sites
I can't say I know the issue, since the link works fine for me and always has. :S

I tried with IE8 and FF3 and the download doesn't work. It always gives a HTTP 404 Not Found. Can you upload v1.03 like you did with 1.01 on 30 Apr 2007? Would be really nice, thanks!

If it is too big for the forum upload you can also use a One-Click-Hoster (pick one from http://oneclickhoster.lima-city.de/) or create a torrent...

Edited by binzgi
0

Share this post


Link to post
Share on other sites

absolutely fantastic!!! Tested on clean install of xp sp3 with .net 3.5 +ie7. Ran a check on windows update, downloaded all suggested updaes (48 in all) and then ran all 48 updates, including .net3.5sp1 + the additional post .net3.5sp1 updates + windows Package Installer + Windows update agent v7 with no trouble at all. Checked windows update and ms update afterwards - result = 0 updates to install.

From now on I'm just going to download the patches as they become available, save them in a dir and run the proggie on my xp iso cd.

thanks a lot.

0

Share this post


Link to post
Share on other sites

Thank you Mr Glenn :) I was using 1.01 so far. I hope 1.03 to be even better :)

0

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.