Topic: MassStoragePack on WinPE

Hello,
can someone assist me to include the MassSorageDriverPack to the DVD-Only-Installation based on MS WINPE?

I use the WinPE Environment to preinstall Windows XP Home, XP Home SP1, XP Home SP2, XP Prof, XP Prof SP1,XP Prof, XP Prof SP2

Ok the following things i have done:
Extract the WinPE Envirnoment from the XP Prof SP2-CD
Include the OEM-MassStorageDriver with MS drvinst.exe to the WINPE -> it works fine, there is no error

I used a winbom.ini file to preinstall some applications, a unattend.txt and a winnt.sif file wihich will be copied to floppy before the install starts:

winbom.ini:
[Version]
signature=$CHICAGO$

[Factory]
AutoDetectNetwork = No
Username=Harry
Password=
WinBOMType=WinPE

[WinPE.Net]
StartNet = No

[ComputerSettings]
AuditAdminAutoLogon=Yes
SourcePath=x:\OPKTools\Lang\GER\sku\per\x86\I386

[NetCards]

[WinPE]
Restart =Reboot
Lang =GER
Sku =per
ConfigSet =XP Home Edition
SourceRoot =x:\OPKTools
Username =XXX
Password =

[DiskConfig]
Disk1=Disk1.config

[Disk1.config]
WipeDisk = yes
Size1 = *
SetActive1 = yes
PartitionType1 = primary
FileSystem1 = ntfs
QuickFormat1 = yes

unattend.txt:
[Unattended]
Unattendmode = FullUnattended
OemPreinstall = Yes
TargetPath = *
Filesystem = LeaveAlone
OemSkipEula = YES
FactoryMode = YES
Hibernation = No

[UserData]
FullName = "Ihr Benutzername"
OrgName = "Name Ihrer Firma"
ComputerName = *
ProductKey=XXX

[GuiUnattended]
TimeZone = "110"
AdminPassword = *
OEMSkipRegional = 1
OEMSkipWelcome = 1

[LicenseFilePrintData]
AutoMode = "PerServer"
AutoUsers = "5"

[Display]
BitsPerPel = 32
XResolution = 1024
YResolution = 768
VRefresh = 70

[Branding]
BrandIEUsingUnattended = No
IEBrandingFile = install.ins

[Networking]

[Identification]
JoinWorkgroup = MSHEIMNETZ

[Components]
msmsgs=off
msnexplr=off

winnt.sif:
[Unattended]
Unattendmode = FullUnattended
OemPreinstall = Yes
TargetPath = *
Filesystem = LeaveAlone
OemSkipEula = YES
FactoryMode = YES
Hibernation = No

[UserData]
FullName = "Ihr Benutzername"
OrgName = "Name Ihrer Firma"
ComputerName = *
ProductKey=xxx

[GuiUnattended]
TimeZone = "110"
AdminPassword = ""
OEMSkipRegional = 1
OEMSkipWelcome = 1

[LicenseFilePrintData]
AutoMode = "PerServer"
AutoUsers = "5"

[Display]
BitsPerPel = 32
XResolution = 1024
YResolution = 768
VRefresh = 70

[Branding]
BrandIEUsingUnattended = No
IEBrandingFile = install.ins

[Networking]

[Identification]
JoinWorkgroup = MSHEIMNETZ

[Components]
msmsgs=off
msnexplr=off

I used method 1 and method 2 to include the Drivers to the i386 folder of the XP install-files.
I´ve copied the $OEM$-Folder to the root of the DVD, parallel to the i386-folder of the XP-files
I've changed my unattend and winnt-files and put the entries for     OemPnpDriversPath, OemPreinstall, DriverSigningPolicy, NonDriverSigningPolicy and [GUIRunOnce] command9="%SystemDrive%\DPsFnshr.exe" to them.

Ok everything works fine, the WINPE copies the file to the Harddisk
the computer restarts from the harddisk, copies the installation files into the installation folders, starts again
and then when the GUI-Setup schould start it hngs with a BSOD STOP: 0x0000007B

When the computer reboots first and start from the harddisk the MassStorageDriver works, why not not when starts the second time to complete the Installation?
I there a tutorial or an idea how to include the MassStorage Driver?

This is the folder structure before(after the first reboot from the harddisk and copying the installation files)

$OEM$
$OEM$\$1
$OEM$\$1\D
$OEM$\$1\D\M		-> and so on with all the subfolders
$WIN_NT$.~BT		-> here is the winnt.sif file with the right OemPnPDriversPath and the .SY_ files from the MassStorageDrivers
$WIN_NT$.~BT\$OEM$	-> with nothing in it
$WIN_NT$.~BT\system32
$WIN_NT$.~LS
$WIN_NT$.~LS\$OEM$ 	-> with nothing in it
$WIN_NT$.~LS\I386
I386
SYSPREP

This is the folder structure after the second boot from the harddisk and the BSOD appears:

$OEM$
$OEM$\$1
$OEM$\$1\D
$OEM$\$1\D\M		-> and so on with all the subfolders
$WIN_NT$.~BT		-> here is the winnt.sif file with the right OemPnPDriversPath and the .SY_ files from the MassStorageDrivers
$WIN_NT$.~BT\$OEM$	-> with nothing in it
$WIN_NT$.~BT\system32
$WIN_NT$.~LS
$WIN_NT$.~LS\$OEM$ 	-> with nothing in it
$WIN_NT$.~LS\I386
I386
SYSPREP

You see, there has nothing changed. Why is the computer booting once from harddisk(here are the massstoragedrivers working) and not a second time?

Is this correct? Where should the "D-Folder" be after copy? I think in the root of the harddisk, right? Or in one of the empty $OEM$ folders?

Last edited by Harry33 (2007-02-14 21:48:02)

Re: MassStoragePack on WinPE

Hello,
I have solved the problem.
I wrote a script which extract the info about the used controler from the registry of WinPE and then it creats a BAT-file which copies the needed installation files to the folders on harddisk after the copy the windows-installation-files to it.

Re: MassStoragePack on WinPE

Harry33 wrote:

Hello,
I have solved the problem.
I wrote a script which extract the info about the used controler from the registry of WinPE and then it creats a BAT-file which copies the needed installation files to the folders on harddisk after the copy the windows-installation-files to it.

Where in the registry can I look to find this? Do you mind posting your script?