MSFN Forum: Info about LAYOUT.INF needed... - MSFN Forum

Jump to content



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

Info about LAYOUT.INF needed... Rate Topic: -----

#1 User is offline   marko2511 

  • Newbie
  • Group: Members
  • Posts: 10
  • Joined: 11-July 05

Posted 31 July 2005 - 10:39 AM

Hi everyone...

Searching this board for layout.inf gives so much results that it's hard to
find almost any valuable info...

Most of posts says "do not edit layout.inf" etc....

So my questions will be:

1. What is it for(layout.inf)?
2. Why are we not allowed to edit it(it's signed, i know)?
3. What would change if we could edit layout.inf
4. How will we benefit from it?

Thanks for answers...


Regards.


#2 User is offline   fdv 

  • MSFN Expert
  • Group: Developers
  • Posts: 1,089
  • Joined: 16-July 04
  • OS:Windows 7 x86
  • Country: Country Flag

Posted 31 July 2005 - 10:47 PM

LAYOUT.INF - Loads all of the Operating System files to disc in preparation for installation
TXTSETUP.INF - Installs all of the Operating System files (do NOT go haywire, commenting everything out!)

A bit of trivia: you can modify LAYOUT and if you slipstream a Service Pack afterward, Windows will think the file is digitally signed.

Removing files from these two by commenting them out was how I got started removing useless Windows components. You need a hacked SYSSETUP.DLL or SETUPAPI.DLL to avoid errors.

#3 User is offline   marko2511 

  • Newbie
  • Group: Members
  • Posts: 10
  • Joined: 11-July 05

Posted 01 August 2005 - 03:07 AM

fdv, on Aug 1 2005, 06:47 AM, said:

A bit of trivia: you can modify LAYOUT and if you slipstream a Service Pack afterward, Windows will think the file is digitally signed.


Interesting! Even funny (;

fdv, on Aug 1 2005, 06:47 AM, said:

Removing files from these two by commenting them out was how I got started removing useless Windows components. You need a hacked SYSSETUP.DLL or SETUPAPI.DLL to avoid errors.


Indeed, yesterdy and last night i worked on setupapi.dll to patch it
so i can edit layout.inf. It's done now... And it's a bit different from patch that can be found on your home page(which i saw number of times but only few minutes ago i saw patch for setupapi.dll)... (;

Anyway. While "working" on setupapi.dll and others i found something that could be
interesting to someone here(maybe)...
There is TestCert key that can be used under [Unattended] section of your answer file.. Seems to me that this is path to your "test" certificate.
So, if i'am not wrong it could be possible to sign files by us and make it working...
I searched a littlebit on this board for TestCert but nothing came up...

Regards

#4 User is offline   marko2511 

  • Newbie
  • Group: Members
  • Posts: 10
  • Joined: 11-July 05

Posted 01 August 2005 - 10:08 AM

marko2511, on Aug 1 2005, 11:07 AM, said:

There is TestCert key that can be used under [Unattended] section of your answer file..


Hm. More info here:
http://www.google.com/search?q=testcert+un...3Amicrosoft.com

#5 User is offline   air101 

  • Group: Members
  • Posts: 6
  • Joined: 16-July 06

Posted 25 May 2008 - 06:46 AM

View Postfdv, on Jul 31 2005, 10:47 PM, said:

LAYOUT.INF - Loads all of the Operating System files to disc in preparation for installation
TXTSETUP.INF - Installs all of the Operating System files (do NOT go haywire, commenting everything out!)

A bit of trivia: you can modify LAYOUT and if you slipstream a Service Pack afterward, Windows will think the file is digitally signed.

Removing files from these two by commenting them out was how I got started removing useless Windows components. You need a hacked SYSSETUP.DLL or SETUPAPI.DLL to avoid errors.


How can i patch syssetup and setupapi ? I loaded both files into pe explorer but i cant find out where to disable the signature thing for layout.dll is....

I'd gladly take some help here ^^

best regards

- air

#6 User is offline   fdv 

  • MSFN Expert
  • Group: Developers
  • Posts: 1,089
  • Joined: 16-July 04
  • OS:Windows 7 x86
  • Country: Country Flag

Posted 27 May 2008 - 07:52 AM

Use mine. Download my ZIP and extract SETUPAPI.DL_ and put it in i386. Rename your old one .OLD or something.
Also, open LAYOUT.INF and do a search and replace of ",_x," to ",," (comma underscore x comma to comma comma) and save the change. (_x instructs windows to check exact filesize, and if you edit LAYOUT, you need to remove all of these)

#7 User is offline   air101 

  • Group: Members
  • Posts: 6
  • Joined: 16-July 06

Posted 01 June 2008 - 04:18 PM

Thanks, but i was kinda looking for a patch for win2003 :)

#8 User is offline   fdv 

  • MSFN Expert
  • Group: Developers
  • Posts: 1,089
  • Joined: 16-July 04
  • OS:Windows 7 x86
  • Country: Country Flag

Posted 03 June 2008 - 09:36 PM

Here you go then

#9 User is offline   air101 

  • Group: Members
  • Posts: 6
  • Joined: 16-July 06

Posted 04 June 2008 - 11:56 AM

very nice THX =)

#10 User is offline   air101 

  • Group: Members
  • Posts: 6
  • Joined: 16-July 06

Posted 04 June 2008 - 02:09 PM

Does anyone know if theres a tutorial how to patch setupapi.dll ?

would be nice to know =)

