I have sucsessfully built the Ghost 15 SRD on WinPE 3.0 (Windows 7). I've read where there are some bugs in WinPE 2.0 (Vista). Also I think there is probably better driver support out of the box. I am not a programmer, I just did this to see if I could do it. It worked for me, but if it breaks for you, you get to keep all of the pieces. Here is how I did it...
How to build the Ghost 15 SRD on Windows Preinstall Environment 3.0 by redk9258 - June 18, 2010.
Items needed:
-
Ghost 15 SRD (install disk) or ISO file.
-
Your Ghost 15 key. Right click the Ghost tray icon and click “About”.
-
The Windows® Automated Installation Kit (AIK) for Windows® 7. This is a 1.66 GB (!) download from http://www.microsoft.com/downloads/details.aspx?familyid=696DD665-9F76-4177-A811-39C26D3B3B34&displaylang=en
-
7-Zip. Download version 4.65 from http://www.7-zip.org. We will use this to extract files from ISO and WIM files. Note that version 9.14 has a bug that will not open the boot.wim file from the Symantec disc.
Install 7-Zip and the Windows® Automated Installation Kit (WAIK) on your computer.
Now let’s build the SRD on WinPE 3.0.
DO NOT close the command prompt until instructed.
Open a command prompt with administrative rights and navigate to C:\Program Files\Windows AIK\Tools\PETools.
Type: CALL pesetenv.cmd
Type: CALL copype.cmd x86 c:\windowspe-x86
You’ll notice that the command prompt has changed to the correct directory.
Type: COPY winpe.wim ISO\sources\boot.wim
Type: DISM /Mount-Wim /WimFile:ISO\sources\boot.wim /index:1 /MountDir:mount
This will take a few minutes.
Now add the winpe-hta package to winpe.wim.
Type: Dism /image:mount /Add-Package /PackagePath:“C:\Program Files\Windows AIK\Tools\PETools\x86\WinPE_FPs\winpe-hta.cab”
Now add the Ghost SRD files to the new mounted wim file. Using Windows Explorer browse to the Ghost 15 CD or ISO file. If it is an ISO, open with 7-zip. Now go to sources\boot.wim. Open this file with 7-zip.
Copy \1\SymDrivers.xml and \1\SymInfo.xml to C:\windowspe-x86\mount.
Copy the folder \1\Windows\Shell to C:\windowspe-x86\mount\Windows.
Copy \1\Windows\System32\Winpeshl.ini to C:\windowspe-x86\mount\Windows\System32.
Go to C:\windowspe-x86\mount\Windows\Shell\V2i and create a text file named “licensekey.txt”. The file should contain your 16 digit license key without spaces. Like this: 1234567890123456
Now close all Explorer and 7-zip windows that are open so we don’t interfere with the next step.
Go back to the open command prompt and type: DISM /Unmount-Wim /MountDir:mount /commit
If you get unmount errors because Explorer was left open, run the command: DISM /Cleanup-Wim
Now using Windows explorer, copy all of the contents from the Ghost 15 CD (or ISO opened with 7-Zip) to C:\windowspe-x86\ISO.
When asked to overwrite files click NO.
Now at the command prompt type: OSCDIMG -l"NGH15 SRD on WIN PE 3.0" -n -b"etfsboot.com" ISO “NGH15 SRD on WIN PE 3.0.iso”
You should now have a file named “NGH15 SRD on WIN PE 3.0.iso” to burn to CD that runs on WinPE 3.0 with your license key in it.
You may now close the command prompt.
Or for the people who do not want to copy and paste all of those commands here is a batch file. This is slightly different in that it does not use 7-Zip. You can save this text as GHOST 15 SRD ON WINPE 3.0.bat Right click and run as administrator.
You will still need the Windows® Automated Installation Kit (AIK) for Windows® 7.
REM Batch file to build Ghost 15 SRD on WinPE 3.0 by redk9258 - June 18, 2010
REM Must run as administrator.
Echo off
CLS
SET /p license= Enter your 16 digit license without dashes or spaces:
CLS
ECHO Enter the path to the Symantec SRD CD or folder
SET /p srdsource= (for example… F:\ or D:\CUSTOM_SRD):
CLS
SET /p waikdrive= Enter the drive letter where Windows AIK is installed (for example: C:)
CLS
SET /p isoname= Enter a name for the ISO file (for example: Custom SRD):
CLS
ECHO Enter the path to the folder you want to build your ISO in
SET /p builddir= (for example: C:\windowspe-x86):
CD /D %waikdrive%Program Files\Windows AIK\Tools\PETools
CALL pesetenv.cmd
CALL copype.cmd x86 “%builddir%”
COPY winpe.wim ISO\sources\boot.wim
DISM /Mount-Wim /WimFile:ISO\sources\boot.wim /index:1 /MountDir:mount
DISM /image:mount /Add-Package /PackagePath:“%waikdrive%Program Files\Windows AIK\Tools\PETools\x86\WinPE_FPs\winpe-hta.cab”
MD cdmount
DISM /Mount-Wim /WimFile:%srdsource%sources\boot.wim /index:1 /MountDir:cdmount /readonly
COPY cdmount*.xml mount*.xml
MD mount\windows\Shell
ROBOCOPY /S cdmount\windows\Shell mount\windows\Shell
COPY cdmount\windows\System32\Winpeshl.ini mount\windows\System32\Winpeshl.ini
ECHO %license%>C:\windowspe-x86\mount\Windows\Shell\V2i\licensekey.txt
CLS
ECHO ***************************************************
ECHO * Please close all open Explorer Windows so as to *
ECHO * not interfere with unmounting the WIM files !! *
ECHO ***************************************************
PAUSE
DISM /Unmount-Wim /MountDir:cdmount /discard
DISM /Unmount-Wim /MountDir:mount /commit
MD ISOTEMP
ROBOCOPY /S %srdsource% ISOTEMP
ROBOCOPY /S ISO ISOTEMP
RD ISO /S /Q
REN ISOTEMP ISO
OSCDIMG -l"%isoname%" -n -b"etfsboot.com" ISO “%isoname%.iso”
EXPLORER /n,/e,%builddir%
pause