MSFN Forum: Repack and custom Longhorn setup User guide - MSFN Forum

Jump to content



Windows Vista Forum Rules

If you have questions about customizing Windows Vista that are vLite-specific, please post them in the vLite forum, not here. If you have questions regarding the unattended installation of Windows Vista, please post them in the Unattended Windows Vista/Server 2008 section.
  • 2 Pages +
  • 1
  • 2
  • You cannot start a new topic
  • You cannot reply to this topic

Repack and custom Longhorn setup User guide I test it 30 days, it work fine! Rate Topic: -----

#1 User is offline   MStest 

  • Member
  • PipPip
  • Group: Members
  • Posts: 108
  • Joined: 06-November 03

Posted 22 December 2003 - 12:59 AM

1) get Longhorn For PDC DVD disk1, select install Longhorn x86 (clean install)

2)after Windows setup section 1 and section 2 had finished , boot to another OS,(eg:XP/2003).
note: Windows longhorn setup :

Quote

section 1:Windows setup will copy all setup files needed(winpe files and Longhorn system img -----install.wim)

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
thanks for gosh ,here is his method about "Analysis of WinPE based Longhorn setup"
http://www.MSFN.org/...sh/LHWinPE.html

3)make a work dir:

Quote

\LH4051
\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

\LH4051\temp\i386\lang
asms01.cab(you can use LH4051 x64 version files)

autochk.exe
autofmt.exe
bootfix.bin
cabinet.dll
clfs.sys
dbgeng.dll
dbghelp.dll
docs.cab
dosnet.inf

Quote

dotnetpe.cab(you can find it in LH4051 DVD \source)


driver.cab
drvindex.inf
drvmain.sdb
eula.txt
expand.exe
fp50ext.cab
gpscript.exe
helpcab.cab

Quote

hivecls.inf(you can use XP/2003/LH4008/LH4015/LH4029 version files)
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)
hwdb.dll
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

netfx.CAB(you must move all files on LH4051\temp\Microsoft.NET\Framework to one folder ,and then use "cabarc -r -p mLZX:21 N netfx.cab .\*.*" to cab them

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

setupreg.hiv(you can use XP/2003 corp files to remove eula on desktop)
smss.exe
spcmdcon.sys
sysparse.exe
telnet.exe
txtsetup.sif
usetup.exe

Quote

windows.cab(you can use LH4051 x64 version files , it's really null)
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

rtcapi.dll  <--------System.Collaboration.dll
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
7)copy XP/2003 CD \i386\daw
\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

[Version]
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"


Posted Image


#2 User is offline   MStest 

  • Member
  • PipPip
  • Group: Members
  • Posts: 108
  • Joined: 06-November 03

Posted 22 December 2003 - 01:02 AM

If you use Longhorn For PDC( idx build ) , it maybe eat 400M memory normally
:)
Now I tweak it lite and fast (only 130M)!

#3 User is offline   gosh 

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

Posted 22 December 2003 - 04:25 AM

INstead of copying smss.exe to system32 you should copy usetup.exe. XP setup runs usetup.exe which is renamed as smss.exe.

You also didn't say to copy the ASMS folder from XP cd to the i386 folder.

How did you get the longhorn billboards? When i copy longhorn's x64 billboards i get an error.

Great work MSTest

-gosh

#4 User is offline   MStest 

  • Member
  • PipPip
  • Group: Members
  • Posts: 108
  • Joined: 06-November 03

Posted 22 December 2003 - 04:57 AM

gosh, on Dec 22 2003, 04:25 AM, said:

INstead of copying smss.exe to system32 you should copy usetup.exe.  XP setup runs usetup.exe which is renamed as smss.exe.

You also didn't say to copy the ASMS folder from XP cd to the i386 folder.

How did you get the longhorn billboards?  When i copy longhorn's x64 billboards i get an error.

Great work MSTest

-gosh

Ohyeah ,U're right about "usetup.exe----->smss.exe"

Longhorn needn't use \asms folder but it use asms01.cab(like windows server 2003),"asms01.cab"(you can use LH4051 x64 version files)

What's error When you copy longhorn's x64 billboards ?
can you post screenshot?

#5 User is offline   GreenMachine 

  • ineXPlicable
  • Group: Developers
  • Posts: 3,062
  • Joined: 22-August 03

