MSFN Forum: setupapi.dll and WinXP SP1.0a - MSFN Forum

Jump to content



Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

setupapi.dll and WinXP SP1.0a hacking the dll for modified install Rate Topic: -----

#1 User is offline   caps_buster 

  • Junior
  • Pip
  • Group: Members
  • Posts: 66
  • Joined: 20-February 09

  Posted 22 October 2009 - 11:59 AM

To be able modify the Windows install CD files, one need to hack the setupapi.dll file. There are well explained and documented where and what to modify for Windows 2000 SP4, Windows XP SP3 and Windows 2003 SP2, thanks to fdv: http://www.vorck.com...t-setupapi.html

However the guide cover only the there mentioned Windows versions, not the one I want to use. Searching for the "90 90 90 90 90 8B FF 55 8B EC 8B 45 2C 33 C9 3B C1" as Fred Vorck suggested turn out of no result in my version of the file. You can check it for yourself:
[Link removed.]

So, what I need is some help how to do this. I cannot find the byte sequence for the XP SP3 version - 8B FF 55 8B EC - but I can found the byte sequences (4 cases of them) as for the Windows 2000 SP4 setupapi.dll file = 55 8B EC FF 75. When I changed the second one of them (as in Win2kSP version of the file), at the offset 4F17D (not same as for Win2k SP4 version of the file) it does not work at all. The install went file, but hand on on network components, at about 60% forever.
I did use the modifyPE -c on the file after I modified it to make the setup working...

When I pushed harder to make sure it is the modification fault, then I tried remove the "_X" that cause the setup to check the files:

Quote

Windows chokes on some modified INF files like LAYOUT is because it checks file sizes against the list in the LAYOUT.INF file of any file that has an _X in its line. In other words, if we open LAYOUT.INF and TXTSETUP.SIF, and find the line of that file, it reads:
layout.inf = 2,,244801,,,,_x,20,0,0
If you want to modify this file, delete the _X!
layout.inf = 2,,244801,,,,,20,0,0


So I did and the setup immediatelly after the first reboot started to complaining about modified files that are "serious problem" and setup "cannot continue". That means the patch I made to the setupapi.dll is not working :(

So, I asking if anyone know the correct byte sequence or have some ideas to try on my file. Thanks!

This post has been edited by dencorso: 23 October 2009 - 04:51 PM
Reason for edit: Link removed - violation of Rule # 1.b



#2 User is offline   dencorso 

  • Adiuvat plus qui nihil obstat
  • Group: Super Moderator
  • Posts: 3,966
  • Joined: 07-April 07
  • OS:98SE
  • Country: Country Flag

Posted 23 October 2009 - 04:55 PM

Your link was a redist of a Microsoft file, from a non-Microsoft server location. :realmad:
As per Rule # 1.b, I've removed the link.
Please follow the rules - consider yourself warned!

BTW, the reason you didn't find where to patch is because the SP1a file doesn't need to be patched... :whistle:

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

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



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