January 3, 200620 yr HiI'm trying to use a vanilla XP an a floppy with a winnt.sif. Where should I place cmdlines.txt so it get's executed when doing a installation. Edited January 3, 200620 yr by THXTEX
January 3, 200620 yr I think you mean cmdlines.txt. In order to parse cmdlines.txt you need to have your source on a network share (or local hard drive) or a customized CD. You might be able to accomplish what you want using autologin and guirunonce. Edited January 3, 200620 yr by Bezalel
January 3, 200620 yr Author I think you mean cmdlines.txt.Ups, you are right about that.I need to make reg-tweaks to the default profile, so these must be made at before guirunonce.I have a self-extracting WinRAR archive that extracts to %systemdrive%/OEM, which is run from presetupcmd. The SFX afterwards calls the AutoIT script that installs drivers. So basicly i could put the "cmdlines.txt" in this directory aswell. But I don't think that the installer sees this as the $OEM$ folder. (Maybe $OEM$ isn't used when using a floppy).
January 3, 200620 yr I was wrong in my previous post. According to the documentation you can use the OemFilesPath in the [unattended] section the specify where your $OEM$ directory is located. Try the following:[Unattended]OemFilesPath="A:"Make sure your cmdlines.txt is located in A:\$OEM$\cmdlines.txtSetupParams might also work for you.
January 3, 200620 yr Author [Unattended]OemFilesPath="A:"Nope, it didn't work. I was thinking.... are files at this place limited to 8.3?BTW: This is my winnt.sif;SetupMgrTag[Data] AutomaticUpdates = Yes AutoPartition = 0 MsDosInitiated = 0 UnattendedInstall = Yes[Unattended] UnattendSwitch = Yes UnattendMode = FullUnattended OemFilesPath = "A:" OemSkipEula = Yes OemPreinstall = No TargetPath = \Windows ProgramFilesDir = "C:\Programmer" Repartition = No WaitForReboot = No AutoActivate = No Hibernation = No Filesystem = LeaveAlone KeyboardLayout = Danish[GuiUnattended] DetachedProgram = "a:\OEM.exe" ; WinRAR sfx that extracts some files to %systemdrive%\oem\ ; executed in [GuiRunOnce] AdminPassword = "************" EncryptedAdminPassword = No AutoLogon = Yes AutoLogonCount = 1 OEMSkipRegional = 1 TimeZone = 105 OemSkipWelcome = 1 ProfilesDir = "%SystemDrive%\Documents and Settings\"[UserData] ProductKey = "*****-*****-*****-*****" FullName = "****** *****" OrgName = "*******" ComputerName = ********[Display] BitsPerPel = 32 Vrefresh = 85 Xresolution = 800 Yresolution = 600[TapiLocation] CountryCode = 45[Identification] JoinWorkgroup = Arbejdsgruppe[Components]......[Shell] DefaultStartPanelOff = Yes DefaultThemesOff = Yes[Networking] InstallDefaultComponents=No[NetAdapters] Adapter1=params.Adapter1[params.Adapter1] INFID=*[NetClients] MS_MSClient=params.MS_MSClient[NetServices] MS_SERVER=params.MS_SERVER[NetProtocols] MS_TCPIP=params.MS_TCPIP[params.MS_TCPIP] DNS=No UseDomainNameDevolution=No EnableLMHosts=Yes AdapterSections=params.MS_TCPIP.Adapter1[params.MS_TCPIP.Adapter1] SpecificTo=Adapter1 DHCP=No IPAddress=192.168.0.22 SubnetMask=255.255.255.0 DefaultGateway=192.168.0.1 DNSServerSearchOrder=***.***.***.***,***.***.***.*** WINS=No NetBIOSOptions=0[Branding] BrandIEUsingUnattended=Yes[URL] Home_Page=http://www.newz.dk Search_Page=http://www.google.com[GuiRunOnce] Command0 = %SystemDrive%\OEM\RunOnce.bat
January 4, 200620 yr Maybe OemFilesPath = "A:\" or OemFilesPath = "A:\myfiles" would workThe first case cmdlines.txt goes in the top level of the floppy.The second it goes in a dir on the floppy called myfiles.
January 4, 200620 yr OemPreinstall must be yes when using the $OEM$ structure. When using the CD-Boot method you are not limited to 8.3.
January 4, 200620 yr Author Thanks for both your answers....OemFilesPath = "A:\" - Haven't tried this one. Will do it later today.OemFilesPath = "A:\myfiles" - I tried with OemFilesPath = "A:\$OEM$" and this didn't work.OemPreinstall = Yes - Tried this one aswell without success. Shouldn't this only be set to Yes when you need to copy files from your CD to the systemdrive?Anyway - I have another floppysetup with a winnt.sif which is simular to the one above, but with this part added.[MassStorageDrivers] "Intel(R) 82801ER SATA RAID Controller" = OEM[OEMBootFiles] Txtsetup.oem iaStor.inf iaStor.sys iaStor.catThe drivers are placed on the rootlevel of the floppy and this works perfectly, bit only if OemPreinstall is set to No. Maybe this can help. Edited January 4, 200620 yr by THXTEX
Create an account or sign in to comment