Posted 22 December 2003 - 05:05 AM

Why is this in the "Unattended" Forum? There is a LONGHORN forum for this.

#6 User is offline   DaveXP 

  • The One
  • PipPipPipPipPipPip
  • Group: Members
  • Posts: 1,295
  • Joined: 15-July 03

Posted 22 December 2003 - 05:23 AM

did anyone else find that the Start Menu is frozzen for some time @ start up

#7 User is offline   MStest 

  • Member
  • PipPip
  • Group: Members
  • Posts: 108
  • Joined: 06-November 03

Posted 22 December 2003 - 05:33 AM

DaveXP, on Dec 22 2003, 05:23 AM, said:

did anyone else find that the Start Menu is frozzen for some time @ start up

Not at me, but IE download didn't work and explorer memory is still leak sometime

#8 User is offline   vaughaag 

  • Member
  • PipPip
  • Group: Members
  • Posts: 157
  • Joined: 22-December 03

Posted 09 January 2004 - 02:34 PM

MStest, on Dec 22 2003, 06:59 AM, said:

6) compress all files on \LH4051\temp\i386 to \LH4051\i386
by use "compress -r -d \LH4051\temp\i386\*.* \LH4051\i386 "

How do you compress the folder/files, what program do you use?

#9 User is offline   Alanoll 

  • CODE tags people, CODE tags!
  • Group: Patrons
  • Posts: 5,496
  • Joined: 25-September 03

Posted 09 January 2004 - 03:56 PM

he used compress obviously.

try makecab instead. might do the samething. makecab is included with WinXP

#10 User is offline   vaughaag 

  • Member
  • PipPip
  • Group: Members
  • Posts: 157
  • Joined: 22-December 03

Posted 09 January 2004 - 04:16 PM

Nice one got it thanks

#11 User is offline   Screwz Luse 

  • Member
  • PipPip
  • Group: Members
  • Posts: 158
  • Joined: 19-November 03

Posted 10 February 2004 - 09:20 PM

I'm curious if anyone could make a batch file to do most of this. I'm kinda lost at certain points when trying this so a batch file would be awesome. Just a thought.

#12 User is offline   scp 

  • Junior
  • Pip
  • Group: Members
  • Posts: 84
  • Joined: 23-March 04

Posted 31 March 2004 - 02:41 PM

gosh, on Dec 22 2003, 04:25 AM, said:

How did you get the longhorn billboards?  When i copy longhorn's x64 billboards i get an error.

I have found the billboards in I386 of my Longhorn installation (I cancelled it directly after Step 2), they are not updated, its the text from Windows XP Pro.

#13 User is offline   scp 

  • Junior
  • Pip
  • Group: Members
  • Posts: 84
  • Joined: 23-March 04

Posted 02 April 2004 - 06:35 PM

Here is some additional info I found during my trials:

- If you want to use all (or more as described here) of the components, you need to rename more files in I386 and in Framework folder. I have created two batch files which do this automatically. You found them in the attached .zip file.

- renlfn.cmd is for the I386 folder and must be executed AFTER you have compressed the files.

- rennetfx.cmd is for the Framework folder.

- For the .NET framework you must rename "regsvcs.exe.config" in folder "v1.0.3705" to "regsvcs.exe.rtm.config" BEFORE you copy all files in one folder. And you must copy additional files from your Longhorn installation to the Framework folder.
From SYSTEM32:
dfshim.dll
MSCOREE.DLL
MSCORIER.DLL
MSCORIES.DLL
NETFXPERF.DLL

From SYSTEM32\MUI\0409:
MSCOREER.DLL

- For the MSN Messenger you must create a folder named "Messenger" and copy all the files from \Program Files\Messenger to it. Then compress these files to mmssetup.cab

cabarc -r -p -m LZX:21 N mmssetup.cab *.*


After that copy mmssetup.cab to the I386 folder.

Additional notes:

06.04.2004:
- For WinFS you need to copy and compress the following additional files from system32\WinFS\Data to I386:
MASTER.MDF
MASTLOG.LDF
MODEL.MDF
MODELLOG.LDF

Attached File(s)



#14 User is offline   scp 

  • Junior
  • Pip
  • Group: Members
  • Posts: 84
  • Joined: 23-March 04

Posted 05 April 2004 - 06:34 PM

Now I might have found all files for a full installation. But properly two things are not working:

