cdob, on Feb 1 2010, 07:59 PM, said:
Topic 137714 XP_INST_v04.7z.
Hmpf, i downloaded this package, but was unable to look into the img file. Sorry and thanks
I retested the old image and run the usb_pnp.cmd right after 1. reboot. (deactivated the second one in the setup.cmd) The skript says "successfull installed" on every step. No "devcon failed" messages anymore! But in the end, the driveletter was still missing.
I didn't find it with showdrive, mnt.exe, mountvol.exe or diskpart.
BUT after a reboot the driverletter appeared as U: !
I decided to change the setup.cmd once more.
Here is the "beginning" of the used setup.cmd:
@echo off
setlocal EnableExtensions EnableDelayedExpansion
if not exist reg.exe (
echo reg.exe not found
echo reg.exe not found >> %SystemRoot%\winsetup.log
)
if not exist findstr.exe (
echo findstr.exe not found
echo findstr.exe not found >> %SystemRoot%\winsetup.log
)
if not exist mountvol.exe (
echo mountvol.exe not found
echo mountvol.exe not found >> %SystemRoot%\winsetup.log
) else (
echo mountvol.exe output: >> %SystemRoot%\winsetup.log
mountvol.exe >> %SystemRoot%\winsetup.log
)
rem XPpSP3 string is dynamically changed by WinSetupFromUSB when prepariung source
set TAGFILE=\WINSETUP\XPpSP3
rem Load PNP
if not exist loadpnp.1 (
call usb_pnp.cmd
echo PNP Loaded > loadpnp.1
)
if exist mountvol.exe (
for /f "tokens=1 delims=: " %%? in ('mountvol.exe ^|find ":\"') do (
dir %%?:%TAGFILE% > nul 2>&1 && set CDDRIVE=%%?:
if defined CDDRIVE goto :CDDRIVE_found
)
) else (
FOR %%h IN (U V W X C D E F G H I J K L M N O P Q R S T Y) DO (
IF EXIST "%%h:%TAGFILE%" (
SET CDDRIVE=%%h:
goto :CDDRIVE_found
)
)
)
echo no %TAGFILE% drive found
echo no %TAGFILE% drive found >> %SystemRoot%\winsetup.log
...
The rest of the setup.cmd is original.
The content of the usb_pnp.cmd is:
@echo off
setlocal EnableExtensions EnableDelayedExpansion
:USB_PNP.cmd
:: Batch to load USB devices - XP 32bit
:: by cdob v0.01
set Seed=%random%%random%%random%
set Seed=0x%Seed:~,8%
reg.exe add "HKLM\SYSTEM\WPA\Pnp" /f /t REG_DWORD /v "Seed" /d %Seed%
reg.exe query "HKLM\SYSTEM\WPA\Pnp"
set Control=HKLM\SYSTEM\CurrentControlSet\Control
reg.exe add "%Control%\Session Manager\WPA\Pnp" /f /t REG_DWORD /v "Seed" /d %Seed%
reg.ee add "HKLM\SOFTWARE\Microsoft\Driver Signing" /f /t REG_BINARY /v "Policy" /d 00000000
reg.exe add "HKLM\SOFTWARE\Microsoft\Non-Driver Signing" /f /t REG_BINARY /v "Policy" /d 00
reg.exe add "HKLM\Software\Policies\Microsoft\Windows NT\Driver Signing" /f /t REG_DWORD /v "BehaviorOnFailedVerify" /d 0x0
rem set driver signing policy
dsigning.exe
:: reg.exe add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Setup" /f /t REG_DWORD /v "LogLevel" /d 0xFFFFffff
rem PNP USB devices and attach drive letter to USB flash drive
rem no RunDll32.exe Syssetup.dll,UpdatePnpDeviceDrivers
rem devcon.exe [url="http://support.microsoft.com/kb/311272"]http://support.microsoft.com/kb/311272[/url]
echo. &echo USB controller and USB HUB
for %%a in (PCI\CC_0C0300 PCI\CC_0C0310 PCI\CC_0C0320 USB\ROOT_HUB USB\ROOT_HUB20) do (
devcon.exe hwids "%%a" | find.exe "%%a" && devcon.exe install %SystemRoot%\inf\usbport.inf "%%a"
)
echo. &echo USB storage device
rem no hwids defined for USB storage device
for %%a in (06 05 02 06 05 02) do (
devcon.exe install %SystemRoot%\inf\usbstor.inf "USB\Class_08&SubClass_%%a&Prot_50"
)
rem USB keyboard and mouse
devcon.exe install %SystemRoot%\inf\usb.inf "USB\COMPOSITE"
devcon.exe install %SystemRoot%\inf\input.inf "USB\Class_03"
devcon.exe install %SystemRoot%\inf\msmouse.inf "HID_DEVICE_SYSTEM_MOUSE"
devcon.exe install %SystemRoot%\inf\keyboard.inf "HID_DEVICE_SYSTEM_KEYBOARD"
(I just deleted the last few lines)
The setup runs as normal, reboots once in gui-mode and finaly finds my usb-stick and finishes the installation!
Thanks! You are great!
-----------------------------------------------------------
And here comes the second point on my totry-list
-----------------------------------------------------------
Quote
Try remove the chipset driverpack.
I created a new image with nLite. But i added the driverpackages (Chipset, CPU, LAN, MassStorage, MassStorage-Textmode) with the DPsBASE Tool AFTER the nLite-setup.
Howto:
http://users.telenet...e/Eng_tut6b.htm
With this new image, the installation works!

It's a bit slow in the driver loading part but who cares?
Sorry i made you so much work and finaly a new image was a solution.
Btw, in the old image the driverpack was integrated with nLite. That was a stupid idea, like the howto says. Strange it worked with the 0.2.3 Setup.

EDIT: Change the codes to codeboxes - postshrinking
This post has been edited by Rotbard: 02 February 2010 - 07:54 AM