MSFN Forum: Batch Patcher 1.03 - MSFN Forum

Jump to content


  • 2 Pages +
  • 1
  • 2
  • You cannot start a new topic
  • You cannot reply to this topic

Batch Patcher 1.03 Batch Installation of Windows Patches Rate Topic: -----

#1 User is offline   Glenn9999 

  • Senior Member
  • PipPipPipPip
  • Group: Members
  • Posts: 628
  • Joined: 23-April 07

Posted 23 April 2007 - 05:17 PM

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.

Attached File(s)


This post has been edited by Glenn9999: 20 December 2009 - 09:57 AM



#2 User is offline   Glenn9999 

  • Senior Member
  • PipPipPipPip
  • Group: Members
  • Posts: 628
  • Joined: 23-April 07

Posted 30 April 2007 - 04:55 PM

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.

This post has been edited by Glenn9999: 22 May 2009 - 08:58 PM


#3 User is offline   kickarse 

  • the free techie
  • PipPip
  • Group: Members
  • Posts: 227
  • Joined: 26-April 05
  • OS:XP Pro x86
  • Country: Country Flag

Posted 15 December 2007 - 03:05 PM

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

This post has been edited by kickarse: 15 December 2007 - 03:11 PM


#4 User is offline   Glenn9999 

  • Senior Member
  • PipPipPipPip
  • Group: Members
  • Posts: 628
  • Joined: 23-April 07

Posted 15 December 2007 - 10:54 PM

View Postkickarse, on Dec 15 2007, 03:05 PM, said:

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


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

#5 User is offline   socom18e 

  • Group: Members
  • Posts: 2
  • Joined: 06-March 07

Posted 30 January 2008 - 12:26 PM

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.............

This post has been edited by socom18e: 30 January 2008 - 01:43 PM


#6 User is offline   Glenn9999 

  • Senior Member
  • PipPipPipPip
  • Group: Members
  • Posts: 628
  • Joined: 23-April 07

Posted 30 January 2008 - 07:56 PM

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.

#7 User is offline   socom18e 

  • Group: Members
  • Posts: 2
  • Joined: 06-March 07

Posted 02 March 2008 - 10:54 AM

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...............

#8 User is offline   Glenn9999 

  • Senior Member
  • PipPipPipPip
  • Group: Members
  • Posts: 628
  • Joined: 23-April 07

Posted 02 March 2008 - 01:59 PM

View Postsocom18e, on Mar 2 2008, 10:54 AM, said:

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

#9 User is offline   farren 

  • Group: Members
  • Posts: 4
  • Joined: 18-July 06

Posted 22 April 2008 - 09:02 AM

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

#10 User is offline   Glenn9999 

  • Senior Member
  • PipPipPipPip
  • Group: Members
  • Posts: 628
  • Joined: 23-April 07

Posted 22 April 2008 - 09:18 AM

View Postfarren, on Apr 22 2008, 10:02 AM, said:

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).

#11 User is offline   farren 

  • Group: Members
  • Posts: 4
  • Joined: 18-July 06

Posted 23 April 2008 - 02:53 AM

View PostGlenn9999, on Apr 22 2008, 04:18 PM, said:

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 ?

This post has been edited by farren: 23 April 2008 - 06:21 AM


#12 User is offline   Glenn9999 

  • Senior Member
  • PipPipPipPip
  • Group: Members
  • Posts: 628
  • Joined: 23-April 07

Posted 23 April 2008 - 06:29 AM

View Postfarren, on Apr 23 2008, 03:53 AM, said:

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).

This post has been edited by Glenn9999: 23 April 2008 - 06:29 AM


#13 User is offline   farren 

  • Group: Members
  • Posts: 4
  • Joined: 18-July 06

Posted 23 April 2008 - 08:54 AM

View PostGlenn9999, on Apr 23 2008, 01:29 PM, said:

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

This post has been edited by farren: 23 April 2008 - 09:05 AM


#14 User is offline   Glenn9999 

  • Senior Member
  • PipPipPipPip
  • Group: Members
  • Posts: 628
  • Joined: 23-April 07

Posted 24 April 2008 - 09:55 AM

View Postfarren, on Apr 23 2008, 08:54 AM, said:

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.)

This post has been edited by Glenn9999: 07 March 2009 - 04:06 AM


#15 User is offline   farren 

  • Group: Members
  • Posts: 4
  • Joined: 18-July 06

Posted 26 April 2008 - 02:52 PM

View PostGlenn9999, on Apr 24 2008, 05:55 PM, said:

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.

#16 User is offline   Glenn9999 

  • Senior Member
  • PipPipPipPip
  • Group: Members
  • Posts: 628
  • Joined: 23-April 07

Posted 04 March 2009 - 09:58 PM

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.

#17 User is offline   Glenn9999 

  • Senior Member
  • PipPipPipPip
  • Group: Members
  • Posts: 628
  • Joined: 23-April 07

Posted 07 March 2009 - 04:08 AM

View PostGlenn9999, on Mar 4 2009, 09:58 PM, said:

I'm looking at this program now to update it.


Done. 1.03 released, see first post.

#18 User is offline   pcalvert 

  • Member
  • PipPip
  • Group: Members
  • Posts: 114
  • Joined: 21-May 05

Posted 02 April 2009 - 12:38 AM

View PostGlenn9999 said:


That download link is not working for me.

Phil

#19 User is offline   binzgi 

  • Group: Members
  • Posts: 3
  • Joined: 20-May 09

Posted 20 May 2009 - 07:11 AM

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

#20 User is offline   Glenn9999 

  • Senior Member
  • PipPipPipPip
  • Group: Members
  • Posts: 628
  • Joined: 23-April 07

Posted 20 May 2009 - 11:34 AM

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.

Share this topic:


  • 2 Pages +
  • 1
  • 2
  • You cannot start a new topic
  • You cannot reply to this topic

4 User(s) are reading this topic
0 members, 4 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2013 msfn.org
Privacy Policy