- I can only use the key found in UNATTEND.TXT of the sysprep folder, the real one don't works (I know there is a different PIDGEN.DLL and SETUPP.INI in Sources dir of the original CD-ROM but if I copy this to I386, LH login don't works).

- On first boot I don't see the start menu bar, only if I disable sidebar and reboot.


Does anyone have expirience with a full (or better) working repack?

#15 User is offline   scp 

  • Junior
  • Pip
  • Group: Members
  • Posts: 84
  • Joined: 23-March 04

Posted 10 April 2004 - 05:36 PM

Now here are the final required files for a complete Longhorn (tested with 4051 and 4053):

- Instead of using asms01.cab from 4051 AMD64 you should compress the whole WinSxS folder to asms01.cab
 cabarc -r -p -m LZX:21 N ..\asms01.cab *.*


- Some files in WINDOWS\assembly are missing, so you have to get them manually (you can use the $OEM$\$$ folder in combination with unattended installation to copy this files automatically during the installation)

o Copy these complete folders from assembly\gac_32 (to $OEM$\$$\assembly\gac_32):
ActiveContentWizard
AudioPolicyProxy
HelpNative
mgutil
Microsoft.Windows.IsolationCPP
NaturalLanguageServices
System.Configuration.Settings
System.Printing


o Copy these complete folders from assembly\gac_neutral (to $OEM$\$$\assembly\gac_neutral)
ActiveContentWizard.Util
Audio.OldLibrary
devmodellib
emailwiz
ExchangeSyncInvoker
FontCacheService
gctrlsvc
mgcore
mgmediam
Microsoft.Config.Utility
Microsoft.ExchangeSyncAdapter
Microsoft.ExchangeSyncHandler
Microsoft.Help.NuiMPM
Microsoft.HelpActionObjects
Microsoft.Printing.JobTicketDeviceCap
Microsoft.RightsManagement.RmClient
Microsoft.SecCacheSyncAdapter
Microsoft.SqlServer.NotificationServices
Microsoft.Uddi
Microsoft.Windows.ActiveDirectorySync
Microsoft.Windows.EventTracing
Microsoft.Windows.Isolation
Microsoft.Windows.IsolationService
Microsoft.Windows.Samples.HelloWorld
Microsoft.Windows.SamWfsDispatch
Microsoft.Windows.SyncMan.Interop
Microsoft.Windows.UseIsolation
Microsoft.Windows.WinFS2WinFSSyncHandler
mscorlib
MSEnterpriseDiscovery
msh             (since 4053)
msh.resources   (since 4053)
MSHomeDiscovery
MSINSTRU
MSJOBS
MSLearn
MSSDPersistence
MSServiceDiscovery
Multimedia.Tasks
Multimedia.UI
NSService
ophotowz
ProofingService
roverrcw
rovrmrcw
sessnmgr
summarization
syncdrcw
System.Diagnostics.Events
System.Help
System.Help.Canvas
System.Help.Pane
System.Management                                            (since 4053)
System.Management.Automation.Commands.Directory              (since 4053)
System.Management.Automation.Commands.Directory.resources    (since 4053)
System.Management.Automation.Commands.Management             (since 4053)
System.Management.Automation.Commands.Management.resources   (since 4053)
System.Management.Automation.Commands.Security               (since 4053)
System.Management.Automation.Commands.Security.resources     (since 4053)
System.Management.Automation.Commands.Utility                (since 4053)
System.Management.Automation.Commands.Utility.resources      (since 4053)
System.Management.Automation.Config                          (since 4053)
System.Management.Automation.Config.resources                (since 4053)
System.Management.Automation.Core                            (since 4053)
System.Management.Automation.Core.resources                  (since 4053)
System.Management.Automation.Help                            (since 4053)
System.Management.Automation.Help.resources                  (since 4053)
System.Net.PeerToPeer
System.Search
System.Search.Monitoring
System.Search.Transport
System.Speech
System.Storage
System.Storage.Schemas
System.Storage.Synchronization
System.Storage.Synchronization.Scheduling
System.Storage.Synchronization.WinFSSyncHandler
wevtviewer
wfssexec
WindowsEventForwardingService
WindowsHooks
WinfsSync


#16 User is offline   Wiseman-osdc 

  • Group: Members
  • Posts: 6
  • Joined: 15-April 04

