RyanVM.net Discussion Board Forum Index RyanVM.net Discussion Board

 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Blocked hotfixes, a workaround

 
Post new topic   Reply to topic    RyanVM.net Discussion Board Forum Index -> Community Update Packs -> Windows XP Professional x64 Edition
View previous topic :: View next topic  
Author Message
CrashControl



Joined: 24 Jun 2011
Posts: 1

PostPosted: Sat Jun 25, 2011 1:36 pm    Post subject: Blocked hotfixes, a workaround Reply with quote

5eraph wrote:
Updated to 2009-12_1. Please read the Changelog for full details.

As those of you who have downloaded some of the latest x64 hotfixes from Microsoft may have noticed, Microsoft has begun to use "WindowsServer2003" in place of "WindowsServer2003.WindowsXP" in the file names for certain updates. In addition, Microsoft has begun to use the following code in update_SP2QFE.inf:

Code:
[Prerequisite]
    Condition=AndOp,Prereq.XPAMDInstallBlock.Section
..

[Prereq.XPAMDInstallBlock.Section]
    PresentOp=CheckReg,HKLM,"SYSTEM\CurrentControlSet\Control\ProductOptions",ProductType,0x00000000
    EqualOp=CheckReg,HKLM,"SYSTEM\CurrentControlSet\Control\ProductOptions",ProductType,0x00000000,==,"ServerNT"
    Display_String="%WrongProductMessage%"

This code cannot be altered to force the installer to work with XP x64 without breaking the signature for the INF. Nor can one change the protected registry value without hacking Windows, which we will not discuss here as it borders on piracy. However, some of these updates seem to be intended for XP x64 despite being blocked by the installer. Here is an incomplete list:Microsoft's use of the above code seems to be arbitrary and incorrect in the cases of the updates listed, and perhaps other cases. Therefore, I have decided to include blocked updates in the update pack.


Hi 5eraph,

First, thank you (and others who contributed) for the comprehensive list of hotfixes maintained in the first post of this thread. Downloading the hotfixes (i.e., those that can't be downloaded automatically) from Microsoft and thehotfixshare.net one-by-one took forever!. Wink (I wanted the packages for my own installation/integration solutions)

I know the post I'm replying to specifically is dated but having just dealt with this annoying problem myself I wanted to discuss this. I don't want to clutter this thread so perhaps a new one should be created for related issues.

Concerning the blocking of hotfixes, the workaround I used for local installation was to first extract the hotfix into its own directory and then patch the update.exe binary to ignore the "prerequisite" section in the .inf file. All that involves is replacing the appropriate section name in the binary with a dummy value (of equal byte length) that won't be present. Backup the patched update.exe to some other directory so that next time you can just copy over the extracted update.exe with it.

Someone described in a blog (I'll try to dig up the URL if anyone wants it) patching the update.exe to allow modification of the .inf file, but I didn't want to break the signatures of any signed files.

Code:
fc /b update.orig.exe  update.exe
00016A90: 50 44
00016A91: 72 75
00016A92: 65 6D
00016A93: 52 6D
00016A94: 65 79
00016A95: 71 53
00016A96: 75 65
00016A97: 69 63
00016A98: 73 74
00016A9A: 74 6F
00016A9B: 65 6E
00016AA0: 50 44
00016AA2: 72 75
00016AA4: 65 6D
00016AA6: 52 6D
00016AA8: 65 79
00016AAA: 71 53
00016AAC: 75 65
00016AAE: 69 63
00016AB0: 73 74
00016AB4: 74 6F
00016AB6: 65 6E


Odd that even the packaged hotfix says that it applies to XP64 in the version info section. It's sad that end-users should be forced to patch MS "fixes" to fix bugs in *their* software.
Back to top
View user's profile Send private message
5eraph
Moderator


Joined: 05 Jul 2005
Posts: 3954
Location: Riverview, MI USA

PostPosted: Sat Jun 25, 2011 5:32 pm    Post subject: Reply with quote

Very interesting workaround. Thank you for sharing, and welcome to the forum. Smile

And you're right, this topic deserves its own thread.

EDIT 1: 2014/05/14
The following x64 patched file was created from the directions given by CrashControl above.

EDIT 2: 2014/09/08
Added an x86 version intended for POSReady 2009 and WEPOS update packages. Same patch, different location in the file (starting at 0x1CB90).

Download:


Last edited by 5eraph on Mon Sep 08, 2014 8:54 am
Back to top
View user's profile Send private message
yumeyao
Moderator


Joined: 27 Aug 2006
Posts: 1718
Location: Taiyuan, Shanxi, PR China

PostPosted: Sat Jun 25, 2011 7:30 pm    Post subject: Reply with quote

breaking update.exe and update.inf's signatures doesn't harm *anything*. The installation resule is transparent for both the OS and the user.
_________________

My work list(Hosted by dumpydooby)
Back to top
View user's profile Send private message AIM Address MSN Messenger
5eraph
Moderator


Joined: 05 Jul 2005
Posts: 3954
Location: Riverview, MI USA

PostPosted: Sat Jun 25, 2011 7:50 pm    Post subject: Reply with quote

I could not force updates to install by modifying only the INF.
Back to top
View user's profile Send private message
yumeyao
Moderator


Joined: 27 Aug 2006
Posts: 1718
Location: Taiyuan, Shanxi, PR China

PostPosted: Sat Jun 25, 2011 7:57 pm    Post subject: Reply with quote

as described above, just patch update.exe.

A patched file can be extracted from my WIC/XPS installers.
_________________

My work list(Hosted by dumpydooby)
Back to top
View user's profile Send private message AIM Address MSN Messenger
OnePiece Alb



Joined: 01 Sep 2007
Posts: 420
Location: Albania

PostPosted: Sat Jun 25, 2011 8:27 pm    Post subject: Reply with quote

I used almost 1 year ago with great success (update.exe also worked with modified inf)
http://www.remkoweijnen.nl/blog/2009/05/12/modifying-microsoft-updates-andor-hotfixes/
http://www.remkoweijnen.nl/blog/2009/07/21/modifying-microsoft-updates-andor-hotfixes-2/
I tried some tests on DirId which uses update.exe

however very interesting and the way to find the hex to edit

very ultile understand how to modify other files as SYSSETUP.dll and many other files, even though I know Microsoft does not use more certain structure in recent dll (to easily find the hex)

sorry for my English

Ciao a tutti.
Back to top
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
5eraph
Moderator


Joined: 05 Jul 2005
Posts: 3954
Location: Riverview, MI USA

PostPosted: Mon Feb 13, 2012 10:00 pm    Post subject: Reply with quote

Further discussion can be found on MSFN.
Back to top
View user's profile Send private message
ricktendo64



Joined: 21 May 2006
Posts: 3192
Location: Honduras

PostPosted: Thu Feb 16, 2012 2:34 pm    Post subject: Reply with quote

Can the setup from a .net4 patch be modded to ignore digital signature as well?

http://www.mediafire.com/?omrjgqn58hubbee
_________________

Please, donate any old PC hardware
Save time & space on your HDD/SSD with these installer repacks
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    RyanVM.net Discussion Board Forum Index -> Community Update Packs -> Windows XP Professional x64 Edition All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group