November 7, 200718 yr I have created a unattended vista install and now I want to add office 2007 to it. the problem I am running into is that I don't know how to tell the firstlogon.cmd where the files are. does anyone know how to either: reference the dvd drive even though I don't know what letter it will be. or copy office files to a specific folder on the C drive so I can just put a path into the firstlogon.cmd like c:\install\officd2007\setup.exe? Thanks in advance for your help.
November 8, 200718 yr for %%i in (C: D: E: F: G: H: I: J: K: L: M: N: O: P: Q: R: S: T: U: V: W: X: Y: Z:) do if exist %%i\Path\To\File\anyname.txt set CDROM=%%iPlace that at the beginning of your batch file.Change: "Path\To\File\anyname.txt"To whatever the path on your disk to a specific file is.For instance if you had a file named Office2k7.dat at the root of your disk your code would look like:for %%i in (C: D: E: F: G: H: I: J: K: L: M: N: O: P: Q: R: S: T: U: V: W: X: Y: Z:) do if exist %%i\Office2k7.dat set CDROM=%%iEnjoy!
Create an account or sign in to comment