Duckfather Posted December 13, 2005 Share Posted December 13, 2005 Hi allI'm attempting to add OEM drivers to my CD. I've followed the section on the website entitled 'Drivers via CD' and am getting an error at the file copy stage of the install :-Setup cannot copy the file presetup.cmdI've edited txtsetup.sif as stated, placed all the relevant files in the I386 folder etc.Anyone got any ideas? Link to comment Share on other sites More sharing options...
druiddk Posted December 13, 2005 Share Posted December 13, 2005 Have you tried integrating the same driver trough nLite to see if that works? Link to comment Share on other sites More sharing options...
Duckfather Posted December 13, 2005 Author Share Posted December 13, 2005 I'm not using nLite as it doesn't seem to let me add any more drivers after I've added a few (ie started another nLite session at a later date and attempted to add more drivers) which I may need to do.Is there a way around this? Link to comment Share on other sites More sharing options...
Duckfather Posted December 14, 2005 Author Share Posted December 14, 2005 Anyone? Link to comment Share on other sites More sharing options...
a06lp Posted December 14, 2005 Share Posted December 14, 2005 Try this.Hasn't failed me yet. Link to comment Share on other sites More sharing options...
Duckfather Posted December 15, 2005 Author Share Posted December 15, 2005 I'll give it a try.One problem though. I can't find winnt.sif anywhere! I vaguely recall seeing it in the distant past, but I can't find it anywhere on any i386 source I have access to. Is it hidden in a .cab file?Andy Link to comment Share on other sites More sharing options...
Duckfather Posted December 15, 2005 Author Share Posted December 15, 2005 Ok. I posted before doing much research winnt.sif is the CD version of unattend.txt or answer.txt (or whatever you would like to call the answer file).Unfortunately, the version I'm writing here is intended to boot from either floppy, CD, USB drive or network and use an install source from either CD, USB drive or network. While I can call the answer file anything I want, actually having it in the i386 folder isn't cool for me as I have a DOS menu portion before the install that will overwrite portions of the answer file dependant on user input, and this is obviously not possible if on a CD (the idea being to provide a very customisable menu driven install for relatively none technical IT department members if required).Can this version be 'tweaked' to look at a none CD version of the answer file?Andy Link to comment Share on other sites More sharing options...
a06lp Posted December 15, 2005 Share Posted December 15, 2005 it doesn't matter where the answer file is. as long as it is being read during setup, it will call the drivers.cmd file, which will install the drivers... Link to comment Share on other sites More sharing options...
Duckfather Posted December 15, 2005 Author Share Posted December 15, 2005 (edited) I've attempted this method, following the instructions to the letter (unless I've been stoopid and done something wrong, which is a possibility ) and I don't see a batch file running at any point of the install I've cut and pasted the [GuiUnattended] section that should show the batch file and copied the zipped files to $OEM$ as suggested.I have a $OEM$\Drivers folder containing my drivers (in subfolders under this). I've even shortened all folder names to less than 8 chars just in case there are issues with 8.3 naming conventions. I still see nothing and no OEM drivers get installed.The only thing that I can see is definately different is that I have extra entries in [GuiUnattended] for the time zones, admin passwords etc. I've tried reming these out, but no joy.Any ideas as to what I'm doing wrong?What sets the %I and %J variables?Andy Edited December 15, 2005 by Duckfather Link to comment Share on other sites More sharing options...
a06lp Posted December 16, 2005 Share Posted December 16, 2005 the code you copied into guiunattended detects your cd/dvd drive, and finds drivers.cmd (the batch file) on it. Link to comment Share on other sites More sharing options...
Duckfather Posted December 23, 2005 Author Share Posted December 23, 2005 Ok, so I've found out why this wasn't working in the first place. My $oem$ folder wasn't being found, which hints at a bigger issue, as my $oem$ folder is now being seen, but the scripts still don't seem to run.I beleave that the reason for this is that certain variables are set by the Autobooted setup program (setup.exe), which I'm not running.The reason for this is that I have a pre-installation portion which destroys any corrupt partitions, installs a 2GB MS-DOS partition and boots from this to run winnt.exe with an unattend.txt file. I have to do this because I have not guarantee that an intact partition will be available for file copies, or that there will be a bootable CD ROM. In fact, my installation is coded to boot from floppy, CD, NIC or USB drive before re-creating local partitions and then kicking off winnt.exe (using a source on either CD, network or USB drive).Does setup.exe set certain system variables at installation launch? Certain system variables are used by the scripts (%I, %J, %CD%, %SystemDrive%, %SystemRoot%) which I obviously don't have set if I boot from my MS-DOS partition as opposed to the CD.CheersAndy Link to comment Share on other sites More sharing options...
druiddk Posted December 26, 2005 Share Posted December 26, 2005 Regarding your question as to nLite not being able to add more drivers later... the new RC4 version of nLite can add more drivers later 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