newsposter Posted March 27, 2008 Share Posted March 27, 2008 (edited) Nuhi, do you think it would be possible to have an nlite setting that would:- copy i386 from the CD/DVD to c: and- set all of the 'sourcepath' registry variables to point to c:\i386thanks! Edited March 27, 2008 by newsposter Link to comment Share on other sites More sharing options...
tap52384 Posted March 27, 2008 Share Posted March 27, 2008 That's not a bad feature, but this can be done with a single CMD script (I use a separated registry file, however). The way I currently do it is set a command in cmdlines.txt that points a .reg file and the cmd script to copy the files:CMDLINES.TXT:[COMMANDS]"REGEDIT /S i386copy.reg""i386copy.cmd"EXITi386copy.reg:Windows Registry Editor Version 5.00[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Setup]"SourcePath"="%systemroot%\\i386\\""ServicePackSourcePath"="%systemroot%\\i386\\"i386copy.cmd:@ECHO OFFfor %%i in (C D E F G H I J K L M N O P Q R S T U V W X Y Z) do if exist %%i:\WIN51IP set CDROM=%%i:ECHO Please wait, Recovery Console is being installed locally.%CDROM%\i386\winnt32.exe /dudisable /cmdcons /unattendmkdir %systemroot%\i386ECHO Please wait, source files are being copied. This may take several minutes.xcopy /e/h/f/v/c/y/z %CDROM%\i386\*.* %systemroot%\i386\ECHO Adding registry entries.regedit.exe /s %CDROM%\$OEM$\i386copy.regECHO Done.EXITNote: My i386copy.cmd also installs the Recovery Console. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now