Windows XP Media Center Edition 2005: Copy and Combine Discs 1 and 2 This script will copy both Media Center 2005 discs, Modify txtsetup.sif and Create CD Tag File "WIN51IP2" if it doesn't exist NOTE(s): You must insert disc 2 in the same drive as disc 1 when prompted. This script requires file replacetxt.vbs I've only tested this on generic OEM discs File: WinXP-MCE2005_CopyCombineDiscs.cmd Code: @echo off title Windows XP MCE 2005: Copy and Combine Discs 1 and 2 ECHO. ECHO. ECHO * * * * * * * * * * * * * * * * * * * * * * ECHO * * ECHO * Windows XP Media Center Edition 2005 * ECHO * Copy and Combine Discs 1 and 2 * ECHO * by 38956 * ECHO * 21090920.7 * ECHO * * * * * * * * * * * * * * * * * * * * * * ECHO. ECHO This Script Will: ECHO. ECHO 1. Copy Discs To %SYSTEMDRIVE%\XP-MCE2005_DVD ECHO 2. Modify txtsetup.sif ECHO 3. Create CD Tag File "WIN51IP2" If It Doesn't Exist ECHO. ECHO _____________________________________________________________ ECHO. SET find0=%%cd2name%% SET replace0=%%cdname%% SET find1=%%cd2tagfilei%% SET replace1=%%cdtagfilei%% SET WIN51IP2=WIN51IP2 :copydisc1 ECHO Please Insert Windows Media Center Edition 2005 Disc 1 ECHO. SET /P cdisc1= Press [ENTER] To Copy Disc 1: IF /I "%cdisc1%"=="Exit" GOTO eof FOR %%i IN (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:\WIN51IP SET CDROM=%%i: SET OD=%cdrom% ECHO. ECHO Copying Disc 1 To %systemdrive%\XP-MCE2005_DVD ECHO Please wait... ECHO. md %systemdrive%\XP-MCE2005_DVD xcopy /y /e %OD%\*.* %systemdrive%\XP-MCE2005_DVD :copydisc2 ECHO. ECHO. ECHO Please Insert Windows Media Center Edition 2005 Disc 2 ECHO. SET /P cdisc2= Press [ENTER] To Copy Disc 2: ECHO. ECHO Copying Disc 2 To %systemdrive%\XP-MCE2005_DVD ECHO Please wait... ECHO. xcopy /y /e %OD%\*.* %systemdrive%\XP-MCE2005_DVD :XP-DVDdir SET XP-DVDdir=%systemdrive%\XP-MCE2005_DVD SET txtsetuppath=%XP-DVDdir%\I386\txtsetup.sif :modtxtsetup ECHO. ECHO _____________________________________________________________ ECHO. ECHO Modifying txtsetup.sif ECHO. ECHO Find: %find0% Replace with: %replace0% ECHO. ECHO Find: %find1% Replace with: %replace1% ECHO. cscript replacetxt.vbs "%txtsetuppath%" "%find0%" "%replace0%" cscript replacetxt.vbs "%txtsetuppath%" "%find1%" "%replace1%" : cdtagfile ECHO _____________________________________________________________ ECHO. ECHO Create CD Tag File "WIN51IP2" If It Doesn't Exist if exist "%XP-DVDdir%\%WIN51IP2%" ( GOTO finished ) else ( ECHO Windows ) >> %XP-DVDdir%\%WIN51IP2% :finished ECHO _____________________________________________________________ ECHO. ECHO * * * SCRIPT FINISHED * * * ECHO _____________________________________________________________ ECHO. SET /p exit= Press [ENTER] To Exit: explorer %XP-DVDdir% :eof File: replacetxt.vbs Code: Const ForReading = 1 Const ForWriting = 2 strFileName = Wscript.Arguments(0) strOldText = Wscript.Arguments(1) strNewText = Wscript.Arguments(2) Set objFSO = CreateObject("Scripting.FileSystemObject") Set objFile = objFSO.OpenTextFile(strFileName, ForReading) strText = objFile.ReadAll objFile.Close strNewText = Replace(strText, strOldText, strNewText) Set objFile = objFSO.OpenTextFile(strFileName, ForWriting) objFile.WriteLine strNewText objFile.Close
Nice script, but I think that using poweriso or ultraiso is just as easy... Nice work though, dont want to discount the effort...
Help Request Greetings and Happy New Year 38956! I am wanting to combine my MCE discs 1 & 2 as you have outlined. If you are unwilling or unable to help I certainly understand . . . no worries. Unfortunately, I don't understand how your code is run in order to accomplish the task. Is this something where I create a batch file and run it in DOS (which I have done) or, some other method (which I have likely not)? Step by step instructions would be appreciated. Regards, Sherich
@Sherich You need two files WinXP-MCE2005_CopyCombineDiscs.cmd and replacetxt.vbs #. Copy the code for WinXP-MCE2005_CopyCombineDiscs.cmd and paste it in notepad and save it as "WinXP-MCE2005_CopyCombineDiscs.cmd" (including quotes to avoid it being saved as a text file) #. Copy the code for replacetxt.vbs and paste it in notepad and save it as "replacetxt.vbs" (including quotes) # open/run the batch script in windows by double clicking on WinXP-MCE2005_CopyCombineDiscs.cmd then follow the scripts instructions NOTE: both scripts need to be in the same folder After the script has finished 1. you will need to burn the files to disc (note you will need the boot image otherwise the disc will NOT be bootable) 2. if you have an iso image of the discs open cd1 and replace all files will the files in the XP-MCE2005_DVD (c:\XP-MCE2005_DVD) folder and save it the you can burn the image the disc
this is a long way of doing what needs to be done to combine the two discs. use winrar and extract both iso files to a folder. move all the files from iso 2 folder to the iso 1 folder. recreate the bootable iso using makeiso. done. or use ultra iso (paid version cause free is limited to 300mb) and copy the contents of iso 2 to iso 1 and save it and burn it. viola, done.
Thanks for the added info stayboogy. I've had another suggestion at my office that goes as follows. Again to reiterate, the goal is to load MCE in Mac Bootcamp in order to run resource intensive PC games. Bootcamp does not support ejecting a disc mid-install in order to insert disc 2 (no way from keyboard eject or keyboard strokes and there is no manual eject hole in the drive). However, the MCE install when asking for the second disc does allow to browse to another location. However, I believe the browse is limited to the installation cd or to folders on the bootcamp partition (which is empty). The suggestion is: Copy disc one to folder in drive Copy disc two to subfolder of above Burn both to DVD Start install When install asks for disc two browse to subfolder When install asks for disc one again goto the upper level folder Do you think this will work??? Sherich
i do not know if this will work or not. it is best if you do it one of the ways i said to. it is guaranteed to work that way. you do not want to put the contents of disc 2 into a folder and then into disc 1. you want all the things in the root of one disc. there is only one folder on disc 2, "CMPNENTS" and it needs to be in the iso root. again, use winrar or similar, extract each iso to a folder, then cut the "CMPNENTS" folder from disc 2 extract and paste it into the disc 1 extract. then use makeiso or nlite (nlite might be better) and browse to your folder that has all things combined and make it a bootable iso. don't try other things when we've given you sure steps that are guaranteed to work
if absolutely necessary i have MCE isos (unmodified) that i have combined to one. if you don't want to do it yourself or can't, if you can wait a few hours i can upload the combined bootable iso to megaupload and you can just download it and burn it
Thx stayboogy for the insights and help. I don't want to cause you grief. I am willing but don't know if I can since I've not used these apps prior. So, won't know until I try . . . I can wait however if you are willing . . . Thx! Sherich
my download speed is great, but my upload speed is the pits, so it will be a long while before it gets uploaded, but in the meantime try it yourself, and if you run into problems post and i'll try to help you out. i'll post the links here when all four parts are uploaded (half way through with the first part now)
Thx re part 1. Pls explain what the four parts are/will be. Was at work prior. Just got home and so far have downloaded/installed WinRAR. Doing nlite next. Sherich
Ok. Sorry I was confused because you said there would be four parts you'd be working on. When your link Part 1 arrived I assumed more was on the way & I wanted to understand what the four parts were. Downloading now. Will my key work with this? Sherich
Ok, now I see the second mega link so there will be four total to download. So I'm assuming you split them due to the mega size limitation? So do I simply place the four RAR files in the burner list and burn or is there a step prior to combine them? Sherich
no. once you have the four downloaded, double click the part one and click ok on the box that pops up and winrar will extract it to one folder and in that folder there will be an iso file, and you just burn that iso file, boot from it and install