thx in advance

- air

#11 User is offline   gosh 

  • gosh 2.0
  • Group: Patrons
  • Posts: 2,347
  • Joined: 03-October 03
  • OS:none specified
  • Country: Country Flag

Posted 04 June 2008 - 05:11 PM

Just use any hex editor to remove the _x like he said.

-gosh

#12 User is offline   air101 

  • Group: Members
  • Posts: 6
  • Joined: 16-July 06

Posted 08 June 2008 - 02:02 AM

just editing layout.inf doesnt work, setup craps out on gui start.... so is there really no tutorial for setupapi hacking ? :/

#13 User is offline   fdv 

  • MSFN Expert
  • Group: Developers
  • Posts: 1,089
  • Joined: 16-July 04
  • OS:Windows 7 x86
  • Country: Country Flag

Posted 10 June 2008 - 04:54 PM

View Postair101, on Jun 8 2008, 02:02 AM, said:

just editing layout.inf doesnt work, setup craps out on gui start.... so is there really no tutorial for setupapi hacking ? :/


Why not try the one on my site?
2000, XP, 2003 included.

This post has been edited by fdv: 24 December 2008 - 12:55 AM


#14 User is offline   an3k 

  • Junior
  • Group: Supreme Sponsor
  • Posts: 93
  • Joined: 15-June 08
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 23 December 2008 - 04:20 AM

just to clarify something:

if i edit the layout.inf and then slipstream SP3 into i can use my modified layout.inf without any other required changes or do i always have to use a modified SYSSETUP.DLL or SETUPAPI.DLL?

I'm currently in those problems. if gui-mode setup starts a fatal error occours which tells me that the signatur for windows xp setup is invalid.

Thank you very much!

This post has been edited by an3k: 23 December 2008 - 04:21 AM


#15 User is offline   fdv 

  • MSFN Expert
  • Group: Developers
  • Posts: 1,089
  • Joined: 16-July 04
  • OS:Windows 7 x86
  • Country: Country Flag

Posted 24 December 2008 - 12:56 AM

View Postan3k, on Dec 23 2008, 05:20 AM, said:

if i edit the layout.inf and then slipstream SP3 into i can use my modified layout.inf without any other required changes or do i always have to use a modified SYSSETUP.DLL or SETUPAPI.DLL?


It seems like you have to use a hacked DLL. I really don't recall; I have been using hacked DLLs forever. I wouldn't think of doing it any other way.

#16 User is offline   air101 

  • Group: Members
  • Posts: 6
  • Joined: 16-July 06

Posted 07 May 2011 - 06:14 AM

is there a byte array patch for 64bit windows 2003 as well ?

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