Jump to content

Problem when I remove WinPE CD


paluds

Recommended Posts

Hi,

I try to make a WinPE bootable solution for a Workstation master.

My problem is the size of my CD 1,3 Giga (Drivers, Winxp, WinPE...).

I would like to slip my data in 2 CDs.

First CD with WinPE boot and WinXP.

I boot on WinPE

I create my unattend file with HTA Files

At the end of the install I launch Build.cmd to create folder and copy WinXP folder locally.

Then, I want to remove my bootable CD1 and insert my CD2 and copy all files on my hard disk.

I launch robocopy from my hard disk to copy file from my CD2.

But It doesn't work !!

Please some help.

BUILD.CMD

Echo ****            Create FOLDER                 ****
md C:\I386
md C:\XPMUI
md C:\I386\$OEM$

Echo ****           Copying Postconf files    from CD 1         ****
xcopy /e /y %systemdrive%\WINXP\I386\*.* C:\I386

Echo ****            Change CD      ****
Call C:\TEMP\CONFIG\CDASK.CMD

Echo ****           Copying Postconf files    from CD 2         ****
c:\TEMP\CONFIG\ROBOCOPY /e D:\WinXPMUI\*.* C:\XPMUI
c:\TEMP\CONFIG\ROBOCOPY /e D:\$OEM$\*.* C:\I386\$OEM$


Echo ************  launch XP install
c:\I386\winnt32.exe /noreboot /syspart:c: /s:c:\I386 /unattend:c:\temp\config\unattend.txt

CDASK.CMD

CScript C:\TEMP\CONFIG\CDASK.VBS
:END

CDASK.VBS

Option explicit
Dim fso, Reponse
Set fso = CreateObject("Scripting.FileSystemObject")
Do Until (fso.FolderExists("D:\$OEM$"))
Reponse = msgBox ("CD1 installation finished" & chr(13) & "Please insert CD2",,"CD change")
Loop
WScript.Quit

Link to comment
Share on other sites


Make sure you are using Windows PE 2004 and that you "loose focus" on the cd drive letter before swapping the cd. eg, cd into either the cd root or to another drive letter (ramdisk or harddisk)

The /inram switch doesnt work correctly with older versions of Windows PE.

Regards

Johan

Link to comment
Share on other sites

Guys,

I understand nothing !!

WinPE 1.2 --> Only compatible with XP SP1 ?

WinPE 2004 --> Only compatible with XP SP2 ?

WinPE 2004 --> Only compatible with 2003 SP1 ?

I can't used WinPE 2004 with XP SP1 ?

Thanks.

:blushing:

Link to comment
Share on other sites

WinPE 1.2    --> Only compatible with XP SP1 ?

WinPE 2004  --> Only compatible with XP SP2 ?

WinPE 2004  --> Only compatible with 2003 SP1 ?

WinPE 1.2 --> Only compatible with XP SP1 and Win2k3 (no SP)

WinPE 2004 --> Only compatible with XP SP2 ? - Correct

WinPE 2004 --> Only compatible with 2003 SP1 ? - I think you mean WinPE 2005.

Chris

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...