Jump to content

Recommended Posts

Posted

Hi. I am trying to modifying syssetup.inf and layout.inf. but i didnt got any modified version of syssetup or setupapi so i cant modify that.

Does someone has got these files patched and send a link?

I need to change Syssetup.inf but WITHOUT those annoying 'New hardware wizard' messages. I need to let it install automatically. Like original Windows XP. If you have any patched version of this files you can post here. please.

Thanks!


Posted (edited)

Here you can find what you are looking for :)

https://www.wincert.net/forum/topic/17689-xpw2k3-x64-on-modern-hardware/?do=findComment&comment=138860
https://www.wincert.net/forum/topic/17689-xpw2k3-x64-on-modern-hardware/
Edited by George King
  • 1 year later...
Posted
On 6/24/2022 at 7:39 AM, George King said:

Here you can find what you are looking for :)

https://www.wincert.net/forum/topic/17689-xpw2k3-x64-on-modern-hardware/?do=findComment&comment=138860
https://www.wincert.net/forum/topic/17689-xpw2k3-x64-on-modern-hardware/

Patch is there for SYSSETUP.DLL but not for SETUPAPI.DLL.

I've not been able to locate a patch for the x64 version of this file, and the byte sequence for the x86 version doesn't match even though they're the same build number.

Anyone have information on this? Thanks!

  • 1 month later...
Posted

@LoneCrusaderI dont know what you need it for... But looks like all the patch does is skip the checks in pSetupVerifyFile found in setupapi.dll.  Fortunately XP64 has the same logic as XP for that part so same patch should also work.

IDAsetupapi.png

x86 setupapi.dll 5.1.2600.5603 
@53789	8B FF 55 8B EC	->	33 C0 C2 30 00

x64 setupapi.dll 5.2.3790.4511
@94240	48 81 EC 98 00 	->	33 C0 C2 30 00

 

 

Posted
On 3/28/2024 at 11:11 AM, pappyN4 said:

@LoneCrusaderI dont know what you need it for... But looks like all the patch does is skip the checks in pSetupVerifyFile found in setupapi.dll.  Fortunately XP64 has the same logic as XP for that part so same patch should also work.

Thanks for the info. :thumbup For completeness could you also list the correct location for patching x64 version 5.2.3790.3959?

I note that the same byte sequence occurs several times throughout the file.. how does one know which instance specifically requires patching?

The SETUPAPI patch allows one to modify certain files on the installation source prior to SETUP.. some can be edited without problems (i.e. TXTSETUP.SIF, DOSNET.INF that are used by nLite) but others such as LAYOUT.INF cannot be modified without causing errors during SETUP. FDV's patch for this works on XP x86 but I had no way to port it to XP x64.

Posted
6 hours ago, LoneCrusader said:

I note that the same byte sequence occurs several times throughout the file.. how does one know which instance specifically requires patching?

The example you posted for x86 5512 had some extra bytes shown as well.  So if you do a search with that, then its usually unique enough to only have one.  That way, to update it for a newer file, you can usually get away with using the same search even if the byte sequence is in a different position.  

To get the x64, I looked up the x86 in IDA at the byte position to see what was actually being changed, in this case pSetupVerifyFile.  So with the x64 file having the exact same logic it was simple to make the same change.  Unlike syssetup.dll where the difference between XP (5.1) and XP64 (5.2) was large.

In this case it looks like x64 3959 change is in the same position.  byte search 505DC3909090909090904881EC9800

 

I'll also mention the post SP2 updates that are available for XP64 if you want to use the latest version.  https://www.mediafire.com/folder/x6qqeye5y0a0x/x64

Posted (edited)
7 hours ago, pappyN4 said:

I note that the same byte sequence occurs several times throughout the file.. how does one know which instance specifically requires patching?

The example you posted for x86 5512 had some extra bytes shown as well.  So if you do a search with that, then its usually unique enough to only have one.  That way, to update it for a newer file, you can usually get away with using the same search even if the byte sequence is in a different position.  

To get the x64, I looked up the x86 in IDA at the byte position to see what was actually being changed, in this case pSetupVerifyFile.  So with the x64 file having the exact same logic it was simple to make the same change.  Unlike syssetup.dll where the difference between XP (5.1) and XP64 (5.2) was large.

In this case it looks like x64 3959 change is in the same position.  byte search 505DC3909090909090904881EC9800

I'll also mention the post SP2 updates that are available for XP64 if you want to use the latest version.  https://www.mediafire.com/folder/x6qqeye5y0a0x/x64

It's better to use my latest version. That was the old version that had the problem and I deleted the file. There is all the Source Files Update Packs that I uploaded.

https://archive.org/details/5eraphupdatepacks

Edited by MilkChan
  • 2 months later...
Posted
On 3/28/2024 at 11:11 AM, pappyN4 said:

@LoneCrusaderI dont know what you need it for... But looks like all the patch does is skip the checks in pSetupVerifyFile found in setupapi.dll.  Fortunately XP64 has the same logic as XP for that part so same patch should also work.

IDAsetupapi.png

x86 setupapi.dll 5.1.2600.5603 
@53789	8B FF 55 8B EC	->	33 C0 C2 30 00

x64 setupapi.dll 5.2.3790.4511
@94240	48 81 EC 98 00 	->	33 C0 C2 30 00

My apologies for the late testing.. every time I get a good start on a project of mine something happens to delay it. :crazy:

Unfortunately this patch doesn't seem to work, it triggers an endless loop at the beginning of the second phase of SETUP. The text part of SETUP completes, the system reboots and shows "Installing Windows" and "39 minutes remaining" - but it never loads the first dialog box to click to continue. After a few seconds the screen goes all light blue and the machine reboots. This repeats on each reboot. No error is displayed.

  • 3 months later...
Posted (edited)
On 6/22/2024 at 6:55 AM, LoneCrusader said:

My apologies for the late testing.. every time I get a good start on a project of mine something happens to delay it. :crazy:

Unfortunately this patch doesn't seem to work, it triggers an endless loop at the beginning of the second phase of SETUP. The text part of SETUP completes, the system reboots and shows "Installing Windows" and "39 minutes remaining" - but it never loads the first dialog box to click to continue. After a few seconds the screen goes all light blue and the machine reboots. This repeats on each reboot. No error is displayed.

I get the exact same error. It crashes on my side too. Also setuperr.log provides no useful information on my side.

I tried to debug it via IDA Pro, but I couldn't understand much.

Edited by WS7_6608

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.
×
×
  • Create New...