talon Posted March 30, 2004 Share Posted March 30, 2004 I wasable to create an unattended DVD with help from this sitehttp://unattended.msfn.org/index.htmI put a lot of Aplications in the $OEM$\$1\Install\ApplicationsWhat I noticed is that they all get copied on to the Harddrive of the machine, Is there anyway we can do this installation, whithout actually copying the info on to the Harddrive?What command line would you use in the batch file? Ie I use somehting along the lines of %systemdrive%\install\Applications\WMP9\mpsetupxp.exe /Q:A /R:NIf %systemdrive% refers to the C drive of the machine, how do you identify the DVD or CD drive ?Thanks Link to comment Share on other sites More sharing options...
Bilou_Gateux Posted March 30, 2004 Share Posted March 30, 2004 http://www.willowhayes.co.uk/Getcd.exe is a utility to get the letter of the first CD-ROM drive in the system. This is useful during the applications phase of a unattended CD-ROM installation, because you don't always know which drive letter the CD-ROM will get. The program simply writes the drive letter (including colon) to the output stream. To insert the drive letter into an environment variable, you can use the following from a batch file:for /f "Tokens=*" %%a in ('getcd.exe') do set cdrom=%%aAfter running this command, you can refer to the CD-ROM drive using the %cdrom% environment variable. If you're not running the command from a batch file, use replace %% with % in the above command. Link to comment Share on other sites More sharing options...
Sie Tjin Kian Posted March 30, 2004 Share Posted March 30, 2004 Hi Talon,if you don`t want the install files on your HD, then you have to put everything into another folder (not $OEM$) and try to use %sourcepath%. I am not sure that this work. Anyway somewhere in the forum is a method to find your cdrom by using an Textfile as indicator that is on cd. Maybe thats the way you prefer.Have a nice day 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