February 2, 200521 yr NOT using a CD install (for testing), I moved th $OEM$ folder under i386 on the distribution.I kick of the install with:\xpcd\i386\winnt.exe /u:\xpcd\i386\unattend.txt /s:\xpcd\i386\xpcd\i386\UNATTEND.TXT[Data]MsDosInitiated = "0"UnattendedInstall = "Yes"AutomaticUpdates=yes[unattended]Unattendmode=FullUnattendedOemSkipEula=YesOemPreinstall=YesTargetPath = *Filesystem = LeaveAloneWaitForReboot="No"OemPnPDriversPath = "Drivers\LSIU320;Drivers\NVIDIA"\xpcd\i386\$oem$\cmdlines.txt[COMMANDS]"pause""./REGEDIT /S %systemdrive%\install\regtwks.reg""./RunOnceEx.cmd""pause"As you can see, I put pause in there to see if it was running or not, and it is not.When the install is done, the files which are at the \xpcd\i386\$oem$\ level are NOT on the c drive, but items in $1 and $$ are.I am guessing this is another behavior difference bewteen installing from CD or a distribution? Is there a list of them somewhere? Marc
February 2, 200521 yr Good, it's working PROPERLY then.$OEM$ contents are NEVER copied over. The inside folders are (if they're the predefined folders)
February 2, 200521 yr Um.. ok.. Any idea why cmdlines.txt never runs?Thanks.Yes...1) remove the quotes, unnecessary (don't know if it matters though)2) Use BACKSLASHES instead of slashes, so \ instead of /
February 2, 200521 yr [COMMANDS]REGEDIT /S %systemdrive%\install\regtwks.regRunOnceEx.cmdthat should work
February 2, 200521 yr [COMMANDS]".\REGEDIT /S %systemdrive%\install\regtwks.reg"".\RunOnceEx.cmd"./ is NOT valid, as Bashrat pointed out.I recommend leaving the quotes however. and PAUSE does NOT work directly from CMDLINES.TXT, you must open a command prompt or similar.
February 2, 200521 yr [COMMANDS]".\REGEDIT /S %systemdrive%\install\regtwks.reg"".\RunOnceEx.cmd"./ is NOT valid, as Bashrat pointed out.I recommend leaving the quotes however. and PAUSE does NOT work directly from CMDLINES.TXT, you must open a command prompt or similar.Never seen those quotes, imo they're completely useless here...And I even didn't think any further about that PAUSE command You can't use there indeed...
February 2, 200521 yr Author OK, trying this:[COMMANDS]CMD /C pauseREGEDIT /S %systemdrive%\install\regtwks.reg"RunOnceEx.cmdCMD /C pauseWill report back in a few.Thanks!
February 2, 200521 yr If You Are Going To Try A Hard Drive InstalllTry ThisCmd I Use, must be in the same location as the source files.The Location Of The Source Files H:\XPCD-SP2-HD-InstallTempdive, is the location you want To Install Toecho offstart i386\winnt32.exe /noreboot /tempdrive:D: /unattend:winnt.sifCmdLines.txt[COMMANDS]"UserAcount.cmd""REGEDIT /S 000.reg""REGEDIT /S 020.reg""REGEDIT /S 040.reg""REGEDIT /S 060.reg""REGEDIT /S 080.reg""UaPrestart.cmd""RunOnceEx.cmd"
February 2, 200521 yr Author Your saying the directory you run winnt.exe (or winnt32.exe) matters??I see you cmdlines.txt has quotes.. BTW, I got the initial information on this from: MicrosoftAs you see, they use quotes and the "./" stuff.. Also use "pause" in the example.In my case, it looks like maybe cmdlines.txt is not being copied to the target disk? (rememeber, I am not doing a CD install).
February 2, 200521 yr 1\Save The Below As StartHD.cmdRe Edit To Match The Location You WantNow The Cmd echo offstart i386\winnt32.exe /noreboot /tempdrive:D: /unattend:winnt.sifModified Winnt.bat@rem SetupMgrTag@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\SETUP.exe set CDROM=%%iremrem This is a SAMPLE batch script generated by Setup Manager.rem If this script is moved from the location where it was generated, it may have to be modified.remset AnswerFile=.\winnt.sifset SetupFiles=%CDROM%:\i386.\i386\winnt32 /s:%SetupFiles% /unattend:%AnswerFile% /copysource:langNormal Winnt.sif Typo Error Normal Winnt.bat@rem SetupMgrTag @echo off for %%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\SETUP.exe set CDROM=%%irem rem This is a SAMPLE batch script generated by Setup Manager. rem If this script is moved from the location where it was generated, it may have to be modified. rem set AnswerFile=.\winnt.sif set SetupFiles=%CDROM%:\i386 %CDROM%:\i386\winnt32 /s:%SetupFiles% /unattend:%AnswerFile% /copysource:langI have Test Many Times And Never Had A FailureRemove By Gsm old post Edited April 28, 200620 yr by gunsmokingman
February 2, 200521 yr Normal Winnt.sif@rem SetupMgrTag @echo off for %%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\SETUP.exe set CDROM=%%i..... snip .....%CDROM%:\i386\winnt32 /s:%SetupFiles% /unattend:%AnswerFile% /copysource:langI've never seen a winnt.sif file with batch/cmd file entries!!!!I only thought it could contain stuff such as the following...[some section name]variable = valueplease point me to the resources that allow such stuff in winnt.sif. I'd be VERRRRY interested in learning this.
February 3, 200521 yr Author gunsmokingman; You keep saying to use winnt32.exe, but I am installing from DOS.I did the following:\xpcd\i386\winnt.exe /u:\xpcd\i386\unattend.txt /t:C: /s:\xpcd\i386And, it still did NOT run the cmdlines.txtI dont have a winnt.bat, besides.. when would this run?as of now, I still cant get it to work.
Create an account or sign in to comment