Dustinwmew Posted July 26, 2004 Share Posted July 26, 2004 I have my Windows CD made. I am also making a cd just for the $OEM$. Can I just make a normal ISO for it, or does it need something so windows setup can read it. Link to comment Share on other sites More sharing options...
ml20 Posted July 26, 2004 Share Posted July 26, 2004 I hope you mean $OEM$ folder as in software folder, not stuff that you need copied to the Windows Dir or whatever. That oem folder must be on the root cd.I was in a similar situation recently with two cds and finally came up with one way to get it to work fine, and i am testing another for my personal needs.in runonceex or you batch file, you just basically add this code, they simply specifiy the %CDROM% or %CDROM2% variable for each install.IF EXIST D:\D1.txt SET CDROM=D:IF EXIST E:\D1.txt SET CDROM=E:IF EXIST F:\D1.txt SET CDROM=F:IF EXIST G:\D1.txt SET CDROM=G:IF EXIST H:\D1.txt SET CDROM=H:IF EXIST I:\D1.txt SET CDROM=I:IF EXIST D:\D2.txt SET CDROM2=D:IF EXIST E:\D2.txt SET CDROM2=E:IF EXIST F:\D2.txt SET CDROM2=F:IF EXIST G:\D2.txt SET CDROM2=G:IF EXIST H:\D2.txt SET CDROM2=H:IF EXIST I:\D2.txt SET CDROM2=I:make sure you put a blank file called D1.txt on disk one, and D2.txt on disk two. Link to comment Share on other sites More sharing options...
[BM]Crusher Posted July 27, 2004 Share Posted July 27, 2004 this topic has been covered a billion times.... do a 'Search' next time you will find much much more info on how to do it...you can shorten that code as well, something like:for %%i in (C: D: E: F: G: H: I: J: K: L:) do if exist %%i\CD.txt set CDROM=%%ijust add more driver letters in the path if need be...your method will work good if you have two cdrom drives... if you only have one cdrom drive, the best way to do it is:1) in your RunOnceEx list, after installing anything needed off the first CDROM or off the Hard Drive, create a VB Script that pauses with a message "Please insert next CD" (when the VB Script is run the install process pauses, you swap the disks over and then press OK)2) for the rest of the items in the RunOnceEx list, create batch files that firstly detect the CDROM letter with the above code and then run the installation off the CD...for example:@echo offecho.echo Installing Office 2003 Professionalecho.echo Please wait . . .echo.for %%i in (C: D: E: F: G: H: I: J: K: L:) do if exist %%i\CD.txt set CDROM=%%istart /wait %cdrom%\office\setup.exe TRANSFORMS=Unattended.MST /qb-exit Link to comment Share on other sites More sharing options...
Dustinwmew Posted July 27, 2004 Author Share Posted July 27, 2004 I all really have a way to find the CD. i just wanted to know how 'free' I can make the ISO for the 2nd CD. Link to comment Share on other sites More sharing options...
[BM]Crusher Posted July 27, 2004 Share Posted July 27, 2004 how 'free'? what do you mean? just burn it as a data disc Link to comment Share on other sites More sharing options...
Dustinwmew Posted July 27, 2004 Author Share Posted July 27, 2004 Ok, I will put out my full prblem in here.On the 21st I posted asking if one can use string in winnt.sif to find what CD drive the CD with $OEM$ is or how can you use txtsetup.sif to find $OEM$ (http://www.msfn.org/board/index.php?showtopic=8381&st=20) on that page gosh say that you can do it but does not say how.no one anserd me so I been trying the [string] route. Setup can't under stand my String (I was going to make a 2nd post for that after this one), and I wanted to known if setup has any limets to the type of data it can read from a CD. (ex. file name length, character sets...) 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