MisterD Posted April 24, 2008 Posted April 24, 2008 Sorry if I sound dumb at this but I'm pulling my hair out with dispair here.I've tried everything I can think of and I can't seem to find the exact answer to this problem.I'm using nLite to create the unattanded setup file.Created an $OEM$ folder.Using Virtual PC to test the image file and installationIn the $OEM$ folder I've put the usual basic security programs, i.e antivirus, firewall, antispyware, directx.In the winnt.sif file under [GuiRunOnce] I've triedCommand0=%systemdrive%\$oem$\start.cmdThen during windows setup get an error message "C:\$OEM$\start.cmd not found"So triedCommand0=%source%\$oem$\start.cmdAnd nothing happens at all.After installation completes, I did a search for the $OEM$ folder and it doesnt exist (enabled system files and folder view)Can someone please tell me what I'm doing wrong?Thank you so much.
Lost Soul Posted April 24, 2008 Posted April 24, 2008 (edited) well your problem is hereCommand0=%systemdrive%\$oem$\start.cmdeven though you create a $oem$ folder it dosnt mean a folder named $oem$ is being created in the system drive it just carrys files over to their proper locationstry omitting the $oem$ portion in your line like this and see if that works for youCommand0=%systemdrive%\start.cmd Edited April 24, 2008 by Lost Soul
MisterD Posted April 24, 2008 Author Posted April 24, 2008 Thanks for your reply.Wouldn't that mean that it would just be looking for files in the root directory i.e c:\ instead of an seperate folder?I thought the point of the $OEM$ folder was to copy its contents across to somewhere on the hard drive to install the files from there with a batch file?
Martin H Posted April 25, 2008 Posted April 25, 2008 Please read the MSFN unattended guide, as this is explained there in detail.
MisterD Posted April 25, 2008 Author Posted April 25, 2008 Please read the MSFN unattended guide, as this is explained there in detail.Gee I hadn't thought of THAT ONE!! You obviously haven't ready my post!I can't get it to work!.. Hense why this post.
Arie Posted April 25, 2008 Posted April 25, 2008 You obviously haven't read the Unattended Guide Click here for the page describing all this exactly. If you still have a question afterwards, please be specific as to what you don't understand in reference to the before mentioned web page.
MisterD Posted April 28, 2008 Author Posted April 28, 2008 No sh*t Shirlock!! Yes I HAVE read it.. THOROUGHLY...Yes I DO still get the same problem.I wasn't bloody born yesterday FFS! Sorry if I sound agressive, but I AM fed up of people saying "oh you haven't read it" when I CLEARLY have.. hense why I'm asking for some help.If you haven't got anything constructive to add, don't bother replying.I HAVE followed the instructions to the LETTER but it still doesn't work.. Hense why, again, I'm asking for some help.
YMatrix Posted April 28, 2008 Posted April 28, 2008 (edited) Hello MisterD!The $OEM$ folder is NOT copied during the setup.Arie correctly linked you to the guide, but if you say it isn't working it's probably because you didn't implement it right and not because you didn't read, so no need for aggression. As for what you are trying to do there are 2 possibilities: 1) Copying your programs to the HD and install from there 2) Running your programs from the installation CD.From your example I see that you chose option 1.The right way to implement it is to create under the $OEM$ folder another folder called $1. This folder tells the setup that all files and folders under it will be copied to the root directory where your OS was installed. under $1, create another folder (so you files won't be scattered around the root directory) for example "INSTALLS" and under this folder put all your programs:$OEM$ | | ------ $1 | | ------- INSTALLS | | Here you'll put your programsas for the command to run during [GuiRunOnce] :Command0=%systemdrive%\INSTALLS\start.cmdAnd that should do it! Edited April 28, 2008 by YMatrix
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