Posted 15 April 2004 - 08:56 PM

i follow mstest guide to make a batch file
is there anything wrong :)

Quote

@echo off
echo Microsoft Windows Codename Longhorn #4051 Lite Maker
echo
echo please press any key to start
echo WARNING!IT WILL DESTROY YOUR SYSTEM IF YOU PLACE IT IN WRONG DRIVE PATH!!!
pause
echo start to making folders....please press any key
pause
md LH4051
md LH4051\i386
md LH4051\i386\system32
md LH4051\temp
echo start to copying files....please press any key
pause
xcopy windows\i386 LH4051\temp\i386 /e
xcopy windows\Microsoft.NET\Framework \LH4051\temp\Microsoft.NET\Framework /e

del LH4051\temp\i386\lang /s /q /f
xcopy LH4051\temp\i386\autochk.exe LH4051\i386
xcopy LH4051\temp\i386\autofmt.exe LH4051\i386
xcopy LH4051\temp\i386\bootfix.bin LH4051\i386
xcopy LH4051\temp\i386\cabinet.dll LH4051\i386
xcopy LH4051\temp\i386\clfs.sys LH4051\i386
xcopy LH4051\temp\i386\dbgeng.dll LH4051\i386
xcopy LH4051\temp\i386\dbghelp.dl LH4051\i386l
xcopy LH4051\temp\i386\docs.cab LH4051\i386
xcopy LH4051\temp\i386\dosnet.inf LH4051\i386
xcopy LH4051\temp\i386\dotnetpe.cab LH4051\i386
xcopy LH4051\temp\i386\driver.cab LH4051\i386
xcopy LH4051\temp\i386\drvindex.inf LH4051\i386
xcopy LH4051\temp\i386\drvmain.sdb LH4051\i386
xcopy LH4051\temp\i386\eula.txt LH4051\i386
xcopy LH4051\temp\i386\expand.exe LH4051\i386
xcopy LH4051\temp\i386\fp50ext.cab LH4051\i386
xcopy LH4051\temp\i386\gpscript.exe LH4051\i386
xcopy LH4051\temp\i386\helpcab.cab LH4051\i386
xcopy LH4051\temp\i386\hwdb.dll LH4051\i386
xcopy LH4051\temp\i386\imagehlp.dll LH4051\i386
xcopy LH4051\temp\i386\ims.cab LH4051\i386
xcopy LH4051\temp\i386\ims.cat LH4051\i386
xcopy LH4051\temp\i386\intl.inf LH4051\i386
xcopy LH4051\temp\i386\kbd101.dll LH4051\i386
xcopy LH4051\temp\i386\kbd101a.dll LH4051\i386
xcopy LH4051\temp\i386\kbd106n.dll LH4051\i386
xcopy LH4051\temp\i386\kbda1.dll LH4051\i386
xcopy LH4051\temp\i386\kbda2.dll LH4051\i386
xcopy LH4051\temp\i386\kbda3.dll LH4051\i386
xcopy LH4051\temp\i386\kbdal.dll LH4051\i386
xcopy LH4051\temp\i386\kbdarme.dll LH4051\i386
xcopy LH4051\temp\i386\kbdarmw.dll LH4051\i386
xcopy LH4051\temp\i386\kbdax2.dll LH4051\i386
xcopy LH4051\temp\i386\kbdaze.dll LH4051\i386
xcopy LH4051\temp\i386\kbdazel.dll LH4051\i386
xcopy LH4051\temp\i386\kbdbe.dll LH4051\i386
xcopy LH4051\temp\i386\kbdbene.dll LH4051\i386
xcopy LH4051\temp\i386\kbdblr.dll LH4051\i386
xcopy LH4051\temp\i386\kbdbr.dll LH4051\i386
xcopy LH4051\temp\i386\kbdbu.dll LH4051\i386
xcopy LH4051\temp\i386\kbdca.dll LH4051\i386
xcopy LH4051\temp\i386\kbdcan.dll LH4051\i386
xcopy LH4051\temp\i386\kbdcr.dll LH4051\i386
xcopy LH4051\temp\i386\kbdcz.dll LH4051\i386
xcopy LH4051\temp\i386\kbdcz1.dll LH4051\i386
xcopy LH4051\temp\i386\kbdcz2.dll LH4051\i386
xcopy LH4051\temp\i386\kbdda.dll LH4051\i386
xcopy LH4051\temp\i386\kbddiv1.dll LH4051\i386
xcopy LH4051\temp\i386\kbddiv2.dll LH4051\i386
xcopy LH4051\temp\i386\kbddv.dll LH4051\i386
xcopy LH4051\temp\i386\kbdes.dll LH4051\i386
xcopy LH4051\temp\i386\kbdest.dll LH4051\i386
xcopy LH4051\temp\i386\kbdfa.dll LH4051\i386
xcopy LH4051\temp\i386\kbdfc.dll LH4051\i386
xcopy LH4051\temp\i386\kbdfi.dll LH4051\i386
xcopy LH4051\temp\i386\kbdfo.dll LH4051\i386
xcopy LH4051\temp\i386\kbdfr.dll LH4051\i386
xcopy LH4051\temp\i386\kbdgae.dll LH4051\i386
xcopy LH4051\temp\i386\kbdgeo.dll LH4051\i386
xcopy LH4051\temp\i386\kbdgkl.dll LH4051\i386
xcopy LH4051\temp\i386\kbdgr.dll LH4051\i386
xcopy LH4051\temp\i386\kbdgr1.dll LH4051\i386
xcopy LH4051\temp\i386\kbdhe.dll LH4051\i386
xcopy LH4051\temp\i386\kbdhe220.dll LH4051\i386
xcopy LH4051\temp\i386\kbdhe319.dll LH4051\i386
xcopy LH4051\temp\i386\kbdheb.dll LH4051\i386
xcopy LH4051\temp\i386\kbdhela2.dll LH4051\i386
xcopy LH4051\temp\i386\kbdhela3.dll LH4051\i386
xcopy LH4051\temp\i386\kbdhept.dll LH4051\i386
xcopy LH4051\temp\i386\kbdhu.dll LH4051\i386
xcopy LH4051\temp\i386\kbdhu1.dll LH4051\i386
xcopy LH4051\temp\i386\kbdibm02.dll LH4051\i386
xcopy LH4051\temp\i386\kbdic.dll LH4051\i386
xcopy LH4051\temp\i386\kbdindev.dll LH4051\i386
xcopy LH4051\temp\i386\kbdinguj.dll LH4051\i386
xcopy LH4051\temp\i386\kbdinhin.dll LH4051\i386
xcopy LH4051\temp\i386\kbdinkan.dll LH4051\i386
xcopy LH4051\temp\i386\kbdinmar.dll LH4051\i386
xcopy LH4051\temp\i386\kbdinpun.dll LH4051\i386
xcopy LH4051\temp\i386\kbdintam.dll LH4051\i386
xcopy LH4051\temp\i386\kbdintel.dll LH4051\i386
xcopy LH4051\temp\i386\kbdir.dll LH4051\i386
xcopy LH4051\temp\i386\kbdit.dll LH4051\i386
xcopy LH4051\temp\i386\kbdit142.dll LH4051\i386
xcopy LH4051\temp\i386\kbdkaz.dll LH4051\i386
xcopy LH4051\temp\i386\kbdkyr.dll LH4051\i386
xcopy LH4051\temp\i386\kbdla.dll LH4051\i386
xcopy LH4051\temp\i386\kbdlk41a.dll LH4051\i386
xcopy LH4051\temp\i386\kbdlk41j.dll LH4051\i386
xcopy LH4051\temp\i386\kbdlt.dll LH4051\i386
xcopy LH4051\temp\i386\kbdlt1.dll LH4051\i386
xcopy LH4051\temp\i386\kbdlv.dll LH4051\i386
xcopy LH4051\temp\i386\kbdlv1.dll LH4051\i386
xcopy LH4051\temp\i386\kbdmac.dll LH4051\i386
xcopy LH4051\temp\i386\kbdmon.dll LH4051\i386
xcopy LH4051\temp\i386\kbdne.dll LH4051\i386
xcopy LH4051\temp\i386\kbdnec.dll LH4051\i386
xcopy LH4051\temp\i386\kbdnec95.dll LH4051\i386
xcopy LH4051\temp\i386\kbdnecat.dll LH4051\i386
xcopy LH4051\temp\i386\kbdnecnt.dll LH4051\i386
xcopy LH4051\temp\i386\kbdno.dll LH4051\i386
xcopy LH4051\temp\i386\kbdpl.dll LH4051\i386
xcopy LH4051\temp\i386\kbdpl1.dll LH4051\i386
xcopy LH4051\temp\i386\kbdpo.dll LH4051\i386
xcopy LH4051\temp\i386\kbdro.dll LH4051\i386
xcopy LH4051\temp\i386\kbdru.dll LH4051\i386
xcopy LH4051\temp\i386\kbdru1.dll LH4051\i386
xcopy LH4051\temp\i386\kbdsf.dll LH4051\i386
xcopy LH4051\temp\i386\kbdsg.dll LH4051\i386
xcopy LH4051\temp\i386\kbdsl.dll LH4051\i386
xcopy LH4051\temp\i386\kbdsl1.dll LH4051\i386
xcopy LH4051\temp\i386\kbdsp.dll LH4051\i386
xcopy LH4051\temp\i386\kbdsw.dll LH4051\i386
xcopy LH4051\temp\i386\kbdsyr1.dll LH4051\i386
xcopy LH4051\temp\i386\kbdsyr2.dll LH4051\i386
xcopy LH4051\temp\i386\kbdtat.dll LH4051\i386
xcopy LH4051\temp\i386\kbdth0.dll LH4051\i386
xcopy LH4051\temp\i386\kbdth1.dll LH4051\i386
xcopy LH4051\temp\i386\kbdth2.dll LH4051\i386
xcopy LH4051\temp\i386\kbdth3.dll LH4051\i386
xcopy LH4051\temp\i386\kbdtuf.dll LH4051\i386
xcopy LH4051\temp\i386\kbdtuq.dll LH4051\i386
xcopy LH4051\temp\i386\kbduk.dll LH4051\i386
xcopy LH4051\temp\i386\kbdur.dll LH4051\i386
xcopy LH4051\temp\i386\kbdurdu.dll LH4051\i386
xcopy LH4051\temp\i386\kbdus.dll LH4051\i386
xcopy LH4051\temp\i386\kbdusa.dll LH4051\i386
xcopy LH4051\temp\i386\kbdusl.dll LH4051\i386
xcopy LH4051\temp\i386\kbdusr.dll LH4051\i386
xcopy LH4051\temp\i386\kbdusx.dll LH4051\i386
xcopy LH4051\temp\i386\kbduzb.dll LH4051\i386
xcopy LH4051\temp\i386\kbdvntc.dll LH4051\i386
xcopy LH4051\temp\i386\kbdycc.dll LH4051\i386
xcopy LH4051\temp\i386\kbdycl.dll LH4051\i386
xcopy LH4051\temp\i386\ksecdd.sys LH4051\i386
xcopy LH4051\temp\i386\layout.inf LH4051\i386
xcopy LH4051\temp\i386\mglegacy.cab LH4051\i386
xcopy LH4051\temp\i386\mmssetup.cab LH4051\i386
xcopy LH4051\temp\i386\monsrv.cab LH4051\i386
xcopy LH4051\temp\i386\msrdp.cab LH4051\i386
xcopy LH4051\temp\Microsoft.NET\Framework LH4051\temp\dotnettemp /e
LH4051\temp\3rdpart-program\Cabsdk\BIN\cabarc.exe -r -p NLZX:21 LH4051\i386\netfx.cab LH4051\temp\dotnettemp\*.*
xcopy LH4051\temp\i386\netsetup.exe LH4051\i386
xcopy LH4051\temp\i386\noise.chs LH4051\i386
xcopy LH4051\temp\i386\noise.cht LH4051\i386
xcopy LH4051\temp\i386\ntdetect.com LH4051\i386
xcopy LH4051\temp\i386\ntdll.dll LH4051\i386
xcopy LH4051\temp\i386\ntfs.sys LH4051\i386
xcopy LH4051\temp\i386\ntldr LH4051\i386
xcopy LH4051\temp\i386\ntoskrnl.exe LH4051\i386
xcopy LH4051\temp\i386\ntprint.cat LH4051\i386
xcopy LH4051\temp\i386\ntprint.inf LH4051\i386
xcopy LH4051\temp\i386\ntsd.exe LH4051\i386
xcopy LH4051\temp\i386\osc.cab LH4051\i386
xcopy LH4051\temp\i386\pidgen.dll LH4051\i386
xcopy LH4051\temp\i386\prodspec.ini LH4051\i386
xcopy LH4051\temp\i386\progs.cab LH4051\i386
xcopy LH4051\temp\i386\progsx86.cab LH4051\i386
xcopy LH4051\temp\i386\regedit.exe LH4051\i386
xcopy LH4051\temp\i386\rmclient.cab LH4051\i386
xcopy LH4051\temp\i386\setupacc.txt LH4051\i386
xcopy LH4051\temp\i386\setupldr.bin LH4051\i386
xcopy LH4051\temp\i386\setupp.ini LH4051\i386
xcopy LH4051\temp\i386\wsdu.dll LH4051\i386
xcopy LH4051\temp\i386\wsdueng.dll LH4051\i386
xcopy LH4051\i386\ntdll.dll LH4051\i386\system32
xcopy LH4051\i386\smss.exe  LH4051\i386\system32
xcopy LH4051\temp\temp-i386\*.* LH4051\i386 /e
xcopy LH4051\temp\temp-mainpath\*.*  LH4051\ /e
echo start to compress all files....please press any key
pause
compress.exe -r -d \LH4051\temp\i386 \LH4051\i386
echo done....please press any key to exit
pause
PS:Here is some detials:
temp-i386
Posted Image
temp-mainpath
Posted Image


