2)after Windows setup section 1 and section 2 had finished , boot to another OS,(eg:XP/2003).
note: Windows longhorn setup :
Quote
section 2: Windows PE will copy all Longhorn system files to target drive.
you need stop here before?setup section 3 started.
section 3:Windows Longhorn use sysprep setupmode to detect hadrware ,install drivers and signhash CD-KEY........
section 4:boot to normal mode
http://www.MSFN.org/...sh/LHWinPE.html
3)make a work dir:
Quote
\LH4051\i386
\LH4051\i386\system32
\LH4051\temp
4)copy Longhorn cleaninstall drive \windows\i386 foldir to your work dir \LH4051\temp
copy Longhorn cleaninstall drive \windows\Microsoft.NET\Framework folder to your work dir \LH4051\temp
5)remove files from \LH4051\temp\i386 to \LH4051\i386 (they can't be compressed):
Quote
autochk.exe
autofmt.exe
bootfix.bin
cabinet.dll
clfs.sys
dbgeng.dll
dbghelp.dll
docs.cab
dosnet.inf
Quote
driver.cab
drvindex.inf
drvmain.sdb
eula.txt
expand.exe
fp50ext.cab
gpscript.exe
helpcab.cab
Quote
hivedef.inf(you can use XP/2003/LH4008/LH4015/LH4029 version files)
hivesft.inf(you can use LH4051 x64 version files by replace "wow6432node\" with "")
hivesxs.inf(you can use LH4051 x64 version files by cut half line within "amd64" ,but keep all line within "x86" and replace "amd64" with "i386")
hivesys.inf(you can use LH4051 x64 version files by replace "wow6432node\" with "")
hiveusd.inf(you can use XP/2003/LH4008/LH4015/LH4029 version files)
hivewin.inf(you can use LH4051 x64 version files, it's really null)
imagehlp.dll
ims.cab
ims.cat
intl.inf
kbd101.dll
kbd101a.dll
kbd106n.dll
kbda1.dll
kbda2.dll
kbda3.dll
kbdal.dll
kbdarme.dll
kbdarmw.dll
kbdax2.dll
kbdaze.dll
kbdazel.dll
kbdbe.dll
kbdbene.dll
kbdblr.dll
kbdbr.dll
kbdbu.dll
kbdca.dll
kbdcan.dll
kbdcr.dll
kbdcz.dll
kbdcz1.dll
kbdcz2.dll
kbdda.dll
kbddiv1.dll
kbddiv2.dll
kbddv.dll
kbdes.dll
kbdest.dll
kbdfa.dll
kbdfc.dll
kbdfi.dll
kbdfo.dll
kbdfr.dll
kbdgae.dll
kbdgeo.dll
kbdgkl.dll
kbdgr.dll
kbdgr1.dll
kbdhe.dll
kbdhe220.dll
kbdhe319.dll
kbdheb.dll
kbdhela2.dll
kbdhela3.dll
kbdhept.dll
kbdhu.dll
kbdhu1.dll
kbdibm02.dll
kbdic.dll
kbdindev.dll
kbdinguj.dll
kbdinhin.dll
kbdinkan.dll
kbdinmar.dll
kbdinpun.dll
kbdintam.dll
kbdintel.dll
kbdir.dll
kbdit.dll
kbdit142.dll
kbdkaz.dll
kbdkyr.dll
kbdla.dll
kbdlk41a.dll
kbdlk41j.dll
kbdlt.dll
kbdlt1.dll
kbdlv.dll
kbdlv1.dll
kbdmac.dll
kbdmon.dll
kbdne.dll
kbdnec.dll
kbdnec95.dll
kbdnecat.dll
kbdnecnt.dll
kbdno.dll
kbdpl.dll
kbdpl1.dll
kbdpo.dll
kbdro.dll
kbdru.dll
kbdru1.dll
kbdsf.dll
kbdsg.dll
kbdsl.dll
kbdsl1.dll
kbdsp.dll
kbdsw.dll
kbdsyr1.dll
kbdsyr2.dll
kbdtat.dll
kbdth0.dll
kbdth1.dll
kbdth2.dll
kbdth3.dll
kbdtuf.dll
kbdtuq.dll
kbduk.dll
kbdur.dll
kbdurdu.dll
kbdus.dll
kbdusa.dll
kbdusl.dll
kbdusr.dll
kbdusx.dll
kbduzb.dll
kbdvntc.dll
kbdycc.dll
kbdycl.dll
ksecdd.sys
layout.inf
mglegacy.cab
mmssetup.cab
monsrv.cab
msrdp.cab
Quote
netsetup.exe
noise.chs
noise.cht
noise.eng
noise.enu
ntdetect.com
ntdll.dll
ntfs.sys
ntldr
ntoskrnl.exe
ntprint.cat
ntprint.inf
ntsd.exe
osc.cab
pidgen.dll
prodspec.ini
progs.cab
progsx86.cab
regedit.exe
rmclient.cab
setupacc.txt
setupldr.bin
setupp.ini
Quote
spcmdcon.sys
sysparse.exe
telnet.exe
txtsetup.sif
usetup.exe
Quote
winnt.exe(you can use XP/2003/ LH4008/4015/4029 version files)
winnt32.exe(you can use XP/2003/ LH4008/4015/4029 version files)
winnt32.hlp(you can use XP/2003/ LH4008/4015/4029 version files)
winnt32.msi(you can use XP/2003/ LH4008/4015/4029 version files)
winnt32a.dll(you can use XP/2003/ LH4008/4015/4029 version files)
winnt32U.dll(you can use XP/2003/ LH4008/4015/4029 version files)
winntbba.dll(you can use XP/2003/ LH4008/4015/4029 version files)
winntbbu.dll(you can use XP/2003/ LH4008/4015/4029 version files)
wsdu.dll
wsdueng.dll
6) compress all files on \LH4051\temp\i386 to \LH4051\i386
by use "compress -r -d \LH4051\temp\i386\*.* \LH4051\i386 "
NOTE:some longname files must be renamed before compressed, these files can be found in txtsetup.sif , look like:
Quote
rtcprov.dll <--------Microsoft.Collaboration.dll
rtcint.dll <--------Interop.RtcDll.dll
rtcint.man <--------Interop.RtcDll.dll.manifest
rtmint.dll <--------interop.rtmedia.dll
rtmint.man <--------interop.rtmedia.dll.manifest
locsvc.dll <--------Location.Svc.dll
locwifip.dll <--------Location.WifiP.dll
locipp.dll <--------Location.IpP.dll
locsvcwp.exe <--------Location.SvcWrap.exe
swexplr.dll <--------System.Windows.Explorer.dll
mswincl.dll <--------Microsoft.Windows.Client.dll
mswincl2.dll <--------Microsoft.Windows.WCPClient.dll
.........etc
\i386\compdata
\i386\winntupg
\i386\winntmig
to \LH4051\i386
8)copy \LH4051\i386\ntdll.dll to \LH4051\i386\system32
copy \LH4051\i386\usetup.exe to \LH4051\i386\system32, and then rename "smss.exe "
9)copy Longhorn For PDC DVD disk1
\x86\docs
\x86\support
\x86\valueadd
\x86\ setup.exe
(you need to rehack it's install path)
\x86\autorun.inf
\x86\win51
\x86\win51ip
\x86\readme.htm
to \LH4051\
10)
remove all temp folder and files.
use 2000/XP/2003 bootrecord (eg:xpboot.bin) and CDIMAGE to build ISO files
enjoy!!!!!!!!
also , I had removed some usused compments to make Longhorn lite by edit sysoc.inf:
Quote
Signature = "$Windows NT$"
DriverVer=10/01/2002,6.0.4051.0
[Components]
NtComponents=ntoc.dll,NtOcSetupProc,,4
WBEM=ocgen.dll,OcEntry,wbemoc.inf,hide,7
WBEMMSI=wbemupgd.dll,OcEntry,wbemmsi.inf,,7
;WinMon=ocgen.dll,OcEntry,winmon.inf,,7
;WMS=ocgen.dll,OcEntry,monsrv.inf,,7
;MSINSTRU=ocgen.dll,OcEntry,MSINSTRU.inf,,7
;WinFS=ocgen.dll,OcEntry,winfsoc.inf,,7
;MSSearch=ocgen.dll,OcEntry,mssrchoc.inf,,7
Display=desk.cpl,DisplayOcSetupProc,,7
;Fax=fxsocm.dll,FaxOcmSetupProc,fxsocm.inf,,6
BEACON=ocgen.dll,OcEntry,netbeac.inf,,7
LPDSVC=oclpd.dll,NetOcSetupProc,netlpd.inf,,7
Iprip=ocgen.dll,OcEntry,netiprip.inf,,7
SimpTcp=ocgen.dll,OcEntry,nettpsmp.inf,,7
SNMP=ocsnmp.dll,NetOcSetupProc,netsnmp.inf,,7
;UPNP=ocgen.dll,OcEntry,netupnp.inf,,7
;P2P=ocgen.dll,OcEntry,p2p.inf,,7
WBEMSNMP=ocgen.dll,OcEntry,wbemsnmp.inf,,7
iis=iis.dll,OcEntry,iis.inf,,7
com=comsetup.dll,OcEntry,comnt5.inf,hide,7
dtc=msdtcstp.dll,OcEntry,dtcnt5.inf,hide,7
IndexSrv_System = setupqry.dll,IndexSrv,setupqry.inf,,7
Dfsc=ocgen.dll,OcEntry,dfsc.inf,HIDE,7
Csc=ocgen.dll,OcEntry,csc.inf,HIDE,7
TerminalServer=TsOc.dll, HydraOc, TsOc.inf,hide,2
msmq=msmqocm.dll,MsmqOcm,msmqocm.inf,,6
;netfx=netfxocm.dll,UrtOcmProc,netfxocm.inf,hide,7
ims=imsinsnt.dll,OcEntry,ims.inf,,7
;fp_extensions=fp50ext.dll,FrontPage5Extensions,fp50ext.inf,,7
AutoUpdate=ocgen.dll,OcEntry,au.inf,hide,7
;msmsgs=msgrocm.dll,OcEntry,msmsgs.inf,hide,7
;WMAccess=ocgen.dll,OcEntry,wmaccess.inf,,7
RootAutoUpdate=ocgen.dll,OcEntry,rootau.inf,,7
IEAccess=ocgen.dll,OcEntry,ieaccess.inf,,7
OEAccess=ocgen.dll,OcEntry,oeaccess.inf,,7
;avalon=avalnocm.dll,AvalEntry,avalon.inf,hide,7
;sidebar=avalnocm.dll,AvalEntry,sidebar.inf,hide,7
;mmf=mfocm.dll,OcEntry,mfocm.inf,hide,7
;wcpd=wcpdocm.dll,WcpdEntry,wcpd.inf,,7
;mygames=avalnocm.dll,AvalEntry,mygames.inf,HIDE,7
StateManagement=ocgen.dll,OcEntry,WcmOc.inf,hide,7
winevt=OcGen.dll,OcEntry,winevt.inf,hide,7
;fltmgr=ocgen.dll,OcEntry,fltmgr.inf,HIDE,7
;TabletPCRuntime=avalnocm.dll,AvalEntry,tabpcrt.inf,HIDE,7
;WMIJobs=OcGen.dll,OcEntry,WMIJobs.inf,,7
msxml6=OcGen.dll,OcEntry,msxml6oc.inf,hide,7
;helpcab=ocgen.dll,OcEntry,helpcab.inf,HIDE,7
;SafeDocsV2=ocgen.dll,OcEntry,sdocsv2.inf,HIDE,7
gpsvc=OcGen.dll,OcEntry,gpsvc.inf,HIDE,7
;rtc=avalnocm.dll,AvalEntry,rtc.inf,HIDE,7
;locsvc=OcGen.dll,OcEntry,locsvc.inf,,7
bapi=OcGen.dll,OcEntry,bapi.inf,HIDE,7
biologon=OcGen.dll,OcEntry,biologon.inf,HIDE,7
;RMClient=OcGen.dll,OcEntry,RMClient.inf,HIDE,7
MultiM=ocgen.dll,OcEntry,multimed.inf,HIDE,7
;Games=ocgen.dll,OcEntry,games.inf,,7
AccessUtil=ocgen.dll,OcEntry,accessor.inf,,7
CommApps=ocgen.dll,OcEntry,communic.inf,HIDE,7
AccessOpt=ocgen.dll,OcEntry,optional.inf,HIDE,7
;Pinball=ocgen.dll,OcEntry,pinball.inf,HIDE,7
MSWordPad=ocgen.dll,OcEntry,wordpad.inf,HIDE,7
;ZoneGames=zoneoc.dll,ZoneSetupProc,igames.inf,,7
TabletPC=tabletoc.dll,TabletSetupProc,Tablet.inf,HIDE,7
;InetPrint=ntprint.dll,IppOcEntry,IppOcm.inf,,7
BrandingComponent=ocgen.dll,OcEntry,winbrdoc.inf,HIDE,7
[Global]
WindowTitle=%WindowTitle%
WindowTitle.StandAlone="*"
[Components]
;msnexplr=ocmsn.dll,OcEntry,msnmsn.inf,,7
[Strings]
WindowTitle="Windows Professional Setup"
WindowTitle_Standalone="Windows Components Wizard"