How to build the Ghost15 SRD on WinPE 3.1

I've built the Ghost SRD using WinPE 3.1. It seems to work fine with one exception. When you use the Virus scanner, the update locater does not function to browse for new files. I think this was also a bug on the original Ghost 15 SRD that was fixed on the Ghost 15 SP1 SRD. If someone knows the fix, please post it. It's probably a registry entry or something.

 

Link to WAIK SP1 update - http://www.microsoft.com/downloads/en/details.aspx?FamilyID=696dd665-9f76-4177-a811-39c26d3b3b34

 

You need to have the original WAIK for Windows 7 installed and copy the files in the downloaded ISO file over the old ones in Program Files\Windows AIK\Tools\PETools. It also looks like the original WAIK for Windows 7 has been taken down. The link that used to be for KB3AIK.iso is not there anymore. Unfortunately, this is what contained some of the tools. Hopefully it is just a mistake and will be fixed.

 

Batch File:

 

 

REM Batch file to build Ghost 15 SRD on WinPE 3.1 by redk9258 - Feb 17, 2011
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
IF EXIST "C:\Program Files\Windows AIK\Tools\PETools\x86" SET waikdrive=C:\
IF EXIST "D:\Program Files\Windows AIK\Tools\PETools\x86" SET waikdrive=D:\
IF EXIST "E:\Program Files\Windows AIK\Tools\PETools\x86" SET waikdrive=E:\
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):
IF EXIST "%builddir%" ECHO "%builddir% already exists! Please delete it!"
IF EXIST "%builddir%" PAUSE
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"
DISM /image:mount /Add-Package /PackagePath:"%waikdrive%Program Files\Windows AIK\Tools\PETools\x86\WinPE_FPs\en-us\winpe-hta_en-us.cab"
DISM /image:mount /Add-Package /PackagePath:"%waikdrive%Program Files\Windows AIK\Tools\PETools\x86\WinPE_FPs\winpe-mdac.cab"
DISM /image:mount /Add-Package /PackagePath:"%waikdrive%Program Files\Windows AIK\Tools\PETools\x86\WinPE_FPs\en-us\winpe-mdac_en-us.cab"
DISM /image:mount /Add-Package /PackagePath:"%waikdrive%Program Files\Windows AIK\Tools\PETools\x86\WinPE_FPs\winpe-scripting.cab"
DISM /image:mount /Add-Package /PackagePath:"%waikdrive%Program Files\Windows AIK\Tools\PETools\x86\WinPE_FPs\en-us\winpe-scripting_en-us.cab"
DISM /image:mount /Add-Package /PackagePath:"%waikdrive%Program Files\Windows AIK\Tools\PETools\x86\WinPE_FPs\winpe-wmi.cab"
DISM /image:mount /Add-Package /PackagePath:"%waikdrive%Program Files\Windows AIK\Tools\PETools\x86\WinPE_FPs\en-us\winpe-wmi_en-us.cab"
MD cdmount
DISM /Mount-Wim /WimFile:%srdsource%sources\boot.wim /index:1 /MountDir:cdmount /readonly
COPY cdmount\*.xml mount\*.xml
COPY cdmount\Windows\System32\drivers\SmeUtil.sys mount\Windows\System32\drivers\SmeUtil.sys
COPY cdmount\Windows\Fonts\COUR.TTF mount\Windows\Fonts\COUR.TTF
COPY cdmount\Windows\Fonts\COURBD.TTF mount\Windows\Fonts\COURBD.TTF
COPY cdmount\Windows\Fonts\COURBI.TTF mount\Windows\Fonts\COURBI.TTF
COPY cdmount\Windows\Fonts\COURI.TTF mount\Windows\Fonts\COURI.TTF
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%>"%builddir%\mount\Windows\Shell\V2i\LicenseKey.txt"
CLS
ECHO *****************************************************************
ECHO * You may now add any additional files to %builddir%\mount
ECHO * When done, 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%" -u1 -b"etfsboot.com" ISO "%isoname%.iso"
EXPLORER /n,/e,%builddir%
PAUSE

 

WinPE3.1.png

 

Thanks Red.

I assume you need Windows 7 SP1 in addition to the updated WAIK?

Dave

I don't have SP1 yet. Basically, the wim files are updated. It looks like you can no longer download the needed tools that were included in KB3AIK_EN.iso.:smileymad:

For all the testing and stuff you do, you really should consider a TechNet membership.

The Technet direct (download only) can sometimes be found for around $250 a year.  Thats the renewal rate but I have seen discount codes that give new members the renewal rate.

 

http://img832.imageshack.us/img832/803/win7sp1y.jpg

 

They released it yesterday to MSDN and Technet but I forgot all about it.  They already have all the integrated builds posted as well as the SP.

Dave

I wonder what the real differences are. I don't really see anything that interesting that has changed. Most of the updates are probably already installed from Windows Update.

The only real new features are a couple things for virtulization.

I see it more as a "update rollup" than a service pack.  I tried a couple of the betas and didn't notice anything, I'm just curious to try the integrated build to see if there is any noticeable change in performance.

 

I would have rather had a XP SP4

Dave

 

 

Screwy, that link I posted now points to the original WinPE 3.0 download. Now, I can't find the link to the update files. Someone over at MS keeps messing with the download links.

That is strange, yesterday I remember it sating something about windows 7sp1 and server 2008R2

 

 

Looks like Microsoft has fixed the download links...

 

WAIK 3.0

 

WAIK 3.1 (supplement to WAIK 3.0)