and i have trouble with that Microsoft Compress Utility :rolleyes:
it said:

Quote

Microsoft ® File Compression Utility  Version 2.00
Copyright © Microsoft Corp. 1990-1992.  All rights reserved.

Unrecognized switch -d.



PS:ReflectiaX tell me use makecab.exe not compress.exe but i don't know how to use makecab

anybody can help me :D

#17 User is offline   deedwar 

  • Group: Members
  • Posts: 9
  • Joined: 30-March 04

Posted 16 April 2004 - 07:27 AM

Hello there Wiseman-osdc i had a bit of a look at your batch there. You do need to edit the
"compress.exe -r -d \LH4051\temp\i386 \LH4051\i386" and change it to
"compress.exe -r -d \LH4051\temp\i386\*.* \LH4051\i386"
and as for the "-d" switch your having issues with if you dont have the latest "compress.exe" file it will give you that error.
If you have XPCREATE anywhere that has an updated compress.exe or at least mine did anyhow.

Also probably best if you changed the line "LH4051\temp\3rdpart-program\Cabsdk\BIN\cabarc.exe -r -p NLZX:21 LH4051\i386\netfx.cab LH4051\temp\dotnettemp\*.*" to just
"cabarc.exe -r -p NLZX:21 LH4051\i386\netfx.cab LH4051\temp\dotnettemp\*.*" and made sure the cabarc.exe file was in the root with the batch file.

