July 13, 200422 yr I seem to be having a few problems with the runonce command.I copied over my files into the $OEM$\1$\install$ directory and assumed both these files got copied over toc:\installduring installation, so under runonce i had the command [GuiRunOnce] c:\install\batch_file.cmdbut on first boot i receive an error message saying unable to find batch_file.cmd.did i read the documentation wrong and the files are not copied over?im sure im missing something simple, help please!!!!!!
July 13, 200422 yr Author no idea why i tagged that $ sign on the end of install, was a typo on the forum post does not appear like that on my disc.\I386\$OEM$\$1\installis how it appears, any ideas?
July 13, 200422 yr Use: $OEM$\$1\install$OEM$\$1 <----means Systemdrive$OEM\$$ <-----means win directory
July 13, 200422 yr Author the problem is the files are just not copied over [this is windows2000 btw]i will try and go into more detail see if you guys can pick out the problemmy file structure is as followsi386 $OEM$ $1 install -> batch_file.cmd, file.exemy winnt.sif has the following line [GuiRunOnce] c:\install\batch_file.cmdand my batch file is as followscopy "c:\install\file.exe" "c:\documents and settings\all users\desktop"now on first boot i receive the error "batch_file.cmd cannot be found" and it appears no files from my install directory are copied over to c:\install.
July 13, 200422 yr Author indeed it is ill paste my full winnt.sif;SetupMgrTag[Data] AutoPartition=1 MsDosInitiated="0" UnattendedInstall="Yes"[Unattended] UnattendMode=FullUnattended Repartition=Yes OemSkipEula=Yes OemPreinstall=Yes DriverSigningPolicy=Ignore KeyboardLayout="United Kingdom"[GuiUnattended] AdminPassword=****************** AutoLogon=Yes AutoLogonCount=1 OEMSkipRegional=1 TimeZone=85 OemSkipWelcome=1[UserData] FullName="Rossington All Saints" OrgName=RAS ComputerName=* ProductID="********************"[TapiLocation] CountryCode=44[Identification] JoinWorkgroup=WORKGROUP[Networking] InstallDefaultComponents=Yes [GuiRunOnce] c:\install\batch_file.cmd
July 13, 200422 yr Hey i'm not sure if this is true for you, but i realise for my case i need to name the batch file under a 8.3 format like XXXXXXXX.XXX instead of long XXXXXXXXXXXXXXXXXXXXXX.XXX. If i name the long way, windows can't find the file.
July 13, 200422 yr Author none of the files from the install directory copy over, so no c:\install is created.im assuming ive placed something in the wrong folder but i cant figure out what :/
July 14, 200422 yr From wat i heard, if you are installing from CD, the $oem$ must be in parallel to i386 instead of inside i386$oem$i386instead ofi386\$oem$http://unattended.msfn.org/xp/oemfolders.htm
July 23, 200422 yr Shouldn't $1 be under $OEM$i.e\I386\$OEM$\$1\Install\batchfile.cmdThis structure works for me:http://unattended.msfn.org/xp/oemfolders.htmAnd, yes, keep the 8.3 rule in your batch name.
Create an account or sign in to comment