eggy524 Posted October 9, 2004 Share Posted October 9, 2004 In the guide to Unattended Installation of XP where you get windows on first boot to run a batch file, is it possible for a popup to come up asking for you to insert the correct CD and then when you put the CD in, press OK and ot starts using that CD for installation of programs rather than it on the acutual unattended windows CD?This could be useful if you want to change what programs you want to install for different computers and have the programs on different CD's Link to comment Share on other sites More sharing options...
Jito463 Posted October 10, 2004 Share Posted October 10, 2004 Kind of defeats the purpose of an "unattended" install, but I suppose it could be done like so:IF NOT EXIST %CDROM%\xxxxx.txt GOTO INSCD:INSCDECHO.ECHO Please insert CD 2PAUSEIF NOT EXIST %CDROM%\xxxxx.txt GOTO INSCDIF EXIST %CDROM%\xxxxx.txt GOTO INSTALL:INSTALL%CDROM%\whatever:FINISHECHO.ECHO Please insert Windows Unattended CD-ROMPAUSEIF NOT EXIST %CDROM%\win51 GOTO FINISHIF EXIST %CDROM%\win51 GOTO QUIT:QUITEXITNow, for that to work you'll need some way to define %CDROM% and replace xxxxx.txt with whatever file you want. But that should do it. I haven't tested it, mind you, but it should. Link to comment Share on other sites More sharing options...
prathapml Posted October 11, 2004 Share Posted October 11, 2004 Right, jito's code above will do what you want.Also, you can go to the Unattended Windows forum, and see the "stickied" topics there. There's one called "Threads of Interest" - it lists a topic that has been discussing exactly this (how to do a 2 CD install). 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