moochoo Posted July 13, 2004 Share Posted July 13, 2004 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!!!!!! Link to comment Share on other sites More sharing options...
airmr Posted July 13, 2004 Share Posted July 13, 2004 Use: $OEM$\1$\install Link to comment Share on other sites More sharing options...
moochoo Posted July 13, 2004 Author Share Posted July 13, 2004 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? Link to comment Share on other sites More sharing options...
pastl Posted July 13, 2004 Share Posted July 13, 2004 Use: $OEM$\$1\install$OEM$\$1 <----means Systemdrive$OEM\$$ <-----means win directory Link to comment Share on other sites More sharing options...
moochoo Posted July 13, 2004 Author Share Posted July 13, 2004 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. Link to comment Share on other sites More sharing options...
Aaron Posted July 13, 2004 Share Posted July 13, 2004 Is OemPreinstall=Yes in winnt.sif under [unattended]? Link to comment Share on other sites More sharing options...
moochoo Posted July 13, 2004 Author Share Posted July 13, 2004 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 Link to comment Share on other sites More sharing options...
yong2579 Posted July 13, 2004 Share Posted July 13, 2004 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. Link to comment Share on other sites More sharing options...
moochoo Posted July 13, 2004 Author Share Posted July 13, 2004 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 :/ Link to comment Share on other sites More sharing options...
yong2579 Posted July 14, 2004 Share Posted July 14, 2004 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 Link to comment Share on other sites More sharing options...
lloydspnm Posted July 14, 2004 Share Posted July 14, 2004 Shouldn't $1 be under $OEM$i.e\I386\$OEM$\$1\Install\batchfile.cmd Link to comment Share on other sites More sharing options...
mazin Posted July 23, 2004 Share Posted July 23, 2004 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. 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