Wilk1976 Posted September 16, 2008 Posted September 16, 2008 I have made several unattended install discs in the past thanks to this sight and now I have been experimenting a little more. One thing that I cannot seem to get working for the life of me and have looked all over the net for the answer and have not found is setting it up to install some software from a secondary internal hard drive, you know stuff that cannot fit on the disk. Every time I make a disk it tells me the file cannot be found, I am guessing that you cannot directly specify the drive letter and that there is some other way you have to do things. I have been trying to make this work from the install.cmd in the $OEM$ folder. This secondary hard drive is always d: every time I do an install so I had a line like: start /wait "D:\Software\Setup.exe". This install.cmd file is executed during the GUIRUNONCE phase. Anyways any help is much appreciated.
IcemanND Posted September 16, 2008 Posted September 16, 2008 use a similar method as finding you cd-rom drive. Look for a specific file on the secondary drive so that you can determine the drive letter. Once you have the drive letter the rest should be easy.
spacesurfer Posted September 16, 2008 Posted September 16, 2008 What I do is designate a drive that has all my programs (my programs partition is K:). In K:, I have a hidden file called programs.tag. then, I have the script look for the programs.tag and assign it a variable %programs% and run the install from that.Do the same for drivers, although it's %programs%\drivers\ and not a dedicated partition for drivers.
Wilk1976 Posted September 17, 2008 Author Posted September 17, 2008 What I do is designate a drive that has all my programs (my programs partition is K:). In K:, I have a hidden file called programs.tag. then, I have the script look for the programs.tag and assign it a variable %programs% and run the install from that.Do the same for drivers, although it's %programs%\drivers\ and not a dedicated partition for drivers.Hey thanks I finally got it, that worked like a champ. Much appreciated
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