But good going i think.

#18 User is offline   toreach 

  • Junior
  • Pip
  • Group: Members
  • Posts: 59
  • Joined: 18-March 04

Posted 29 April 2004 - 02:07 PM

could anyone tell me what to change in setup.exe? Plz? :)

#19 User is offline   scp 

  • Junior
  • Pip
  • Group: Members
  • Posts: 84
  • Joined: 23-March 04

Posted 26 May 2004 - 10:01 AM

Simply open setup.exe with a resource editor and change under "Strings" all entries containing "sources\\setup.exe" to "i386\\winnt32.exe".

#20 User is offline   scp 

  • Junior
  • Pip
  • Group: Members
  • Posts: 84
  • Joined: 23-March 04

Posted 02 June 2004 - 04:35 PM

- To enable installing of the Recovery Console (winnt32.exe /cmdcons)
you must use winnt*.exe and winnt*.dll from XP/2003 and edit DOSNET.INF:

Change the following lines
[RootBootFiles]
d1,txtsetup.sif
d1,setupldr.bin,$LDR$
d1,ntdetect.com
d1,ntldr

to this one:
[RootBootFiles]
txtsetup.sif
setupldr.bin,$LDR$
ntdetect.com
ntldr

In Section [CmdConsFiles] add this two lines:
fltmgr.sys
wimfsf.sys

- If you use the WINNTUPG folder and the winnt*.* files from different Windows Versions,
make sure that you place NETUPGRD.DLL in folder WINNTUPG (take it from the same source as the winnt*.* files)

Share this topic:


  • 2 Pages +
  • 1
  • 2
  • 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