:: http://zone54.com :: Script Escape Characters: :: %% = % (Batch). :: ^& = & (Batch). :: ^> = > (Batch). :: ^< = < (Batch). :: ^| = | (Batch). :: \r\n = Line Break (RegEx - Windows CR LF). :: \\ = \ (RegEx and Batch). :: \] = ] (RegEx). :: \[ = [ (RegEx). :: \. = . (RegEx). :: \" = " (RegEx). :: \x22 = " (ASCII). :: \x27 = ' (ASCII). :: \x25 = % (ASCII). :: \x5e = ^ (ASCII). @ECHO OFF TITLE WinXP-IE - Patch Integrator PushD "%~dp0" ".\Utilities\SetConsole.exe" /h:45 /w:80 /pos:cc CHCP 1252 1>NUL Set "VERSION=4.0.1" Set "BatchDir=%~dp0" If [%BatchDir:~-1%]==[\] Set "BatchDir=%BatchDir:~0,-1%" SETLOCAL EnableDelayedExpansion For /f "tokens=*" %%l in ('Dir /a /b /s "%BatchDir%"') do ( Set "FileAndPath=%%l" If Not "!FileAndPath:~244,1!"=="" Set "MaxPathLength=FAIL" ) SETLOCAL DisableDelayedExpansion :: 2147483648 Bytes = 2 Gigabyte. WMIC LogicalDisk where "DeviceID='%~d0' and FreeSpace > 2147483646" get DeviceID 2>&1 ^ | FindStr /l /i "%~d0" >NUL || Set "FreeStorageSpace=FAIL" Set "WinXP=Windows XP Professional SP3 x86 - Integral Edition" Set "CompileDir=%BatchDir%\_compiling" Set "TempDir=%CompileDir%\_temp" Set "on=(YES)" Set "off=(NO) " Set "optKSATA=%off%" Set "optMNVMe=%off%" Set "optMUSB=%off%" Set "optMSDC=%off%" Set "optACPI=%off%" Set "optPAE4=%off%" Set "optPAE64=%off%" Set "optAVX=%off%" Set "optKMDF=%off%" Set "optUAS=%off%" Set "optTF=%off%" Set "optC220=%off%" Set "optLUSB=%off%" Set "optDPB=%off%" Set "optSSE2=%off%" Set "optMSATA=%off%" Set "optJMSATA=%off%" Set "optAMSATA=%off%" Set "optASATA=%off%" Set "optUIAHCI=%off%" Set "optUIRAID=%off%" Set "optK3NVMe=%off%" Set "optINVMe=%off%" Set "optSNVMe=%off%" Set "optSMNVMe=%off%" Set "optA1USB=%off%" :MENU CLS ECHO \\!// ECHO (o o) ECHO ---------------------------------oOOo-(_)-oOOo--------------------------------- ECHO Windows XP x86 - Patch Integrator v%VERSION% ECHO INFO: Some of those Patches may not work on all computers. ECHO =============================================================================== FLTMC >NUL 2>&1 || Set _=^"Set "_ELEV=1" ^& CD /d """%~dp0""" ^& "%~f0" %*^" && ((If "%_ELEV%"=="" (ECHO. & ECHO Requesting administrator privileges . . . & ((PowerShell -nop -c START "" CMD -args '/d/x/s/v:off/r',$env:_ -Verb RunAs >NUL 2>NUL) || (mshta vbscript:execute^("CreateObject(""Shell.Application"").ShellExecute(""CMD"",""/d/x/s/v:off/r"" & CreateObject(""WScript.Shell"").Environment(""PROCESS"")(""_""),,""RunAs"",1)(Window.Close)"^) >NUL 2>&1))) Else (ECHO. & ECHO This script requires administrator privileges. & PAUSE)) & EXIT /b) If Not "%MaxPathLength%"=="FAIL" GoTo SKIP COLOR 0C ECHO. ECHO You reached the maximum path length for this script. ECHO Please put the script folder in a shorter directory, Like for example: ECHO "%Userprofile%\Desktop" or "%Userprofile%\Documents" or "%SystemDrive%" ECHO. Pause EXIT :SKIP If Not "%FreeStorageSpace%"=="FAIL" GoTo SKIP COLOR 0C ECHO. ECHO You need at least 2 Gigabyte of free Storage space ECHO on the "%~d0" Storage driver to run this script. ECHO. Pause EXIT :SKIP If "%optSMNVMe%"=="%on%" Set "optDPB=%on%" If "%optMUSB%"=="%on%" Set "optKMDF=%on%" If "%optC220%"=="%on%" Set "optACPI=%on%" ECHO. ECHO * Standard Options: ECHO. Toggle your option(s) and toggle [Z] to Start: " If ERRORLEVEL 28 GoTo CONTINUE If ERRORLEVEL 27 EXIT If ERRORLEVEL 26 (If "%optA1USB%"=="%on%" (Set "optA1USB=%off%") Else (Set "optA1USB=%on%" & Set "optMUSB=%off%" & If "%optC220%"=="%on%" Set "optKMDF=%on%" & Set "optUAS=%off%")) & GoTo MENU If ERRORLEVEL 25 (If "%optSMNVMe%"=="%on%" (Set "optSMNVMe=%off%" & Set "optDPB=%off%") Else (Set "optSMNVMe=%on%" & Set "optDPB=%on%" & Set "optMNVMe=%off%" & Set "optK3NVMe=%off%" & Set "optINVMe=%off%" & Set "optSNVMe=%off%")) & GoTo MENU If ERRORLEVEL 24 (If "%optSNVMe%"=="%on%" (Set "optSNVMe=%off%") Else (Set "optSNVMe=%on%" & Set "optMNVMe=%off%" & Set "optK3NVMe=%off%" & Set "optINVMe=%off%" & Set "optSMNVMe=%off%")) & GoTo MENU If ERRORLEVEL 23 (If "%optINVMe%"=="%on%" (Set "optINVMe=%off%") Else (Set "optINVMe=%on%" & Set "optMNVMe=%off%" & Set "optK3NVMe=%off%" & Set "optSMNVMe=%off%" & Set "optSNVMe=%off%")) & GoTo MENU If ERRORLEVEL 22 (If "%optK3NVMe%"=="%on%" (Set "optK3NVMe=%off%") Else (Set "optK3NVMe=%on%" & Set "optMNVMe=%off%" & Set "optINVMe=%off%" & Set "optSMNVMe=%off%" & Set "optSNVMe=%off%")) & GoTo MENU If ERRORLEVEL 21 (If "%optUIRAID%"=="%on%" (Set "optUIRAID=%off%" & Set "optDPB=%off%") Else (Set "optUIRAID=%on%" & Set "optDPB=%on%")) & GoTo MENU If ERRORLEVEL 20 (If "%optUIAHCI%"=="%on%" (Set "optUIAHCI=%off%" & Set "optDPB=%off%") Else (Set "optUIAHCI=%on%" & Set "optDPB=%on%" & Set "optKSATA=%off%" & Set "optMSATA=%off%" & Set "optJMSATA=%off%" & Set "optAMSATA=%off%" & Set "optASATA=%off%")) & GoTo MENU If ERRORLEVEL 19 (If "%optASATA%"=="%on%" (Set "optASATA=%off%" & Set "optDPB=%off%") Else (Set "optASATA=%on%" & Set "optDPB=%on%" & Set "optKSATA=%off%" & Set "optMSATA=%off%" & Set "optJMSATA=%off%" & Set "optAMSATA=%off%" & Set "optUIAHCI=%off%")) & GoTo MENU If ERRORLEVEL 18 (If "%optAMSATA%"=="%on%" (Set "optAMSATA=%off%" & Set "optDPB=%off%") Else (Set "optAMSATA=%on%" & Set "optDPB=%on%" & Set "optKSATA=%off%" & Set "optMSATA=%off%" & Set "optJMSATA=%off%" & Set "optASATA=%off%" & Set "optUIAHCI=%off%")) & GoTo MENU If ERRORLEVEL 17 (If "%optJMSATA%"=="%on%" (Set "optJMSATA=%off%" & Set "optDPB=%off%") Else (Set "optJMSATA=%on%" & Set "optDPB=%on%" & Set "optKSATA=%off%" & Set "optMSATA=%off%" & Set "optAMSATA=%off%" & Set "optASATA=%off%" & Set "optUIAHCI=%off%")) & GoTo MENU If ERRORLEVEL 16 (If "%optMSATA%"=="%on%" (Set "optMSATA=%off%" & Set "optDPB=%off%") Else (Set "optMSATA=%on%" & Set "optDPB=%on%" & Set "optKSATA=%off%" & Set "optJMSATA=%off%" & Set "optAMSATA=%off%" & Set "optASATA=%off%" & Set "optUIAHCI=%off%")) & GoTo MENU If ERRORLEVEL 15 (If "%optSSE2%"=="%on%" (Set "optSSE2=%off%") Else (Set "optSSE2=%on%")) & GoTo MENU If ERRORLEVEL 14 (If "%optDPB%"=="%on%" (Set "optDPB=%off%") Else (Set "optDPB=%on%")) & GoTo MENU If ERRORLEVEL 13 (If "%optLUSB%"=="%on%" (Set "optLUSB=%off%") Else (Set "optLUSB=%on%")) & GoTo MENU If ERRORLEVEL 12 (If "%optC220%"=="%on%" (Set "optC220=%off%" & Set "optACPI=%off%" & Set "optKMDF=%off%") Else (Set "optC220=%on%" & Set "optACPI=%on%" & Set "optKMDF=%on%")) & GoTo MENU If ERRORLEVEL 11 (If "%optTF%"=="%on%" (Set "optTF=%off%") Else (Set "optTF=%on%")) & GoTo MENU If ERRORLEVEL 10 (If "%optUAS%"=="%on%" (Set "optUAS=%off%") Else (Set "optUAS=%on%")) & GoTo MENU If ERRORLEVEL 9 (If "%optKMDF%"=="%on%" (Set "optKMDF=%off%") Else (Set "optKMDF=%on%")) & GoTo MENU If ERRORLEVEL 8 (If "%optAVX%"=="%on%" (Set "optAVX=%off%") Else (Set "optAVX=%on%")) & GoTo MENU If ERRORLEVEL 7 (If "%optPAE64%"=="%on%" (Set "optPAE64=%off%") Else (Set "optPAE64=%on%" & Set "optPAE4=%off%")) & GoTo MENU If ERRORLEVEL 6 (If "%optPAE4%"=="%on%" (Set "optPAE4=%off%") Else (Set "optPAE4=%on%" & Set "optPAE64=%off%")) & GoTo MENU If ERRORLEVEL 5 (If "%optACPI%"=="%on%" (Set "optACPI=%off%" & Set "optTF=%off%") Else (Set "optACPI=%on%" & Set "optTF=%on%")) & GoTo MENU If ERRORLEVEL 4 (If "%optMSDC%"=="%on%" (Set "optMSDC=%off%") Else (Set "optMSDC=%on%")) & GoTo MENU If ERRORLEVEL 3 (If "%optMUSB%"=="%on%" (Set "optMUSB=%off%" & Set "optKMDF=%off%" & Set "optUAS=%off%") Else (Set "optMUSB=%on%" & Set "optUAS=%on%" & Set "optA1USB=%off%")) & GoTo MENU If ERRORLEVEL 2 (If "%optMNVMe%"=="%on%" (Set "optMNVMe=%off%") Else (Set "optMNVMe=%on%" & Set "optK3NVMe=%off%" & Set "optINVMe=%off%" & Set "optSMNVMe=%off%" & Set "optSNVMe=%off%")) & GoTo MENU If ERRORLEVEL 1 (If "%optKSATA%"=="%on%" (Set "optKSATA=%off%" & Set "optDPB=%off%") Else (Set "optKSATA=%on%" & Set "optDPB=%on%" & Set "optMSATA=%off%" & Set "optJMSATA=%off%" & Set "optAMSATA=%off%" & Set "optASATA=%off%" & Set "optUIAHCI=%off%")) & GoTo MENU ::ECHO. ::Set /P op="--------> Toggle your option(s) AND PRESS ENTER: " ::If /I "%op%"=="1" (If "%optNAME%"=="%on%" (Set "optNAME=%off%") Else (Set "optNAME=%on%")) & GoTo MENU ::If /I "%op%"=="X" EXIT ::If /I "%op%"=="Z" GoTo CONTINUE ::GoTo MENU :EchoColor (Text, Color) MkDir "%Temp%\_%1" 1>NUL PushD "%Temp%\_%1" For /f %%a in ('Echo PROMPT $H ^| "CMD"') do Set "bs=%%a" "%1" FindStr /l /i /b /p /a:%2 /s /c:"_" "%1" NUL 2>&1 && GoTo SKIP ECHO. ECHO No option were selected. O_o ? GoTo END :SKIP ECHO. ECHO Extracting WinXP-IE "*(Vanilla).iso" file . . . RmDir /s /q "%TempDir%" 2>NUL RmDir /s /q "%CompileDir%" 2>NUL ping -n 3 localhost 1>NUL For /f "delims==" %%i in ('Dir /b /o:-n "..\*(Vanilla).iso" 2^>nul') do Set "VDir=..\%%i" For /f "delims==" %%i in ('Dir /b /o:-n ".\*(Vanilla).iso" 2^>nul') do Set "VDir=.\%%i" ".\Utilities\7z.exe" x "%VDir%" -y -o"%CompileDir%" -bso0 If "%ERRORLEVEL%" NEQ "0" ECHO. & ECHO INFO: Make sure that the ISO file is in the same folder or parent folder as & ECHO the script, and that the ISO file is also named "*(Vanilla).iso". & ECHO. & Pause & GoTo END MkDir "%TempDir%" Echo %optACPI% %optAVX% %optPAE4% %optPAE64% %optTF% | FindStr /l /i "%on%" >NUL 2>&1 || GoTo SKIP ECHO. If Exist "%CompileDir%\I386\SP3.CAB" (Set "WCF=SP3") Else (Set "WCF=DRIVER") RmDir /s /q "%TempDir%\%WCF%-cab" 2>NUL ECHO Extracting %WCF%.cab file . . . ping -n 3 localhost 1>NUL ".\Utilities\7z.exe" x "%CompileDir%\I386\%WCF%.CAB" -y -o"%TempDir%\%WCF%-cab" -bso0 :SKIP If "%optDPB%"=="%off%" GoTo SKIP ECHO. ECHO -------------------------[ DriverPacks BASE Remover ]-------------------------- ECHO. If Not Exist "%CompileDir%\I386\SETUP.ORG" ECHO SKIPED: No DriverPacks BASE was found in the ISO file. & GoTo SKIP If Exist "%CompileDir%\I386\ADPU160M.ORG" GoTo DPM ECHO Creating a backup file of ".\I386\WINNT.SIF" to ".\OEM\WINNT.SIF.backup" . . . ping -n 3 localhost 1>NUL COPY "%CompileDir%\I386\WINNT.SIF" "%CompileDir%\OEM\WINNT.SIF.backup" /V /Y /Z 1>NUL ECHO. ECHO Replacing modified Setup files with the original Setup files . . . ping -n 3 localhost 1>NUL MOVE /y "%CompileDir%\I386\DOSNET.ORG" "%CompileDir%\I386\DOSNET.INF" 1>NUL MOVE /y "%CompileDir%\I386\SETUP.ORG" "%CompileDir%\I386\SETUP.EX_" 1>NUL MOVE /y "%CompileDir%\I386\TXTSETUP.ORG" "%CompileDir%\I386\TXTSETUP.SIF" 1>NUL MOVE /y "%CompileDir%\I386\WINNT.ORG" "%CompileDir%\I386\WINNT.SIF" 1>NUL ECHO. ECHO Deleting all DriverPacks BASE files . . . ping -n 3 localhost 1>NUL RmDir /s /q "%CompileDir%\OEM\bin" DEL /f "%CompileDir%\OEM\DP*.7z" DEL /f "%CompileDir%\OEM\DP_Install_Tool.cmd" DEL /f "%CompileDir%\OEM\DPINST.exe" DEL /f "%CompileDir%\OEM\DPInst.xml" DEL /f "%CompileDir%\I386\PRESETUP.CMD" DEL /f "%CompileDir%\I386\SETUPORG.EXE" GoTo SKIP :DPM ECHO Creating a backup file of ".\I386\WINNT.SIF" to ".\OEM\WINNT.SIF.backup" . . . ping -n 3 localhost 1>NUL COPY "%CompileDir%\I386\WINNT.SIF" "%CompileDir%\OEM\WINNT.SIF.backup" /V /Y /Z 1>NUL ECHO. ECHO Replacing modified Setup files with the original Setup files . . . ping -n 3 localhost 1>NUL MOVE /y "%CompileDir%\I386\ADPU160M.ORG" "%CompileDir%\I386\ADPU160M.SY_" 1>NUL MOVE /y "%CompileDir%\I386\DAC2W2K.ORG" "%CompileDir%\I386\DAC2W2K.SY_" 1>NUL MOVE /y "%CompileDir%\I386\DAC960NT.ORG" "%CompileDir%\I386\DAC960NT.SY_" 1>NUL MOVE /y "%CompileDir%\I386\DOSNET.ORG" "%CompileDir%\I386\DOSNET.INF" 1>NUL MOVE /y "%CompileDir%\I386\DPTI2O.ORG" "%CompileDir%\I386\DPTI2O.SY_" 1>NUL MOVE /y "%CompileDir%\I386\MRAID35X.ORG" "%CompileDir%\I386\MRAID35X.SY_" 1>NUL MOVE /y "%CompileDir%\I386\PERC2.ORG" "%CompileDir%\I386\PERC2.SY_" 1>NUL MOVE /y "%CompileDir%\I386\QL12160.ORG" "%CompileDir%\I386\QL12160.SY_" 1>NUL MOVE /y "%CompileDir%\I386\SETUP.ORG" "%CompileDir%\I386\SETUP.EX_" 1>NUL MOVE /y "%CompileDir%\I386\SYM_HI.ORG" "%CompileDir%\I386\SYM_HI.SY_" 1>NUL MOVE /y "%CompileDir%\I386\SYMC8XX.ORG" "%CompileDir%\I386\SYMC8XX.SY_" 1>NUL MOVE /y "%CompileDir%\I386\SYMC810.ORG" "%CompileDir%\I386\SYMC810.SY_" 1>NUL MOVE /y "%CompileDir%\I386\TXTSETUP.ORG" "%CompileDir%\I386\TXTSETUP.SIF" 1>NUL MOVE /y "%CompileDir%\I386\ULTRA.ORG" "%CompileDir%\I386\ULTRA.SY_" 1>NUL MOVE /y "%CompileDir%\I386\VIAIDE.ORG" "%CompileDir%\I386\VIAIDE.SY_" 1>NUL MOVE /y "%CompileDir%\I386\WINNT.ORG" "%CompileDir%\I386\WINNT.SIF" 1>NUL ECHO. ECHO Deleting all DriverPacks BASE files . . . ping -n 3 localhost 1>NUL RmDir /s /q "%CompileDir%\OEM\bin" DEL /f "%CompileDir%\OEM\DP*.7z" DEL /f "%CompileDir%\OEM\DP_Install_Tool.cmd" DEL /f "%CompileDir%\OEM\DPINST.exe" DEL /f "%CompileDir%\OEM\DPInst.xml" DEL /f "%CompileDir%\I386\2310_00.SY_" DEL /f "%CompileDir%\I386\272X_1X.SY_" DEL /f "%CompileDir%\I386\274X_3X.SY_" DEL /f "%CompileDir%\I386\3WAREDRV.SY_" DEL /f "%CompileDir%\I386\3WAREGSM.SY_" DEL /f "%CompileDir%\I386\3WDRV100.SY_" DEL /f "%CompileDir%\I386\A320RAID.SY_" DEL /f "%CompileDir%\I386\AAC.SY_" DEL /f "%CompileDir%\I386\AACSAS.SY_" DEL /f "%CompileDir%\I386\AAR1210.SY_" DEL /f "%CompileDir%\I386\AAR81XX.SY_" DEL /f "%CompileDir%\I386\ADP3132.SY_" DEL /f "%CompileDir%\I386\ADP94XX.SY_" DEL /f "%CompileDir%\I386\ADPU320.SY_" DEL /f "%CompileDir%\I386\AEC6210.SY_" DEL /f "%CompileDir%\I386\AEC6260.SY_" DEL /f "%CompileDir%\I386\AEC6280.SY_" DEL /f "%CompileDir%\I386\AEC6293.SY_" DEL /f "%CompileDir%\I386\AEC67160.SY_" DEL /f "%CompileDir%\I386\AEC67162.SY_" DEL /f "%CompileDir%\I386\AEC671X.SY_" DEL /f "%CompileDir%\I386\AEC6880.SY_" DEL /f "%CompileDir%\I386\AEC6897.SY_" DEL /f "%CompileDir%\I386\AEC68X5.SY_" DEL /f "%CompileDir%\I386\AHCI886X.SY_" DEL /f "%CompileDir%\I386\AHCIT3.SY_" DEL /f "%CompileDir%\I386\AHCIT3R.SY_" DEL /f "%CompileDir%\I386\AHCIX70R.SY_" DEL /f "%CompileDir%\I386\AHCIX7XX.SY_" DEL /f "%CompileDir%\I386\AMDBUSDR.SY_" DEL /f "%CompileDir%\I386\AMDEIDE.SY_" DEL /f "%CompileDir%\I386\AMDHUB30.SY_" DEL /f "%CompileDir%\I386\AMDIDE.SY_" DEL /f "%CompileDir%\I386\AMDXHC.SY_" DEL /f "%CompileDir%\I386\ARCM_X86.SY_" DEL /f "%CompileDir%\I386\ASAHCI32.SY_" DEL /f "%CompileDir%\I386\ASMTHUB3.SY_" DEL /f "%CompileDir%\I386\ASMTXHCI.SY_" DEL /f "%CompileDir%\I386\ATIIDE.SY_" DEL /f "%CompileDir%\I386\CDA1000.SY_" DEL /f "%CompileDir%\I386\CERCSR6.SY_" DEL /f "%CompileDir%\I386\CPQARRY2.SY_" DEL /f "%CompileDir%\I386\CPQCISSM.SY_" DEL /f "%CompileDir%\I386\DC7280.SY_" DEL /f "%CompileDir%\I386\DriverPack_MassStorage_wnt5_x86-32.ini" 2>NUL DEL /f "%CompileDir%\I386\ETRONH.SY_" DEL /f "%CompileDir%\I386\ETRONS.SY_" DEL /f "%CompileDir%\I386\ETRONX.SY_" DEL /f "%CompileDir%\I386\FAST2XXP.SY_" DEL /f "%CompileDir%\I386\FASTSX.SY_" DEL /f "%CompileDir%\I386\FASTTRAK.SY_" DEL /f "%CompileDir%\I386\FST376XP.SY_" DEL /f "%CompileDir%\I386\FTTXR52P.SY_" DEL /f "%CompileDir%\I386\FTTXR54P.SY_" DEL /f "%CompileDir%\I386\FTTXR5_O.SY_" DEL /f "%CompileDir%\I386\HPCISSM2.SY_" DEL /f "%CompileDir%\I386\HPT371.SY_" DEL /f "%CompileDir%\I386\HPT374.SY_" DEL /f "%CompileDir%\I386\HPT3XXX.SY_" DEL /f "%CompileDir%\I386\HPTIOP.SY_" DEL /f "%CompileDir%\I386\HPTMV.SY_" DEL /f "%CompileDir%\I386\HPTMV6.SY_" DEL /f "%CompileDir%\I386\HPTMVIOP.SY_" DEL /f "%CompileDir%\I386\IASTOR0.SY_" DEL /f "%CompileDir%\I386\IASTOR2.SY_" DEL /f "%CompileDir%\I386\IASTOR3.SY_" DEL /f "%CompileDir%\I386\IASTOR4.SY_" DEL /f "%CompileDir%\I386\IASTOR5.SY_" DEL /f "%CompileDir%\I386\IASTOR6.SY_" DEL /f "%CompileDir%\I386\IASTOR7.SY_" DEL /f "%CompileDir%\I386\IASTOR9.SY_" DEL /f "%CompileDir%\I386\IDE376XP.SY_" DEL /f "%CompileDir%\I386\INIC162X.SY_" DEL /f "%CompileDir%\I386\IPSRAIDN.SY_" DEL /f "%CompileDir%\I386\ITEATAPI.SY_" DEL /f "%CompileDir%\I386\ITERAID.SY_" DEL /f "%CompileDir%\I386\JRAID.SY_" DEL /f "%CompileDir%\I386\M5228.SY_" DEL /f "%CompileDir%\I386\M5281.SY_" DEL /f "%CompileDir%\I386\M5287.SY_" DEL /f "%CompileDir%\I386\M5288.SY_" DEL /f "%CompileDir%\I386\M5289.SY_" DEL /f "%CompileDir%\I386\MEGAATA.SY_" DEL /f "%CompileDir%\I386\MEGAIDE.SY_" DEL /f "%CompileDir%\I386\MEGASAS.SY_" DEL /f "%CompileDir%\I386\MEGASR1.SY_" DEL /f "%CompileDir%\I386\MEGASR2.SY_" DEL /f "%CompileDir%\I386\MSVMSCSI.SY_" DEL /f "%CompileDir%\I386\MV614X.SY_" DEL /f "%CompileDir%\I386\MV61XX.SY_" DEL /f "%CompileDir%\I386\MV61XXMM.SY_" DEL /f "%CompileDir%\I386\MV64XX.SY_" DEL /f "%CompileDir%\I386\MV64XXMM.SY_" DEL /f "%CompileDir%\I386\MV91XX.SY_" DEL /f "%CompileDir%\I386\MV94XX.SY_" DEL /f "%CompileDir%\I386\MVSATA.SY_" DEL /f "%CompileDir%\I386\MVXXMM.SY_" DEL /f "%CompileDir%\I386\NFRD960X.SY_" DEL /f "%CompileDir%\I386\NUSB3HUB.SY_" DEL /f "%CompileDir%\I386\NUSB3XHC.SY_" DEL /f "%CompileDir%\I386\NVATA.SY_" DEL /f "%CompileDir%\I386\NVATABUS.SY_" DEL /f "%CompileDir%\I386\NVATARD.SY_" DEL /f "%CompileDir%\I386\NVGTS6.SY_" DEL /f "%CompileDir%\I386\NVGTS6R.SY_" DEL /f "%CompileDir%\I386\NVGTS7.SY_" DEL /f "%CompileDir%\I386\NVGTS7R.SY_" DEL /f "%CompileDir%\I386\NVLEGACY.SY_" DEL /f "%CompileDir%\I386\NVRAID.SY_" DEL /f "%CompileDir%\I386\NVRD327R.SY_" DEL /f "%CompileDir%\I386\PNP649R.SY_" DEL /f "%CompileDir%\I386\PNP680.SY_" DEL /f "%CompileDir%\I386\PNP680R.SY_" DEL /f "%CompileDir%\I386\PRESETUP.CMD" DEL /f "%CompileDir%\I386\PRFSX4XP.SY_" DEL /f "%CompileDir%\I386\QL2100.SY_" DEL /f "%CompileDir%\I386\QL2200.SY_" DEL /f "%CompileDir%\I386\R750.SY_" DEL /f "%CompileDir%\I386\RAIDSRC.SY_" DEL /f "%CompileDir%\I386\RC32XX.SY_" DEL /f "%CompileDir%\I386\RCRAID1.SY_" DEL /f "%CompileDir%\I386\RCRAID2.SY_" DEL /f "%CompileDir%\I386\RR172X.SY_" DEL /f "%CompileDir%\I386\RR174X.SY_" DEL /f "%CompileDir%\I386\RR2210.SY_" DEL /f "%CompileDir%\I386\RR232X.SY_" DEL /f "%CompileDir%\I386\RR2340.SY_" DEL /f "%CompileDir%\I386\RR2522.SY_" DEL /f "%CompileDir%\I386\RR2644.SY_" DEL /f "%CompileDir%\I386\RR2680.SY_" DEL /f "%CompileDir%\I386\RR26XX.SY_" DEL /f "%CompileDir%\I386\RR276X.SY_" DEL /f "%CompileDir%\I386\RR278X.SY_" DEL /f "%CompileDir%\I386\RR62X.SY_" DEL /f "%CompileDir%\I386\RR640L.SY_" DEL /f "%CompileDir%\I386\RR64X.SY_" DEL /f "%CompileDir%\I386\RUSB3HUB.SY_" DEL /f "%CompileDir%\I386\RUSB3XHC.SY_" DEL /f "%CompileDir%\I386\S150SX8.SY_" DEL /f "%CompileDir%\I386\SAS2XP86.SY_" DEL /f "%CompileDir%\I386\SETUPORG.EXE" DEL /f "%CompileDir%\I386\SI3112.SY_" DEL /f "%CompileDir%\I386\SI3112R.SY_" DEL /f "%CompileDir%\I386\SI3114.SY_" DEL /f "%CompileDir%\I386\SI3114R.SY_" DEL /f "%CompileDir%\I386\SI3114R5.SY_" DEL /f "%CompileDir%\I386\SI3124.SY_" DEL /f "%CompileDir%\I386\SI3124R.SY_" DEL /f "%CompileDir%\I386\SI3124R5.SY_" DEL /f "%CompileDir%\I386\SI3132B.SY_" DEL /f "%CompileDir%\I386\SI3132B2.SY_" DEL /f "%CompileDir%\I386\SI3132B3.SY_" DEL /f "%CompileDir%\I386\SI3132B4.SY_" DEL /f "%CompileDir%\I386\SI3132B5.SY_" DEL /f "%CompileDir%\I386\SI3132B6.SY_" DEL /f "%CompileDir%\I386\SI3132R5.SY_" DEL /f "%CompileDir%\I386\SI3531.SY_" DEL /f "%CompileDir%\I386\SISIDE.SY_" DEL /f "%CompileDir%\I386\SISRAID.SY_" DEL /f "%CompileDir%\I386\SISRAID2.SY_" DEL /f "%CompileDir%\I386\SISRAID4.SY_" DEL /f "%CompileDir%\I386\SPTRAK.SY_" DEL /f "%CompileDir%\I386\SYMMPI.SY_" DEL /f "%CompileDir%\I386\SYMMPIV.SY_" DEL /f "%CompileDir%\I386\TIHUB3.SY_" DEL /f "%CompileDir%\I386\TIXHCI.SY_" DEL /f "%CompileDir%\I386\ULSATA.SY_" DEL /f "%CompileDir%\I386\ULSATA2.SY_" DEL /f "%CompileDir%\I386\VIAMRAID.SY_" DEL /f "%CompileDir%\I386\VIAPDSK.SY_" DEL /f "%CompileDir%\I386\VIOSTOR.SY_" DEL /f "%CompileDir%\I386\VMSCSI.SY_" DEL /f "%CompileDir%\I386\VSTXRAID.SY_" DEL /f "%CompileDir%\I386\VSTXWDC.SY_" :SKIP Echo %optKSATA% %optMSATA% %optASATA% %optMNVMe% %optK3NVMe% %optINVMe% %optSNVMe% %optSMNVMe% %optMUSB% %optMSDC% %optKMDF% | FindStr /l /i "%on%" >NUL 2>&1 || GoTo SKIP ECHO. ECHO --------------------------[ NTOSKRNL 8 Emu_Extender ]-------------------------- ECHO. ECHO INFO: Required for Win7+8-SATA, SD+MMC, NVMe, Win8-USB3.x, KMDF-1.11. ECHO. ECHO Copying file into the temporary folder . . . ping -n 3 localhost 1>NUL XCOPY ".\Patches\Miscellaneous\ntoskrn8.sys" "%TempDir%" /V /Y /Z 1>NUL XCOPY "%CompileDir%\I386\DOSNET.INF" "%TempDir%" /V /Y /Z 1>NUL XCOPY "%CompileDir%\I386\TXTSETUP.SIF" "%TempDir%" /V /Y /Z 1>NUL ECHO. ECHO Adding entries to the Windows XP Setup source files . . . ping -n 3 localhost 1>NUL CALL ".\Utilities\JREPL.bat" "\[FloppyFiles\.1\]" "[FloppyFiles.1]\r\nd1,ntoskrn8.sys" /XSEQ /UTFA /F "%TempDir%\DOSNET.INF" /O - CALL ".\Utilities\JREPL.bat" "\[Files\]" "[Files]\r\nd1,ntoskrn8.sys" /XSEQ /UTFA /F "%TempDir%\DOSNET.INF" /O - CALL ".\Utilities\JREPL.bat" "\[SourceDisksFiles\.x86\]" "[SourceDisksFiles.x86]\r\nntoskrn8.sys = 1,,,,,,3_,4,0,0,,1,4" /XSEQ /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "\[FileFlags\]" "[FileFlags]\r\nntoskrn8.sys =16" /XSEQ /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - ECHO. ECHO Adding files into the Windows XP Setup source folder . . . ping -n 3 localhost 1>NUL ".\Utilities\makecab.exe" "%TempDir%\ntoskrn8.sys" /L "%CompileDir%\I386" 1>NUL XCOPY "%TempDir%\DOSNET.INF" "%CompileDir%\I386" /V /Y /Z 1>NUL XCOPY "%TempDir%\TXTSETUP.SIF" "%CompileDir%\I386" /V /Y /Z 1>NUL :SKIP Echo %optNONE% | FindStr /l /i "%on%" >NUL 2>&1 || GoTo SKIP ECHO. ECHO --------------------------[ STORPORT 8 Emu_Extender ]-------------------------- ECHO. ECHO INFO: Required for None. ECHO. ECHO Copying file into the temporary folder . . . ping -n 3 localhost 1>NUL XCOPY ".\Patches\Miscellaneous\storpor8.sys" "%TempDir%" /V /Y /Z 1>NUL XCOPY "%CompileDir%\I386\DOSNET.INF" "%TempDir%" /V /Y /Z 1>NUL XCOPY "%CompileDir%\I386\TXTSETUP.SIF" "%TempDir%" /V /Y /Z 1>NUL ECHO. ECHO Adding entries to the Windows XP Setup source files . . . ping -n 3 localhost 1>NUL CALL ".\Utilities\JREPL.bat" "\[FloppyFiles\.1\]" "[FloppyFiles.1]\r\nd1,storpor8.sys" /XSEQ /UTFA /F "%TempDir%\DOSNET.INF" /O - CALL ".\Utilities\JREPL.bat" "\[Files\]" "[Files]\r\nd1,storpor8.sys" /XSEQ /UTFA /F "%TempDir%\DOSNET.INF" /O - CALL ".\Utilities\JREPL.bat" "\[SourceDisksFiles\.x86\]" "[SourceDisksFiles.x86]\r\nstorpor8.sys = 1,,,,,,3_,4,0,0,,1,4" /XSEQ /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "\[FileFlags\]" "[FileFlags]\r\nstorpor8.sys =16" /XSEQ /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - ECHO. ECHO Adding files into the Windows XP Setup source folder . . . ping -n 3 localhost 1>NUL ".\Utilities\makecab.exe" "%TempDir%\storpor8.sys" /L "%CompileDir%\I386" 1>NUL XCOPY "%TempDir%\DOSNET.INF" "%CompileDir%\I386" /V /Y /Z 1>NUL XCOPY "%TempDir%\TXTSETUP.SIF" "%CompileDir%\I386" /V /Y /Z 1>NUL :SKIP Echo %optKSATA% %optMSATA% %optJMSATA% %optASATA% %optMNVMe% %optK3NVMe% %optINVMe% %optSNVMe% %optSMNVMe% %optMUSB% | FindStr /l /i "%on%" >NUL 2>&1 || GoTo SKIP ECHO. ECHO -----------------------------[ StorPort 7 Driver ]----------------------------- ECHO. ECHO INFO: Required for Win7+8-SATA, NVMe, Microsoft-USB. ECHO. ECHO Copying file into the temporary folder . . . ping -n 3 localhost 1>NUL XCOPY ".\Patches\Miscellaneous\storport.sys" "%TempDir%" /V /Y /Z 1>NUL XCOPY "%CompileDir%\I386\DOSNET.INF" "%TempDir%" /V /Y /Z 1>NUL XCOPY "%CompileDir%\I386\TXTSETUP.SIF" "%TempDir%" /V /Y /Z 1>NUL ECHO. ECHO Adding entries to the Windows XP Setup source files . . . ping -n 3 localhost 1>NUL CALL ".\Utilities\JREPL.bat" "\[FloppyFiles\.1\]" "[FloppyFiles.1]\r\nd1,storport.sys" /XSEQ /UTFA /F "%TempDir%\DOSNET.INF" /O - CALL ".\Utilities\JREPL.bat" "\[Files\]" "[Files]\r\nd1,storport.sys" /XSEQ /UTFA /F "%TempDir%\DOSNET.INF" /O - CALL ".\Utilities\JREPL.bat" "\[SourceDisksFiles\]" "[SourceDisksFiles]\r\nstorport.sys = 1,,,,,,3_,4,0,0,,1,4" /XSEQ /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "\[FileFlags\]" "[FileFlags]\r\nstorport.sys =16" /XSEQ /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - ECHO. ECHO Adding files into the Windows XP Setup source folder . . . ping -n 3 localhost 1>NUL ".\Utilities\makecab.exe" "%TempDir%\storport.sys" /L "%CompileDir%\I386" 1>NUL XCOPY "%TempDir%\DOSNET.INF" "%CompileDir%\I386" /V /Y /Z 1>NUL XCOPY "%TempDir%\TXTSETUP.SIF" "%CompileDir%\I386" /V /Y /Z 1>NUL :SKIP If "%optKMDF%"=="%off%" GoTo SKIP ECHO. ECHO ---------------------[ Kernel-Mode Driver Framework 1.11 ]--------------------- ECHO. ECHO Copying file into the temporary folder . . . ping -n 3 localhost 1>NUL XCOPY ".\Patches\Kernel-Mode Driver Framework 1.11\wdf01011.inf" "%TempDir%" /V /Y /Z 1>NUL XCOPY ".\Patches\Kernel-Mode Driver Framework 1.11\wdf01000.sys" "%TempDir%" /V /Y /Z 1>NUL XCOPY "%CompileDir%\I386\DOSNET.INF" "%TempDir%" /V /Y /Z 1>NUL XCOPY "%CompileDir%\I386\TXTSETUP.SIF" "%TempDir%" /V /Y /Z 1>NUL XCOPY "%CompileDir%\I386\HIVESYS.INF" "%TempDir%" /V /Y /Z 1>NUL ECHO. ECHO Adding entries to the Windows XP Setup source files . . . ping -n 3 localhost 1>NUL CALL ".\Utilities\JREPL.bat" "\[Files\]" "[Files]\r\nd1,wdf01011.inf" /XSEQ /UTFA /F "%TempDir%\DOSNET.INF" /O - FindStr /l /i /e "wdf01000.sys" "%TempDir%\DOSNET.INF" >NUL || CALL ".\Utilities\JREPL.bat" "\[Files\]" "[Files]\r\nd1,wdf01000.sys" /XSEQ /UTFA /F "%TempDir%\DOSNET.INF" /O - FindStr /l /i /e "wdfldr.sys" "%TempDir%\DOSNET.INF" >NUL || CALL ".\Utilities\JREPL.bat" "\[Files\]" "[Files]\r\nd1,wdfldr.sys" /XSEQ /UTFA /F "%TempDir%\DOSNET.INF" /O - CALL ".\Utilities\JREPL.bat" "\[SourceDisksFiles\]" "[SourceDisksFiles]\r\nwdf01011.inf = 1,,,,,,,20,0,0" /XSEQ /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - FindStr /r /i "wdf01000.sys.*,." "%TempDir%\TXTSETUP.SIF" >NUL || CALL ".\Utilities\JREPL.bat" "\[SourceDisksFiles\.x86\]" "[SourceDisksFiles.x86]\r\nwdf01000.sys = 100,,,,,,3_,4,0,0,,1,4" /XSEQ /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - FindStr /r /i "wdfldr.sys.*,." "%TempDir%\TXTSETUP.SIF" >NUL || CALL ".\Utilities\JREPL.bat" "\[SourceDisksFiles\.x86\]" "[SourceDisksFiles.x86]\r\nwdfldr.sys = 100,,,,,,3_,4,0,0,,1,4" /XSEQ /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - FindStr /r /i "wdf01000.sys.*=*16$" "%TempDir%\TXTSETUP.SIF" >NUL || CALL ".\Utilities\JREPL.bat" "\[FileFlags\]" "[FileFlags]\r\nwdf01000.sys =16" /XSEQ /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - FindStr /r /i "wdfldr.sys.*=*16$" "%TempDir%\TXTSETUP.SIF" >NUL || CALL ".\Utilities\JREPL.bat" "\[FileFlags\]" "[FileFlags]\r\nwdfldr.sys =16" /XSEQ /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "\[AddReg\]" "$txt=++counter==1?'[AddReg]\r\nHKLM,\x22SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\RunOnceEx\\X-KMDF\x22,\x22\x22,0x00000000,\x22Kernel-Mode Driver Framework 1.11\x22':$0" /JQ /UTFA /F "%TempDir%\HIVESYS.INF" /O - CALL ".\Utilities\JREPL.bat" "\[AddReg\]" "$txt=++counter==1?'[AddReg]\r\nHKLM,\x22SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\RunOnceEx\\X-KMDF\x22,\x22WUDF_INSTALL\x22,0x00000000,\x22RunDll32.exe SetupAPI.dll,InstallHinfSection PostSetup 132 wdf01011.inf\x22':$0" /JQ /UTFA /F "%TempDir%\HIVESYS.INF" /O - CALL ".\Utilities\JREPL.bat" "\[Version\]" "[Version]\r\nCatalogFile = 9-WXPIE.cat" /XSEQ /UTFA /F "%TempDir%\wdf01011.inf" /O - CALL ".\Utilities\JREPL.bat" "\[SourceDisksNames\]" "[SourceDisksNames]\r\n1 = \x22\x25KMDF\x25\x22,,,\x22\\I386\x22" /XSEQ /UTFA /F "%TempDir%\wdf01011.inf" /O - ECHO. ECHO Adding files into the Windows XP Setup source folder . . . ping -n 3 localhost 1>NUL ".\Utilities\makecab.exe" "%TempDir%\wdf01011.inf" /L "%CompileDir%\I386" 1>NUL ".\Utilities\makecab.exe" "%TempDir%\wdf01000.sys" /L "%CompileDir%\I386" 1>NUL ".\Utilities\makecab.exe" ".\Patches\Kernel-Mode Driver Framework 1.11\wdfldr.sys" /L "%CompileDir%\I386" 1>NUL XCOPY "%TempDir%\DOSNET.INF" "%CompileDir%\I386" /V /Y /Z 1>NUL XCOPY "%TempDir%\TXTSETUP.SIF" "%CompileDir%\I386" /V /Y /Z 1>NUL XCOPY "%TempDir%\HIVESYS.INF" "%CompileDir%\I386" /V /Y /Z 1>NUL :SKIP If "%optKSATA%"=="%off%" GoTo SKIP ECHO. ECHO -----------------------[ Kai-Schtrom SATA/AHCI Driver ]------------------------ ECHO. ECHO Copying files into the temporary folder . . . ping -n 3 localhost 1>NUL PushD ".\Patches\Kai-Schtrom SATA driver*" XCOPY ".\storahci.inf" "%TempDir%" /V /Y /Z 1>NUL XCOPY ".\storahci.sys" "%TempDir%" /V /Y /Z 1>NUL PushD "%~dp0" XCOPY "%CompileDir%\I386\DOSNET.INF" "%TempDir%" /V /Y /Z 1>NUL XCOPY "%CompileDir%\I386\TXTSETUP.SIF" "%TempDir%" /V /Y /Z 1>NUL XCOPY "%CompileDir%\I386\HIVESYS.INF" "%TempDir%" /V /Y /Z 1>NUL ECHO. ECHO Adding entries to the Windows XP Setup source files . . . ping -n 3 localhost 1>NUL CALL ".\Utilities\JREPL.bat" "\[FloppyFiles\.1\]" "[FloppyFiles.1]\r\nd1,storahci.sys" /XSEQ /UTFA /F "%TempDir%\DOSNET.INF" /O - CALL ".\Utilities\JREPL.bat" "\[Files\]" "[Files]\r\nd1,storahci.inf" /XSEQ /UTFA /F "%TempDir%\DOSNET.INF" /O - CALL ".\Utilities\JREPL.bat" "\[Files\]" "[Files]\r\nd1,storahci.sys" /XSEQ /UTFA /F "%TempDir%\DOSNET.INF" /O - CALL ".\Utilities\JREPL.bat" "\[SourceDisksFiles\.x86\]" "[SourceDisksFiles.x86]\r\nstorahci.inf = 1,,,,,,,20,0,0" /XSEQ /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "\[SourceDisksFiles\.x86\]" "[SourceDisksFiles.x86]\r\nstorahci.sys = 1,,,,,,4_,4,0,0,,1,4" /XSEQ /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "\[HardwareIdsDatabase\]" "[HardwareIdsDatabase]\r\nPCI\\CC_010601 = \x22storahci\x22" /XSEQ /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "\[SCSI\.Load\]" "[SCSI.Load]\r\nstorahci = storahci.sys,4" /XSEQ /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "\[FileFlags\]" "[FileFlags]\r\nstorahci.sys =16" /XSEQ /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "\[SCSI\]" "[SCSI]\r\nstorahci = \x22Standard SATA/AHCI Controller (Kai)\x22" /XSEQ /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "\[AddReg\]" "$txt=++counter==1?'[AddReg]\r\nHKLM,\x22SYSTEM\\CurrentControlSet\\Services\\storahci\\Parameters\x22,\x22BusType\x22,0x00010001,\x220xb\x22':$0" /JQ /UTFA /F "%TempDir%\HIVESYS.INF" /O - CALL ".\Utilities\JREPL.bat" "\[AddReg\]" "$txt=++counter==1?'[AddReg]\r\nHKLM,\x22SYSTEM\\CurrentControlSet\\Services\\storahci\\Parameters\\PnpInterface\x22,\x225\x22,0x00010001,\x220x1\x22':$0" /JQ /UTFA /F "%TempDir%\HIVESYS.INF" /O - CALL ".\Utilities\JREPL.bat" "\[Version\]" "[Version]\r\nCatalogFile = 9-WXPIE.cat" /XSEQ /UTFA /F "%TempDir%\storahci.inf" /O - CALL ".\Utilities\JREPL.bat" "\[SourceDisksNames\]" "[SourceDisksNames]\r\n1 = \x25DISKNAME\x25,,,\x22\\I386\x22" /XSEQ /UTFA /F "%TempDir%\storahci.inf" /O - ECHO. ECHO Adding files into the Windows XP Setup source folder . . . ping -n 3 localhost 1>NUL ".\Utilities\makecab.exe" "%TempDir%\storahci.inf" /L "%CompileDir%\I386" 1>NUL ".\Utilities\makecab.exe" "%TempDir%\storahci.sys" /L "%CompileDir%\I386" 1>NUL XCOPY "%TempDir%\DOSNET.INF" "%CompileDir%\I386" /V /Y /Z 1>NUL XCOPY "%TempDir%\TXTSETUP.SIF" "%CompileDir%\I386" /V /Y /Z 1>NUL XCOPY "%TempDir%\HIVESYS.INF" "%CompileDir%\I386" /V /Y /Z 1>NUL :SKIP If "%optMSATA%"=="%off%" GoTo SKIP ECHO. ECHO ------------------------[ Microsoft SATA/AHCI Driver ]------------------------- ECHO. ECHO Copying files into the temporary folder . . . ping -n 3 localhost 1>NUL PushD ".\Patches\Microsoft SATA driver*" XCOPY ".\genahci.inf" "%TempDir%" /V /Y /Z 1>NUL XCOPY ".\genahci.sys" "%TempDir%" /V /Y /Z 1>NUL PushD "%~dp0" XCOPY "%CompileDir%\I386\DOSNET.INF" "%TempDir%" /V /Y /Z 1>NUL XCOPY "%CompileDir%\I386\TXTSETUP.SIF" "%TempDir%" /V /Y /Z 1>NUL XCOPY "%CompileDir%\I386\HIVESYS.INF" "%TempDir%" /V /Y /Z 1>NUL ECHO. ECHO Adding entries to the Windows XP Setup source files . . . ping -n 3 localhost 1>NUL CALL ".\Utilities\JREPL.bat" "\[FloppyFiles\.1\]" "[FloppyFiles.1]\r\nd1,genahci.sys" /XSEQ /UTFA /F "%TempDir%\DOSNET.INF" /O - CALL ".\Utilities\JREPL.bat" "\[Files\]" "[Files]\r\nd1,genahci.inf" /XSEQ /UTFA /F "%TempDir%\DOSNET.INF" /O - CALL ".\Utilities\JREPL.bat" "\[Files\]" "[Files]\r\nd1,genahci.sys" /XSEQ /UTFA /F "%TempDir%\DOSNET.INF" /O - CALL ".\Utilities\JREPL.bat" "\[SourceDisksFiles\.x86\]" "[SourceDisksFiles.x86]\r\ngenahci.inf = 1,,,,,,,20,0,0" /XSEQ /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "\[SourceDisksFiles\.x86\]" "[SourceDisksFiles.x86]\r\ngenahci.sys = 1,,,,,,4_,4,0,0,,1,4" /XSEQ /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "\[HardwareIdsDatabase\]" "[HardwareIdsDatabase]\r\nPCI\\CC_010601 = \x22genahci\x22" /XSEQ /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "\[SCSI\.Load\]" "[SCSI.Load]\r\ngenahci = genahci.sys,4" /XSEQ /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "\[FileFlags\]" "[FileFlags]\r\ngenahci.sys =16" /XSEQ /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "\[SCSI\]" "[SCSI]\r\ngenahci = \x22Standard SATA/AHCI Controller (Microsoft)\x22" /XSEQ /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "\[AddReg\]" "$txt=++counter==1?'[AddReg]\r\nHKLM,\x22SYSTEM\\CurrentControlSet\\Services\\genahci\\Parameters\x22,\x22BusType\x22,0x00010001,\x220xb\x22':$0" /JQ /UTFA /F "%TempDir%\HIVESYS.INF" /O - CALL ".\Utilities\JREPL.bat" "\[AddReg\]" "$txt=++counter==1?'[AddReg]\r\nHKLM,\x22SYSTEM\\CurrentControlSet\\Services\\genahci\\Parameters\\PnpInterface\x22,\x225\x22,0x00010001,\x220x1\x22':$0" /JQ /UTFA /F "%TempDir%\HIVESYS.INF" /O - CALL ".\Utilities\JREPL.bat" "\[Version\]" "[Version]\r\nCatalogFile = 9-WXPIE.cat" /XSEQ /UTFA /F "%TempDir%\genahci.inf" /O - CALL ".\Utilities\JREPL.bat" "\[SourceDisksNames\]" "[SourceDisksNames]\r\n1 = \x25DiskName\x25,,,\x22\\I386\x22" /XSEQ /UTFA /F "%TempDir%\genahci.inf" /O - ECHO. ECHO Adding files into the Windows XP Setup source folder . . . ping -n 3 localhost 1>NUL ".\Utilities\makecab.exe" "%TempDir%\genahci.inf" /L "%CompileDir%\I386" 1>NUL ".\Utilities\makecab.exe" "%TempDir%\genahci.sys" /L "%CompileDir%\I386" 1>NUL XCOPY "%TempDir%\DOSNET.INF" "%CompileDir%\I386" /V /Y /Z 1>NUL XCOPY "%TempDir%\TXTSETUP.SIF" "%CompileDir%\I386" /V /Y /Z 1>NUL XCOPY "%TempDir%\HIVESYS.INF" "%CompileDir%\I386" /V /Y /Z 1>NUL :SKIP If "%optJMSATA%"=="%off%" GoTo SKIP ECHO. ECHO -------------------------[ JMicron SATA/AHCI Driver ]-------------------------- ECHO. ECHO Copying files into the temporary folder . . . ping -n 3 localhost 1>NUL PushD ".\Patches\JMB585 SATA driver*" XCOPY ".\jmb585.inf" "%TempDir%" /V /Y /Z 1>NUL XCOPY ".\jmb585.sys" "%TempDir%" /V /Y /Z 1>NUL PushD "%~dp0" XCOPY "%CompileDir%\I386\DOSNET.INF" "%TempDir%" /V /Y /Z 1>NUL XCOPY "%CompileDir%\I386\TXTSETUP.SIF" "%TempDir%" /V /Y /Z 1>NUL XCOPY "%CompileDir%\I386\HIVESYS.INF" "%TempDir%" /V /Y /Z 1>NUL ECHO. ECHO Adding entries to the Windows XP Setup source files . . . ping -n 3 localhost 1>NUL CALL ".\Utilities\JREPL.bat" "\[FloppyFiles\.1\]" "[FloppyFiles.1]\r\nd1,jmb585.sys" /XSEQ /UTFA /F "%TempDir%\DOSNET.INF" /O - CALL ".\Utilities\JREPL.bat" "\[Files\]" "[Files]\r\nd1,jmb585.inf" /XSEQ /UTFA /F "%TempDir%\DOSNET.INF" /O - CALL ".\Utilities\JREPL.bat" "\[Files\]" "[Files]\r\nd1,jmb585.sys" /XSEQ /UTFA /F "%TempDir%\DOSNET.INF" /O - CALL ".\Utilities\JREPL.bat" "\[SourceDisksFiles\.x86\]" "[SourceDisksFiles.x86]\r\njmb585.inf = 1,,,,,,,20,0,0" /XSEQ /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "\[SourceDisksFiles\.x86\]" "[SourceDisksFiles.x86]\r\njmb585.sys = 1,,,,,,4_,4,0,0,,1,4" /XSEQ /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "\[HardwareIdsDatabase\]" "[HardwareIdsDatabase]\r\nPCI\\CC_010601 = \x22jmb585\x22" /XSEQ /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "\[SCSI\.Load\]" "[SCSI.Load]\r\njmb585 = jmb585.sys,4" /XSEQ /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "\[FileFlags\]" "[FileFlags]\r\njmb585.sys =16" /XSEQ /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "\[SCSI\]" "[SCSI]\r\njmb585 = \x22Standard SATA/AHCI Controller (JMicron)\x22" /XSEQ /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "\[AddReg\]" "$txt=++counter==1?'[AddReg]\r\nHKLM,\x22SYSTEM\\CurrentControlSet\\Services\\jmb585\\Parameters\x22,\x22BusType\x22,0x00010001,\x220xb\x22':$0" /JQ /UTFA /F "%TempDir%\HIVESYS.INF" /O - CALL ".\Utilities\JREPL.bat" "\[AddReg\]" "$txt=++counter==1?'[AddReg]\r\nHKLM,\x22SYSTEM\\CurrentControlSet\\Services\\jmb585\\Parameters\\Device\x22,\x22NumberOfRequest\x22,0x00010001,\x221024\x22':$0" /JQ /UTFA /F "%TempDir%\HIVESYS.INF" /O - CALL ".\Utilities\JREPL.bat" "\[AddReg\]" "$txt=++counter==1?'[AddReg]\r\nHKLM,\x22SYSTEM\\CurrentControlSet\\Services\\jmb585\\Parameters\\PnpInterface\x22,\x225\x22,0x00010001,\x220x1\x22':$0" /JQ /UTFA /F "%TempDir%\HIVESYS.INF" /O - CALL ".\Utilities\JREPL.bat" "\[Version\]" "[Version]\r\nCatalogFile = 9-WXPIE.cat" /XSEQ /UTFA /F "%TempDir%\jmb585.inf" /O - CALL ".\Utilities\JREPL.bat" "\[SourceDisksNames\]" "[SourceDisksNames]\r\n1 = \x25DISKNAME\x25,,,\x22\\I386\x22" /XSEQ /UTFA /F "%TempDir%\jmb585.inf" /O - ECHO. ECHO Adding files into the Windows XP Setup source folder . . . ping -n 3 localhost 1>NUL ".\Utilities\makecab.exe" "%TempDir%\jmb585.inf" /L "%CompileDir%\I386" 1>NUL ".\Utilities\makecab.exe" "%TempDir%\jmb585.sys" /L "%CompileDir%\I386" 1>NUL XCOPY "%TempDir%\DOSNET.INF" "%CompileDir%\I386" /V /Y /Z 1>NUL XCOPY "%TempDir%\TXTSETUP.SIF" "%CompileDir%\I386" /V /Y /Z 1>NUL XCOPY "%TempDir%\HIVESYS.INF" "%CompileDir%\I386" /V /Y /Z 1>NUL :SKIP If "%optAMSATA%"=="%off%" GoTo SKIP ECHO. ECHO -------------------------[ ASMedia SATA/AHCI Driver ]-------------------------- ECHO. ECHO Copying files into the temporary folder . . . ping -n 3 localhost 1>NUL PushD ".\Patches\ASMedia SATA driver*" XCOPY ".\asahci32.inf" "%TempDir%" /V /Y /Z 1>NUL XCOPY ".\asahci32.sys" "%TempDir%" /V /Y /Z 1>NUL XCOPY ".\ahcipp32.dll" "%TempDir%" /V /Y /Z 1>NUL PushD "%~dp0" XCOPY "%CompileDir%\I386\DOSNET.INF" "%TempDir%" /V /Y /Z 1>NUL XCOPY "%CompileDir%\I386\TXTSETUP.SIF" "%TempDir%" /V /Y /Z 1>NUL XCOPY "%CompileDir%\I386\HIVESYS.INF" "%TempDir%" /V /Y /Z 1>NUL XCOPY "%CompileDir%\I386\SETUPREG.HIV" "%TempDir%" /V /Y /Z 1>NUL ECHO. ECHO Adding entries to the Windows XP Setup source files . . . ping -n 3 localhost 1>NUL CALL ".\Utilities\JREPL.bat" "\[FloppyFiles\.1\]" "[FloppyFiles.1]\r\nd1,asahci32.sys" /XSEQ /UTFA /F "%TempDir%\DOSNET.INF" /O - CALL ".\Utilities\JREPL.bat" "\[FloppyFiles\.1\]" "[FloppyFiles.1]\r\nd1,ahcipp32.dll" /XSEQ /UTFA /F "%TempDir%\DOSNET.INF" /O - CALL ".\Utilities\JREPL.bat" "\[Files\]" "[Files]\r\nd1,asahci32.inf" /XSEQ /UTFA /F "%TempDir%\DOSNET.INF" /O - CALL ".\Utilities\JREPL.bat" "\[Files\]" "[Files]\r\nd1,asahci32.sys" /XSEQ /UTFA /F "%TempDir%\DOSNET.INF" /O - CALL ".\Utilities\JREPL.bat" "\[Files\]" "[Files]\r\nd1,ahcipp32.dll" /XSEQ /UTFA /F "%TempDir%\DOSNET.INF" /O - CALL ".\Utilities\JREPL.bat" "\[SourceDisksFiles\.x86\]" "[SourceDisksFiles.x86]\r\nasahci32.inf = 1,,,,,,,20,0,0" /XSEQ /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "\[SourceDisksFiles\.x86\]" "[SourceDisksFiles.x86]\r\nasahci32.sys = 1,,,,,,4_,4,0,0,,1,4" /XSEQ /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "\[SourceDisksFiles\.x86\]" "[SourceDisksFiles.x86]\r\nahcipp32.dll = 1,,,,,,4_,4,0,0,,1,4" /XSEQ /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "\[HardwareIdsDatabase\]" "[HardwareIdsDatabase]\r\nPCI\\CC_010601 = \x22asahci32\x22" /XSEQ /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "\[SCSI\.Load\]" "[SCSI.Load]\r\nasahci32 = asahci32.sys,4" /XSEQ /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "\[FileFlags\]" "[FileFlags]\r\nasahci32.sys =16" /XSEQ /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "\[FileFlags\]" "[FileFlags]\r\nahcipp32.dll =16" /XSEQ /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "\[SCSI\]" "[SCSI]\r\nasahci32 = \x22Standard SATA/AHCI Controller (ASMedia)\x22" /XSEQ /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "\[AddReg\]" "$txt=++counter==1?'[AddReg]\r\nHKLM,\x22SYSTEM\\CurrentControlSet\\Services\\asahci32\x22,\x22ErrorControl\x22,0x00010001,\x220x1\x22':$0" /JQ /UTFA /F "%TempDir%\HIVESYS.INF" /O - CALL ".\Utilities\JREPL.bat" "\[AddReg\]" "$txt=++counter==1?'[AddReg]\r\nHKLM,\x22SYSTEM\\CurrentControlSet\\Services\\asahci32\x22,\x22Group\x22,0x00000000,\x22SCSI Miniport\x22':$0" /JQ /UTFA /F "%TempDir%\HIVESYS.INF" /O - CALL ".\Utilities\JREPL.bat" "\[AddReg\]" "$txt=++counter==1?'[AddReg]\r\nHKLM,\x22SYSTEM\\CurrentControlSet\\Services\\asahci32\x22,\x22Start\x22,0x00010001,\x220x0\x22':$0" /JQ /UTFA /F "%TempDir%\HIVESYS.INF" /O - CALL ".\Utilities\JREPL.bat" "\[AddReg\]" "$txt=++counter==1?'[AddReg]\r\nHKLM,\x22SYSTEM\\CurrentControlSet\\Services\\asahci32\x22,\x22Type\x22,0x00010001,\x220x1\x22':$0" /JQ /UTFA /F "%TempDir%\HIVESYS.INF" /O - CALL ".\Utilities\JREPL.bat" "\[AddReg\]" "$txt=++counter==1?'[AddReg]\r\nHKLM,\x22SYSTEM\\CurrentControlSet\\Services\\asahci32\\Parameters\x22,\x22BusType\x22,0x00010001,\x220xb\x22':$0" /JQ /UTFA /F "%TempDir%\HIVESYS.INF" /O - CALL ".\Utilities\JREPL.bat" "\[AddReg\]" "$txt=++counter==1?'[AddReg]\r\nHKLM,\x22SYSTEM\\CurrentControlSet\\Services\\asahci32\\Parameters\\Device\x22,\x22MaximumSGList\x22,0x00010001,\x220x21\x22':$0" /JQ /UTFA /F "%TempDir%\HIVESYS.INF" /O - CALL ".\Utilities\JREPL.bat" "\[AddReg\]" "$txt=++counter==1?'[AddReg]\r\nHKLM,\x22SYSTEM\\CurrentControlSet\\Services\\asahci32\\Parameters\\Device\x22,\x22NumberOfRequests\x22,0x00010001,\x220xf1\x22':$0" /JQ /UTFA /F "%TempDir%\HIVESYS.INF" /O - CALL ".\Utilities\JREPL.bat" "\[AddReg\]" "$txt=++counter==1?'[AddReg]\r\nHKLM,\x22SYSTEM\\CurrentControlSet\\Services\\asahci32\\Parameters\\PnpInterface\x22,\x225\x22,0x00010001,\x220x1\x22':$0" /JQ /UTFA /F "%TempDir%\HIVESYS.INF" /O - ".\Utilities\offlinereg-win32.exe" "%TempDir%\SETUPREG.HIV" "ControlSet001\Services\asahci32" setvalue "ErrorControl" "1" 4 1>NUL ".\Utilities\offlinereg-win32.exe" "%TempDir%\SETUPREG.HIV" "ControlSet001\Services\asahci32" setvalue "Group" "SCSI Miniport" 1 1>NUL ".\Utilities\offlinereg-win32.exe" "%TempDir%\SETUPREG.HIV" "ControlSet001\Services\asahci32" setvalue "Start" "0" 4 1>NUL ".\Utilities\offlinereg-win32.exe" "%TempDir%\SETUPREG.HIV" "ControlSet001\Services\asahci32" setvalue "Type" "1" 4 1>NUL ".\Utilities\offlinereg-win32.exe" "%TempDir%\SETUPREG.HIV" "ControlSet001\Services\asahci32\Parameters" setvalue "BusType" "b" 4 1>NUL ".\Utilities\offlinereg-win32.exe" "%TempDir%\SETUPREG.HIV" "ControlSet001\Services\asahci32\Parameters\Device" setvalue "MaximumSGList" "21" 4 1>NUL ".\Utilities\offlinereg-win32.exe" "%TempDir%\SETUPREG.HIV" "ControlSet001\Services\asahci32\Parameters\Device" setvalue "NumberOfRequests" "f1" 4 1>NUL ".\Utilities\offlinereg-win32.exe" "%TempDir%\SETUPREG.HIV" "ControlSet001\Services\asahci32\Parameters\PnpInterface" setvalue "5" "1" 4 1>NUL CALL ".\Utilities\JREPL.bat" "\[Version\]" "[Version]\r\nCatalogFile = 9-WXPIE.cat" /XSEQ /UTFA /F "%TempDir%\asahci32.inf" /O - CALL ".\Utilities\JREPL.bat" "\[SourceDisksNames\]" "[SourceDisksNames]\r\n1=\x25SOURCE_DISK\x25,,,\x22\\I386\x22" /XSEQ /UTFA /F "%TempDir%\asahci32.inf" /O - ECHO. ECHO Adding files into the Windows XP Setup source folder . . . ping -n 3 localhost 1>NUL ".\Utilities\makecab.exe" "%TempDir%\asahci32.inf" /L "%CompileDir%\I386" 1>NUL ".\Utilities\makecab.exe" "%TempDir%\asahci32.sys" /L "%CompileDir%\I386" 1>NUL ".\Utilities\makecab.exe" "%TempDir%\ahcipp32.dll" /L "%CompileDir%\I386" 1>NUL XCOPY "%TempDir%\DOSNET.INF" "%CompileDir%\I386" /V /Y /Z 1>NUL XCOPY "%TempDir%\TXTSETUP.SIF" "%CompileDir%\I386" /V /Y /Z 1>NUL XCOPY "%TempDir%\HIVESYS.INF" "%CompileDir%\I386" /V /Y /Z 1>NUL XCOPY "%TempDir%\SETUPREG.HIV" "%CompileDir%\I386" /V /Y /Z 1>NUL :SKIP If "%optASATA%"=="%off%" GoTo SKIP ECHO. ECHO ---------------------------[ AMD SATA/AHCI Driver ]---------------------------- ECHO. ECHO Copying files into the temporary folder . . . ping -n 3 localhost 1>NUL PushD ".\Patches\AMD SATA driver*" XCOPY ".\amd_sata.inf" "%TempDir%" /V /Y /Z 1>NUL XCOPY ".\amd_sata.sys" "%TempDir%" /V /Y /Z 1>NUL XCOPY ".\amd_xata.sys" "%TempDir%" /V /Y /Z 1>NUL PushD "%~dp0" XCOPY "%CompileDir%\I386\DOSNET.INF" "%TempDir%" /V /Y /Z 1>NUL XCOPY "%CompileDir%\I386\TXTSETUP.SIF" "%TempDir%" /V /Y /Z 1>NUL XCOPY "%CompileDir%\I386\HIVESYS.INF" "%TempDir%" /V /Y /Z 1>NUL ECHO. ECHO Adding entries to the Windows XP Setup source files . . . ping -n 3 localhost 1>NUL CALL ".\Utilities\JREPL.bat" "\[FloppyFiles\.1\]" "[FloppyFiles.1]\r\nd1,amd_sata.sys" /XSEQ /UTFA /F "%TempDir%\DOSNET.INF" /O - CALL ".\Utilities\JREPL.bat" "\[FloppyFiles\.1\]" "[FloppyFiles.1]\r\nd1,amd_xata.sys" /XSEQ /UTFA /F "%TempDir%\DOSNET.INF" /O - CALL ".\Utilities\JREPL.bat" "\[Files\]" "[Files]\r\nd1,amd_sata.inf" /XSEQ /UTFA /F "%TempDir%\DOSNET.INF" /O - CALL ".\Utilities\JREPL.bat" "\[Files\]" "[Files]\r\nd1,amd_sata.sys" /XSEQ /UTFA /F "%TempDir%\DOSNET.INF" /O - CALL ".\Utilities\JREPL.bat" "\[Files\]" "[Files]\r\nd1,amd_xata.sys" /XSEQ /UTFA /F "%TempDir%\DOSNET.INF" /O - CALL ".\Utilities\JREPL.bat" "\[SourceDisksFiles\.x86\]" "[SourceDisksFiles.x86]\r\namd_sata.inf = 1,,,,,,,20,0,0" /XSEQ /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "\[SourceDisksFiles\.x86\]" "[SourceDisksFiles.x86]\r\namd_sata.sys = 1,,,,,,4_,4,0,0,,1,4" /XSEQ /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "\[SourceDisksFiles\.x86\]" "[SourceDisksFiles.x86]\r\namd_xata.sys = 1,,,,,,4_,4,0,0,,1,4" /XSEQ /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "\[HardwareIdsDatabase\]" "[HardwareIdsDatabase]\r\nPCI\\CC_010601 = \x22amd_sata\x22" /XSEQ /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "\[HardwareIdsDatabase\]" "[HardwareIdsDatabase]\r\nPCI\\VEN_1022&CC_0106 = \x22amd_sata\x22" /XSEQ /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "\[HardwareIdsDatabase\]" "[HardwareIdsDatabase]\r\nPCI\\VEN_1002&CC_0106 = \x22amd_sata\x22" /XSEQ /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "\[SCSI\.Load\]" "[SCSI.Load]\r\namd_sata = amd_sata.sys,4" /XSEQ /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "\[SCSI\.Load\]" "[SCSI.Load]\r\namd_sata = amd_xata.sys,4" /XSEQ /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "\[FileFlags\]" "[FileFlags]\r\namd_sata.sys =16" /XSEQ /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "\[FileFlags\]" "[FileFlags]\r\namd_xata.sys =16" /XSEQ /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "\[SCSI\]" "[SCSI]\r\namd_sata = \x22Standard SATA/AHCI Controller (AMD)\x22" /XSEQ /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "\[AddReg\]" "$txt=++counter==1?'[AddReg]\r\nHKLM,\x22SYSTEM\\CurrentControlSet\\Services\\amd_sata\\Parameters\x22,\x22BusType\x22,0x00010001,\x220xb\x22':$0" /JQ /UTFA /F "%TempDir%\HIVESYS.INF" /O - CALL ".\Utilities\JREPL.bat" "\[AddReg\]" "$txt=++counter==1?'[AddReg]\r\nHKLM,\x22SYSTEM\\CurrentControlSet\\Services\\amd_sata\\Parameters\\Device\x22,\x22EnableQueryAccessAlignment\x22,0x00010001,\x220x0\x22':$0" /JQ /UTFA /F "%TempDir%\HIVESYS.INF" /O - CALL ".\Utilities\JREPL.bat" "\[AddReg\]" "$txt=++counter==1?'[AddReg]\r\nHKLM,\x22SYSTEM\\CurrentControlSet\\Services\\amd_sata\\Parameters\\PnpInterface\x22,\x225\x22,0x00010001,\x220x1\x22':$0" /JQ /UTFA /F "%TempDir%\HIVESYS.INF" /O - CALL ".\Utilities\JREPL.bat" "\[Version\]" "[Version]\r\nCatalogFile = 9-WXPIE.cat" /XSEQ /UTFA /F "%TempDir%\amd_sata.inf" /O - CALL ".\Utilities\JREPL.bat" "\[SourceDisksNames\]" "[SourceDisksNames]\r\n1 = \x25DiskId\x25,,,\x22\\I386\x22" /XSEQ /UTFA /F "%TempDir%\amd_sata.inf" /O - ECHO. ECHO Adding files into the Windows XP Setup source folder . . . ping -n 3 localhost 1>NUL ".\Utilities\makecab.exe" "%TempDir%\amd_sata.inf" /L "%CompileDir%\I386" 1>NUL ".\Utilities\makecab.exe" "%TempDir%\amd_sata.sys" /L "%CompileDir%\I386" 1>NUL ".\Utilities\makecab.exe" "%TempDir%\amd_xata.sys" /L "%CompileDir%\I386" 1>NUL XCOPY "%TempDir%\DOSNET.INF" "%CompileDir%\I386" /V /Y /Z 1>NUL XCOPY "%TempDir%\TXTSETUP.SIF" "%CompileDir%\I386" /V /Y /Z 1>NUL XCOPY "%TempDir%\HIVESYS.INF" "%CompileDir%\I386" /V /Y /Z 1>NUL :SKIP If "%optUIAHCI%"=="%off%" GoTo SKIP ECHO. ECHO ---------------------[ Universal Intel SATA/AHCI Driver ]---------------------- ECHO. ECHO INFO: The Universal Intel RST Software can be found in the 'Patches' folder. ECHO. ECHO Copying files into the temporary folder . . . ping -n 3 localhost 1>NUL PushD ".\Patches\Universal Intel RST Drivers+Software*\Drivers\x32" XCOPY ".\iaAHCI.inf" "%TempDir%" /V /Y /Z 1>NUL XCOPY ".\iaStor.sys" "%TempDir%" /V /Y /Z 1>NUL XCOPY ".\iaStorF.sys" "%TempDir%" /V /Y /Z 1>NUL PushD "%~dp0" XCOPY "%CompileDir%\I386\DOSNET.INF" "%TempDir%" /V /Y /Z 1>NUL XCOPY "%CompileDir%\I386\TXTSETUP.SIF" "%TempDir%" /V /Y /Z 1>NUL XCOPY "%CompileDir%\I386\HIVESYS.INF" "%TempDir%" /V /Y /Z 1>NUL ".\Utilities\7z.exe" x "%CompileDir%\I386\SYSSETUP.IN_" -y -o"%TempDir%" -bso0 -bsp0 If "%optDPB%"=="%on%" GoTo DONE If Not Exist "%CompileDir%\I386\ADPU160M.ORG" GoTo NEXT ECHO. ECHO Removing DriverPacks BASE entries in the Windows XP Setup source files . . . ping -n 3 localhost 1>NUL CALL ".\Utilities\JREPL.bat" "d1,iastor2\.sys\r\n" "" /XSEQ /M /UTFA /F "%TempDir%\DOSNET.INF" /O - CALL ".\Utilities\JREPL.bat" "d1,iastor3\.sys\r\n" "" /XSEQ /M /UTFA /F "%TempDir%\DOSNET.INF" /O - CALL ".\Utilities\JREPL.bat" "d1,iastor4\.sys\r\n" "" /XSEQ /M /UTFA /F "%TempDir%\DOSNET.INF" /O - CALL ".\Utilities\JREPL.bat" "d1,iastor5\.sys\r\n" "" /XSEQ /M /UTFA /F "%TempDir%\DOSNET.INF" /O - CALL ".\Utilities\JREPL.bat" "d1,iastor6\.sys\r\n" "" /XSEQ /M /UTFA /F "%TempDir%\DOSNET.INF" /O - CALL ".\Utilities\JREPL.bat" "d1,iastor7\.sys\r\n" "" /XSEQ /M /UTFA /F "%TempDir%\DOSNET.INF" /O - CALL ".\Utilities\JREPL.bat" "d1,iastor9\.sys\r\n" "" /XSEQ /M /UTFA /F "%TempDir%\DOSNET.INF" /O - CALL ".\Utilities\JREPL.bat" "iaStor2\.sys=1,,,,,,4_,4,1,,,1,4\r\n" "" /XSEQ /M /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "iaStor3\.sys=1,,,,,,4_,4,1,,,1,4\r\n" "" /XSEQ /M /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "iaStor4\.sys=1,,,,,,4_,4,1,,,1,4\r\n" "" /XSEQ /M /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "iaStor5\.sys=1,,,,,,4_,4,1,,,1,4\r\n" "" /XSEQ /M /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "iaStor6\.sys=1,,,,,,4_,4,1,,,1,4\r\n" "" /XSEQ /M /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "iaStor7\.sys=1,,,,,,4_,4,1,,,1,4\r\n" "" /XSEQ /M /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "iaStor2\.sys=1,,,,,,4_,4,1,,,1,4\r\n" "" /XSEQ /M /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "iaStor9\.sys=1,,,,,,4_,4,1,,,1,4\r\n" "" /XSEQ /M /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "PCI\\VEN_8086&DEV_.*=\x22iaStor2\x22\r\n" "" /XSEQ /M /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "PCI\\VEN_8086&DEV_.*=\x22iaStor3\x22\r\n" "" /XSEQ /M /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "PCI\\VEN_8086&DEV_.*=\x22iaStor4\x22\r\n" "" /XSEQ /M /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "PCI\\VEN_8086&DEV_.*=\x22iaStor9\x22\r\n" "" /XSEQ /M /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "iaStor2=iaStor2\.sys,4\r\n" "" /XSEQ /M /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "iastor3=iastor3\.sys,4\r\n" "" /XSEQ /M /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "iastor4=iastor4\.sys,4\r\n" "" /XSEQ /M /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "iaStor5=iaStor5\.sys,4\r\n" "" /XSEQ /M /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "iaStor6=iaStor6\.sys,4\r\n" "" /XSEQ /M /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "iastor7=iastor7\.sys,4\r\n" "" /XSEQ /M /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "iastor9=iastor9\.sys,4\r\n" "" /XSEQ /M /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "iaStor2=\x22Intel .*\x22\r\n" "" /XSEQ /M /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "iastor3=\x22Intel .*\x22\r\n" "" /XSEQ /M /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "iastor4=\x22Intel .*\x22\r\n" "" /XSEQ /M /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "iaStor5=\x22Intel .*\x22\r\n" "" /XSEQ /M /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "iaStor6=\x22Intel .*\x22\r\n" "" /XSEQ /M /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "iastor7=\x22Intel .*\x22\r\n" "" /XSEQ /M /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "iastor9=\x22Intel .*\x22\r\n" "" /XSEQ /M /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - :NEXT If Not Exist "%CompileDir%\OEM\DPM*.7z" GoTo NEXT ECHO. ECHO Editing DriverPacks BASE source files, Please wait . . . ping -n 3 localhost 1>NUL For /f "tokens=*" %%a in ('Dir /b /a:-d "%CompileDir%\OEM\DPM*.7z"') do Set "DPM_File=%%a" ".\Utilities\7z.exe" e "%CompileDir%\OEM\%DPM_File%" -y "DriverPack_MassStorage_wnt5_x86-32.ini" -o"%CompileDir%\OEM" -bso0 -bsp0 CALL ".\Utilities\JREPL.bat" "[I-2]" "[I-2_Removed]" /XSEQ /L /UTFA /F "%CompileDir%\OEM\DriverPack_MassStorage_wnt5_x86-32.ini" /O - CALL ".\Utilities\JREPL.bat" "[I-3]" "[I-3_Removed]" /XSEQ /L /UTFA /F "%CompileDir%\OEM\DriverPack_MassStorage_wnt5_x86-32.ini" /O - CALL ".\Utilities\JREPL.bat" "[I-4]" "[I-4_Removed]" /XSEQ /L /UTFA /F "%CompileDir%\OEM\DriverPack_MassStorage_wnt5_x86-32.ini" /O - CALL ".\Utilities\JREPL.bat" "[I-5]" "[I-5_Removed]" /XSEQ /L /UTFA /F "%CompileDir%\OEM\DriverPack_MassStorage_wnt5_x86-32.ini" /O - CALL ".\Utilities\JREPL.bat" "[I-6]" "[I-6_Removed]" /XSEQ /L /UTFA /F "%CompileDir%\OEM\DriverPack_MassStorage_wnt5_x86-32.ini" /O - CALL ".\Utilities\JREPL.bat" "[I-7]" "[I-7_Removed]" /XSEQ /L /UTFA /F "%CompileDir%\OEM\DriverPack_MassStorage_wnt5_x86-32.ini" /O - CALL ".\Utilities\JREPL.bat" "[I-9]" "[I-9_Removed]" /XSEQ /L /UTFA /F "%CompileDir%\OEM\DriverPack_MassStorage_wnt5_x86-32.ini" /O - ".\Utilities\7z.exe" u "%CompileDir%\OEM\%DPM_File%" "%CompileDir%\OEM\DriverPack_MassStorage_wnt5_x86-32.ini" -bso0 -bsp0 DEL /f "%CompileDir%\OEM\DriverPack_MassStorage_wnt5_x86-32.ini" ".\Utilities\7z.exe" d "%CompileDir%\OEM\%DPM_File%" "D\M\I\2" -bso0 -bsp0 ".\Utilities\7z.exe" d "%CompileDir%\OEM\%DPM_File%" "D\M\I\3" -bso0 -bsp0 ".\Utilities\7z.exe" d "%CompileDir%\OEM\%DPM_File%" "D\M\I\4" -bso0 -bsp0 ".\Utilities\7z.exe" d "%CompileDir%\OEM\%DPM_File%" "D\M\I\5" -bso0 -bsp0 ".\Utilities\7z.exe" d "%CompileDir%\OEM\%DPM_File%" "D\M\I\6" -bso0 -bsp0 ".\Utilities\7z.exe" d "%CompileDir%\OEM\%DPM_File%" "D\M\I\7" -bso0 -bsp0 ".\Utilities\7z.exe" d "%CompileDir%\OEM\%DPM_File%" "D\M\I\8" -bso0 -bsp0 ".\Utilities\7z.exe" d "%CompileDir%\OEM\%DPM_File%" "D\M\I\9" -bso0 -bsp0 ::For /f "tokens=*" %%a in ('Dir /b /a:-d "%CompileDir%\OEM\RunOnce\Programs\Driver Packs\Driver Packs v*.7z"') do Set "DP_File=%%a" ::".\Utilities\7z.exe" d "%CompileDir%\OEM\RunOnce\Programs\Driver Packs\%DP_File%" "WdfCoInstaller01007.dll" "WdfCoInstaller01009.dll" -r -bso0 -bsp0 :NEXT :DONE ECHO. ECHO Adding entries to the Windows XP Setup source files . . . ping -n 3 localhost 1>NUL CALL ".\Utilities\JREPL.bat" "\[FloppyFiles\.1\]" "[FloppyFiles.1]\r\nd1,iaStor.sys" /XSEQ /UTFA /F "%TempDir%\DOSNET.INF" /O - CALL ".\Utilities\JREPL.bat" "\[FloppyFiles\.1\]" "[FloppyFiles.1]\r\nd1,iaStorF.sys" /XSEQ /UTFA /F "%TempDir%\DOSNET.INF" /O - CALL ".\Utilities\JREPL.bat" "\[Files\]" "[Files]\r\nd1,iaAHCI.inf" /XSEQ /UTFA /F "%TempDir%\DOSNET.INF" /O - CALL ".\Utilities\JREPL.bat" "\[Files\]" "[Files]\r\nd1,iaStor.sys" /XSEQ /UTFA /F "%TempDir%\DOSNET.INF" /O - CALL ".\Utilities\JREPL.bat" "\[Files\]" "[Files]\r\nd1,iaStorF.sys" /XSEQ /UTFA /F "%TempDir%\DOSNET.INF" /O - CALL ".\Utilities\JREPL.bat" "\[SourceDisksFiles\.x86\]" "[SourceDisksFiles.x86]\r\niaAHCI.inf = 1,,,,,,,20,0,0" /XSEQ /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "\[SourceDisksFiles\.x86\]" "[SourceDisksFiles.x86]\r\niaStor.sys = 1,,,,,,4_,4,0,0,,1,4" /XSEQ /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "\[SourceDisksFiles\.x86\]" "[SourceDisksFiles.x86]\r\niaStorF.sys = 1,,,,,,4_,4,0,0,,1,4" /XSEQ /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "\[HardwareIdsDatabase\]" "[HardwareIdsDatabase]\r\nPCI\\VEN_8086&DEV_2681&CC_0106 = \x22iaStor\x22" /XSEQ /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "\[HardwareIdsDatabase\]" "[HardwareIdsDatabase]\r\nPCI\\VEN_8086&DEV_27C1&CC_0106 = \x22iaStor\x22" /XSEQ /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "\[HardwareIdsDatabase\]" "[HardwareIdsDatabase]\r\nPCI\\VEN_8086&DEV_27C5&CC_0106 = \x22iaStor\x22" /XSEQ /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "\[HardwareIdsDatabase\]" "[HardwareIdsDatabase]\r\nPCI\\VEN_8086&DEV_2821&CC_0106 = \x22iaStor\x22" /XSEQ /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "\[HardwareIdsDatabase\]" "[HardwareIdsDatabase]\r\nPCI\\VEN_8086&DEV_2824&CC_0106 = \x22iaStor\x22" /XSEQ /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "\[HardwareIdsDatabase\]" "[HardwareIdsDatabase]\r\nPCI\\VEN_8086&DEV_2829&CC_0106 = \x22iaStor\x22" /XSEQ /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "\[HardwareIdsDatabase\]" "[HardwareIdsDatabase]\r\nPCI\\VEN_8086&DEV_2922&CC_0106 = \x22iaStor\x22" /XSEQ /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "\[HardwareIdsDatabase\]" "[HardwareIdsDatabase]\r\nPCI\\VEN_8086&DEV_2923&CC_0106 = \x22iaStor\x22" /XSEQ /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "\[HardwareIdsDatabase\]" "[HardwareIdsDatabase]\r\nPCI\\VEN_8086&DEV_2929&CC_0106 = \x22iaStor\x22" /XSEQ /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "\[HardwareIdsDatabase\]" "[HardwareIdsDatabase]\r\nPCI\\VEN_8086&DEV_3A02&CC_0106 = \x22iaStor\x22" /XSEQ /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "\[HardwareIdsDatabase\]" "[HardwareIdsDatabase]\r\nPCI\\VEN_8086&DEV_3A03&CC_0106 = \x22iaStor\x22" /XSEQ /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "\[HardwareIdsDatabase\]" "[HardwareIdsDatabase]\r\nPCI\\VEN_8086&DEV_3A22&CC_0106 = \x22iaStor\x22" /XSEQ /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "\[HardwareIdsDatabase\]" "[HardwareIdsDatabase]\r\nPCI\\VEN_8086&DEV_3A23&CC_0106 = \x22iaStor\x22" /XSEQ /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "\[HardwareIdsDatabase\]" "[HardwareIdsDatabase]\r\nPCI\\VEN_8086&DEV_3B29&CC_0106 = \x22iaStor\x22" /XSEQ /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "\[HardwareIdsDatabase\]" "[HardwareIdsDatabase]\r\nPCI\\VEN_8086&DEV_3B2F&CC_0106 = \x22iaStor\x22" /XSEQ /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "\[HardwareIdsDatabase\]" "[HardwareIdsDatabase]\r\nPCI\\VEN_8086&DEV_3B22&CC_0106 = \x22iaStor\x22" /XSEQ /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "\[HardwareIdsDatabase\]" "[HardwareIdsDatabase]\r\nPCI\\VEN_8086&DEV_1C02&CC_0106 = \x22iaStor\x22" /XSEQ /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "\[HardwareIdsDatabase\]" "[HardwareIdsDatabase]\r\nPCI\\VEN_8086&DEV_1C03&CC_0106 = \x22iaStor\x22" /XSEQ /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "\[HardwareIdsDatabase\]" "[HardwareIdsDatabase]\r\nPCI\\VEN_8086&DEV_1D02&CC_0106 = \x22iaStor\x22" /XSEQ /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "\[HardwareIdsDatabase\]" "[HardwareIdsDatabase]\r\nPCI\\VEN_8086&DEV_8D02&CC_0106 = \x22iaStor\x22" /XSEQ /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "\[HardwareIdsDatabase\]" "[HardwareIdsDatabase]\r\nPCI\\VEN_8086&DEV_8D62&CC_0106 = \x22iaStor\x22" /XSEQ /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "\[HardwareIdsDatabase\]" "[HardwareIdsDatabase]\r\nPCI\\VEN_8086&DEV_1F22&CC_0106 = \x22iaStor\x22" /XSEQ /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "\[HardwareIdsDatabase\]" "[HardwareIdsDatabase]\r\nPCI\\VEN_8086&DEV_1F32&CC_0106 = \x22iaStor\x22" /XSEQ /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "\[HardwareIdsDatabase\]" "[HardwareIdsDatabase]\r\nPCI\\VEN_8086&DEV_0816&CC_0106 = \x22iaStor\x22" /XSEQ /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "\[HardwareIdsDatabase\]" "[HardwareIdsDatabase]\r\nPCI\\VEN_8086&DEV_0F23&CC_0106 = \x22iaStor\x22" /XSEQ /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "\[HardwareIdsDatabase\]" "[HardwareIdsDatabase]\r\nPCI\\VEN_8086&DEV_22A3&CC_0106 = \x22iaStor\x22" /XSEQ /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "\[HardwareIdsDatabase\]" "[HardwareIdsDatabase]\r\nPCI\\VEN_8086&DEV_5AE3&CC_0106 = \x22iaStor\x22" /XSEQ /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "\[HardwareIdsDatabase\]" "[HardwareIdsDatabase]\r\nPCI\\VEN_8086&DEV_31E3&CC_0106 = \x22iaStor\x22" /XSEQ /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "\[HardwareIdsDatabase\]" "[HardwareIdsDatabase]\r\nPCI\\VEN_8086&DEV_1E02&CC_0106 = \x22iaStor\x22" /XSEQ /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "\[HardwareIdsDatabase\]" "[HardwareIdsDatabase]\r\nPCI\\VEN_8086&DEV_1E03&CC_0106 = \x22iaStor\x22" /XSEQ /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "\[HardwareIdsDatabase\]" "[HardwareIdsDatabase]\r\nPCI\\VEN_8086&DEV_8C02&CC_0106 = \x22iaStor\x22" /XSEQ /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "\[HardwareIdsDatabase\]" "[HardwareIdsDatabase]\r\nPCI\\VEN_8086&DEV_8C03&CC_0106 = \x22iaStor\x22" /XSEQ /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "\[HardwareIdsDatabase\]" "[HardwareIdsDatabase]\r\nPCI\\VEN_8086&DEV_9C02&CC_0106 = \x22iaStor\x22" /XSEQ /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "\[HardwareIdsDatabase\]" "[HardwareIdsDatabase]\r\nPCI\\VEN_8086&DEV_9C03&CC_0106 = \x22iaStor\x22" /XSEQ /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "\[HardwareIdsDatabase\]" "[HardwareIdsDatabase]\r\nPCI\\VEN_8086&DEV_8C82&CC_0106 = \x22iaStor\x22" /XSEQ /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "\[HardwareIdsDatabase\]" "[HardwareIdsDatabase]\r\nPCI\\VEN_8086&DEV_8C83&CC_0106 = \x22iaStor\x22" /XSEQ /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "\[HardwareIdsDatabase\]" "[HardwareIdsDatabase]\r\nPCI\\VEN_8086&DEV_9C82&CC_0106 = \x22iaStor\x22" /XSEQ /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "\[HardwareIdsDatabase\]" "[HardwareIdsDatabase]\r\nPCI\\VEN_8086&DEV_9C83&CC_0106 = \x22iaStor\x22" /XSEQ /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "\[HardwareIdsDatabase\]" "[HardwareIdsDatabase]\r\nPCI\\VEN_8086&DEV_9D03&CC_0106 = \x22iaStor\x22" /XSEQ /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "\[HardwareIdsDatabase\]" "[HardwareIdsDatabase]\r\nPCI\\VEN_8086&DEV_A102&CC_0106 = \x22iaStor\x22" /XSEQ /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "\[HardwareIdsDatabase\]" "[HardwareIdsDatabase]\r\nPCI\\VEN_8086&DEV_A103&CC_0106 = \x22iaStor\x22" /XSEQ /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "\[HardwareIdsDatabase\]" "[HardwareIdsDatabase]\r\nPCI\\VEN_8086&DEV_A282&CC_0106 = \x22iaStor\x22" /XSEQ /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "\[HardwareIdsDatabase\]" "[HardwareIdsDatabase]\r\nPCI\\VEN_8086&DEV_9DD3&CC_0106 = \x22iaStor\x22" /XSEQ /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "\[HardwareIdsDatabase\]" "[HardwareIdsDatabase]\r\nPCI\\VEN_8086&DEV_A352&CC_0106 = \x22iaStor\x22" /XSEQ /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "\[HardwareIdsDatabase\]" "[HardwareIdsDatabase]\r\nPCI\\VEN_8086&DEV_A353&CC_0106 = \x22iaStor\x22" /XSEQ /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "\[HardwareIdsDatabase\]" "[HardwareIdsDatabase]\r\nPCI\\VEN_8086&DEV_34D3&CC_0106 = \x22iaStor\x22" /XSEQ /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "\[HardwareIdsDatabase\]" "[HardwareIdsDatabase]\r\nPCI\\VEN_8086&DEV_02D3&CC_0106 = \x22iaStor\x22" /XSEQ /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "\[HardwareIdsDatabase\]" "[HardwareIdsDatabase]\r\nPCI\\VEN_8086&DEV_06D2&CC_0106 = \x22iaStor\x22" /XSEQ /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "\[HardwareIdsDatabase\]" "[HardwareIdsDatabase]\r\nPCI\\VEN_8086&DEV_06D3&CC_0106 = \x22iaStor\x22" /XSEQ /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "\[HardwareIdsDatabase\]" "[HardwareIdsDatabase]\r\nPCI\\VEN_8086&DEV_A382&CC_0106 = \x22iaStor\x22" /XSEQ /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "\[HardwareIdsDatabase\]" "[HardwareIdsDatabase]\r\nPCI\\VEN_8086&DEV_43D2&CC_0106 = \x22iaStor\x22" /XSEQ /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "\[HardwareIdsDatabase\]" "[HardwareIdsDatabase]\r\nPCI\\VEN_8086&DEV_7A85&CC_0106 = \x22iaStor\x22" /XSEQ /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "\[HardwareIdsDatabase\]" "[HardwareIdsDatabase]\r\nPCI\\VEN_8086&DEV_7AE2&CC_0106 = \x22iaStor\x22" /XSEQ /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "\[HardwareIdsDatabase\]" "[HardwareIdsDatabase]\r\nPCI\\VEN_8086&DEV_7A62&CC_0106 = \x22iaStor\x22" /XSEQ /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "\[HardwareIdsDatabase\]" "[HardwareIdsDatabase]\r\nPCI\\VEN_8086&CC_0106 = \x22iaStor\x22" /XSEQ /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "\[SCSI\.Load\]" "[SCSI.Load]\r\nRST = iaStor.sys,4" /XSEQ /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "\[SCSI\.Load\]" "[SCSI.Load]\r\nRST = iaStorF.sys,4" /XSEQ /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "\[FileFlags\]" "[FileFlags]\r\niaStor.sys =16" /XSEQ /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "\[FileFlags\]" "[FileFlags]\r\niaStorF.sys =16" /XSEQ /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "\[SCSI\]" "[SCSI]\r\nRST = \x22Intel(R) SATA AHCI/RAID RST 11.2\x22" /XSEQ /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - ::CALL ".\Utilities\JREPL.bat" "\[RemoveFiles\.x86\]" "[RemoveFiles.x86]\r\nsystem32\\drivers\\iastorF.sys" /XSEQ /UTFA /F "%TempDir%\SYSSETUP.INF" /O - CALL ".\Utilities\JREPL.bat" "\[AddReg\]" "$txt=++counter==1?'[AddReg]\r\nHKLM,\x22SYSTEM\\CurrentControlSet\\Services\\iaStor\x22,\x22ErrorControl\x22,0x00010001,\x220x1\x22':$0" /JQ /UTFA /F "%TempDir%\HIVESYS.INF" /O - CALL ".\Utilities\JREPL.bat" "\[AddReg\]" "$txt=++counter==1?'[AddReg]\r\nHKLM,\x22SYSTEM\\CurrentControlSet\\Services\\iaStor\x22,\x22Group\x22,0x00000000,\x22SCSI Miniport\x22':$0" /JQ /UTFA /F "%TempDir%\HIVESYS.INF" /O - CALL ".\Utilities\JREPL.bat" "\[AddReg\]" "$txt=++counter==1?'[AddReg]\r\nHKLM,\x22SYSTEM\\CurrentControlSet\\Services\\iaStor\x22,\x22Start\x22,0x00010001,\x220x0\x22':$0" /JQ /UTFA /F "%TempDir%\HIVESYS.INF" /O - CALL ".\Utilities\JREPL.bat" "\[AddReg\]" "$txt=++counter==1?'[AddReg]\r\nHKLM,\x22SYSTEM\\CurrentControlSet\\Services\\iaStor\x22,\x22Tag\x22,0x00010001,\x220x1b\x22':$0" /JQ /UTFA /F "%TempDir%\HIVESYS.INF" /O - CALL ".\Utilities\JREPL.bat" "\[AddReg\]" "$txt=++counter==1?'[AddReg]\r\nHKLM,\x22SYSTEM\\CurrentControlSet\\Services\\iaStor\x22,\x22Type\x22,0x00010001,\x220x1\x22':$0" /JQ /UTFA /F "%TempDir%\HIVESYS.INF" /O - CALL ".\Utilities\JREPL.bat" "\[Version\]" "[Version]\r\nCatalogFile = 9-WXPIE.cat" /XSEQ /UTFA /F "%TempDir%\iaAHCI.inf" /O - CALL ".\Utilities\JREPL.bat" "\[SourceDisksNames\]" "[SourceDisksNames]\r\n1 = \x25DiskName\x25,,,\x22\\I386\x22" /XSEQ /UTFA /F "%TempDir%\iaAHCI.inf" /O - ECHO. ECHO Adding files into the Windows XP Setup source folder . . . ping -n 3 localhost 1>NUL ".\Utilities\makecab.exe" "%TempDir%\iaAHCI.inf" /L "%CompileDir%\I386" 1>NUL ".\Utilities\makecab.exe" "%TempDir%\iaStor.sys" /L "%CompileDir%\I386" 1>NUL ".\Utilities\makecab.exe" "%TempDir%\iaStorF.sys" /L "%CompileDir%\I386" 1>NUL ".\Utilities\makecab.exe" "%TempDir%\syssetup.inf" /L "%CompileDir%\I386" 1>NUL XCOPY "%TempDir%\DOSNET.INF" "%CompileDir%\I386" /V /Y /Z 1>NUL XCOPY "%TempDir%\TXTSETUP.SIF" "%CompileDir%\I386" /V /Y /Z 1>NUL XCOPY "%TempDir%\HIVESYS.INF" "%CompileDir%\I386" /V /Y /Z 1>NUL :SKIP If "%optUIRAID%"=="%off%" GoTo SKIP ECHO. ECHO ---------------------[ Universal Intel SATA/RAID Driver ]---------------------- ECHO. ECHO INFO: The Universal Intel RST Software can be found in the 'Patches' folder. ECHO. ECHO Copying files into the temporary folder . . . ping -n 3 localhost 1>NUL PushD ".\Patches\Universal Intel RST Drivers+Software*\Drivers\x32" XCOPY ".\iaStor.inf" "%TempDir%" /V /Y /Z 1>NUL XCOPY ".\iaStor.sys" "%TempDir%" /V /Y /Z 1>NUL XCOPY ".\iaStorF.sys" "%TempDir%" /V /Y /Z 1>NUL PushD "%~dp0" XCOPY "%CompileDir%\I386\DOSNET.INF" "%TempDir%" /V /Y /Z 1>NUL XCOPY "%CompileDir%\I386\TXTSETUP.SIF" "%TempDir%" /V /Y /Z 1>NUL XCOPY "%CompileDir%\I386\HIVESYS.INF" "%TempDir%" /V /Y /Z 1>NUL ".\Utilities\7z.exe" x "%CompileDir%\I386\SYSSETUP.IN_" -y -o"%TempDir%" -bso0 -bsp0 If "%optDPB%"=="%on%" GoTo DONE If "%optUIAHCI%"=="%on%" GoTo DONE If Not Exist "%CompileDir%\I386\ADPU160M.ORG" GoTo NEXT ECHO. ECHO Removing DriverPacks BASE entries in the Windows XP Setup source files . . . ping -n 3 localhost 1>NUL CALL ".\Utilities\JREPL.bat" "d1,iastor2\.sys\r\n" "" /XSEQ /M /UTFA /F "%TempDir%\DOSNET.INF" /O - CALL ".\Utilities\JREPL.bat" "d1,iastor3\.sys\r\n" "" /XSEQ /M /UTFA /F "%TempDir%\DOSNET.INF" /O - CALL ".\Utilities\JREPL.bat" "d1,iastor4\.sys\r\n" "" /XSEQ /M /UTFA /F "%TempDir%\DOSNET.INF" /O - CALL ".\Utilities\JREPL.bat" "d1,iastor5\.sys\r\n" "" /XSEQ /M /UTFA /F "%TempDir%\DOSNET.INF" /O - CALL ".\Utilities\JREPL.bat" "d1,iastor6\.sys\r\n" "" /XSEQ /M /UTFA /F "%TempDir%\DOSNET.INF" /O - CALL ".\Utilities\JREPL.bat" "d1,iastor7\.sys\r\n" "" /XSEQ /M /UTFA /F "%TempDir%\DOSNET.INF" /O - CALL ".\Utilities\JREPL.bat" "d1,iastor9\.sys\r\n" "" /XSEQ /M /UTFA /F "%TempDir%\DOSNET.INF" /O - CALL ".\Utilities\JREPL.bat" "iaStor2\.sys=1,,,,,,4_,4,1,,,1,4\r\n" "" /XSEQ /M /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "iaStor3\.sys=1,,,,,,4_,4,1,,,1,4\r\n" "" /XSEQ /M /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "iaStor4\.sys=1,,,,,,4_,4,1,,,1,4\r\n" "" /XSEQ /M /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "iaStor5\.sys=1,,,,,,4_,4,1,,,1,4\r\n" "" /XSEQ /M /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "iaStor6\.sys=1,,,,,,4_,4,1,,,1,4\r\n" "" /XSEQ /M /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "iaStor7\.sys=1,,,,,,4_,4,1,,,1,4\r\n" "" /XSEQ /M /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "iaStor2\.sys=1,,,,,,4_,4,1,,,1,4\r\n" "" /XSEQ /M /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "iaStor9\.sys=1,,,,,,4_,4,1,,,1,4\r\n" "" /XSEQ /M /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "PCI\\VEN_8086&DEV_.*=\x22iaStor2\x22\r\n" "" /XSEQ /M /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "PCI\\VEN_8086&DEV_.*=\x22iaStor3\x22\r\n" "" /XSEQ /M /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "PCI\\VEN_8086&DEV_.*=\x22iaStor4\x22\r\n" "" /XSEQ /M /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "PCI\\VEN_8086&DEV_.*=\x22iaStor9\x22\r\n" "" /XSEQ /M /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "iaStor2=iaStor2\.sys,4\r\n" "" /XSEQ /M /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "iastor3=iastor3\.sys,4\r\n" "" /XSEQ /M /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "iastor4=iastor4\.sys,4\r\n" "" /XSEQ /M /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "iaStor5=iaStor5\.sys,4\r\n" "" /XSEQ /M /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "iaStor6=iaStor6\.sys,4\r\n" "" /XSEQ /M /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "iastor7=iastor7\.sys,4\r\n" "" /XSEQ /M /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "iastor9=iastor9\.sys,4\r\n" "" /XSEQ /M /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "iaStor2=\x22Intel .*\x22\r\n" "" /XSEQ /M /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "iastor3=\x22Intel .*\x22\r\n" "" /XSEQ /M /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "iastor4=\x22Intel .*\x22\r\n" "" /XSEQ /M /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "iaStor5=\x22Intel .*\x22\r\n" "" /XSEQ /M /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "iaStor6=\x22Intel .*\x22\r\n" "" /XSEQ /M /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "iastor7=\x22Intel .*\x22\r\n" "" /XSEQ /M /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "iastor9=\x22Intel .*\x22\r\n" "" /XSEQ /M /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - :NEXT If Not Exist "%CompileDir%\OEM\DPM*.7z" GoTo NEXT ECHO. ECHO Editing DriverPacks BASE source files, Please wait . . . ping -n 3 localhost 1>NUL For /f "tokens=*" %%a in ('Dir /b /a:-d "%CompileDir%\OEM\DPM*.7z"') do Set "DPM_File=%%a" ".\Utilities\7z.exe" e "%CompileDir%\OEM\%DPM_File%" -y "DriverPack_MassStorage_wnt5_x86-32.ini" -o"%CompileDir%\OEM" -bso0 -bsp0 CALL ".\Utilities\JREPL.bat" "[I-2]" "[I-2_Removed]" /XSEQ /L /UTFA /F "%CompileDir%\OEM\DriverPack_MassStorage_wnt5_x86-32.ini" /O - CALL ".\Utilities\JREPL.bat" "[I-3]" "[I-3_Removed]" /XSEQ /L /UTFA /F "%CompileDir%\OEM\DriverPack_MassStorage_wnt5_x86-32.ini" /O - CALL ".\Utilities\JREPL.bat" "[I-4]" "[I-4_Removed]" /XSEQ /L /UTFA /F "%CompileDir%\OEM\DriverPack_MassStorage_wnt5_x86-32.ini" /O - CALL ".\Utilities\JREPL.bat" "[I-5]" "[I-5_Removed]" /XSEQ /L /UTFA /F "%CompileDir%\OEM\DriverPack_MassStorage_wnt5_x86-32.ini" /O - CALL ".\Utilities\JREPL.bat" "[I-6]" "[I-6_Removed]" /XSEQ /L /UTFA /F "%CompileDir%\OEM\DriverPack_MassStorage_wnt5_x86-32.ini" /O - CALL ".\Utilities\JREPL.bat" "[I-7]" "[I-7_Removed]" /XSEQ /L /UTFA /F "%CompileDir%\OEM\DriverPack_MassStorage_wnt5_x86-32.ini" /O - CALL ".\Utilities\JREPL.bat" "[I-9]" "[I-9_Removed]" /XSEQ /L /UTFA /F "%CompileDir%\OEM\DriverPack_MassStorage_wnt5_x86-32.ini" /O - ".\Utilities\7z.exe" u "%CompileDir%\OEM\%DPM_File%" "%CompileDir%\OEM\DriverPack_MassStorage_wnt5_x86-32.ini" -bso0 -bsp0 DEL /f "%CompileDir%\OEM\DriverPack_MassStorage_wnt5_x86-32.ini" ".\Utilities\7z.exe" d "%CompileDir%\OEM\%DPM_File%" "D\M\I\2" -bso0 -bsp0 ".\Utilities\7z.exe" d "%CompileDir%\OEM\%DPM_File%" "D\M\I\3" -bso0 -bsp0 ".\Utilities\7z.exe" d "%CompileDir%\OEM\%DPM_File%" "D\M\I\4" -bso0 -bsp0 ".\Utilities\7z.exe" d "%CompileDir%\OEM\%DPM_File%" "D\M\I\5" -bso0 -bsp0 ".\Utilities\7z.exe" d "%CompileDir%\OEM\%DPM_File%" "D\M\I\6" -bso0 -bsp0 ".\Utilities\7z.exe" d "%CompileDir%\OEM\%DPM_File%" "D\M\I\7" -bso0 -bsp0 ".\Utilities\7z.exe" d "%CompileDir%\OEM\%DPM_File%" "D\M\I\8" -bso0 -bsp0 ".\Utilities\7z.exe" d "%CompileDir%\OEM\%DPM_File%" "D\M\I\9" -bso0 -bsp0 ::For /f "tokens=*" %%a in ('Dir /b /a:-d "%CompileDir%\OEM\RunOnce\Programs\Driver Packs\Driver Packs v*.7z"') do Set "DP_File=%%a" ::".\Utilities\7z.exe" d "%CompileDir%\OEM\RunOnce\Programs\Driver Packs\%DP_File%" "WdfCoInstaller01007.dll" "WdfCoInstaller01009.dll" -r -bso0 -bsp0 :NEXT :DONE ECHO. ECHO Adding entries to the Windows XP Setup source files . . . ping -n 3 localhost 1>NUL If "%optUIAHCI%"=="%off%" CALL ".\Utilities\JREPL.bat" "\[FloppyFiles\.1\]" "[FloppyFiles.1]\r\nd1,iaStor.sys" /XSEQ /UTFA /F "%TempDir%\DOSNET.INF" /O - If "%optUIAHCI%"=="%off%" CALL ".\Utilities\JREPL.bat" "\[FloppyFiles\.1\]" "[FloppyFiles.1]\r\nd1,iaStorF.sys" /XSEQ /UTFA /F "%TempDir%\DOSNET.INF" /O - CALL ".\Utilities\JREPL.bat" "\[Files\]" "[Files]\r\nd1,iaStor.inf" /XSEQ /UTFA /F "%TempDir%\DOSNET.INF" /O - If "%optUIAHCI%"=="%off%" CALL ".\Utilities\JREPL.bat" "\[Files\]" "[Files]\r\nd1,iaStor.sys" /XSEQ /UTFA /F "%TempDir%\DOSNET.INF" /O - If "%optUIAHCI%"=="%off%" CALL ".\Utilities\JREPL.bat" "\[Files\]" "[Files]\r\nd1,iaStorF.sys" /XSEQ /UTFA /F "%TempDir%\DOSNET.INF" /O - CALL ".\Utilities\JREPL.bat" "\[SourceDisksFiles\.x86\]" "[SourceDisksFiles.x86]\r\niaStor.inf = 1,,,,,,,20,0,0" /XSEQ /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - If "%optUIAHCI%"=="%off%" CALL ".\Utilities\JREPL.bat" "\[SourceDisksFiles\.x86\]" "[SourceDisksFiles.x86]\r\niaStor.sys = 1,,,,,,4_,4,0,0,,1,4" /XSEQ /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - If "%optUIAHCI%"=="%off%" CALL ".\Utilities\JREPL.bat" "\[SourceDisksFiles\.x86\]" "[SourceDisksFiles.x86]\r\niaStorF.sys = 1,,,,,,4_,4,0,0,,1,4" /XSEQ /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "\[HardwareIdsDatabase\]" "[HardwareIdsDatabase]\r\nPCI\\VEN_8086&DEV_2682&CC_0104 = \x22iaStor\x22" /XSEQ /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "\[HardwareIdsDatabase\]" "[HardwareIdsDatabase]\r\nPCI\\VEN_8086&DEV_27C3&CC_0104 = \x22iaStor\x22" /XSEQ /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "\[HardwareIdsDatabase\]" "[HardwareIdsDatabase]\r\nPCI\\VEN_8086&DEV_27C6&CC_0104 = \x22iaStor\x22" /XSEQ /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "\[HardwareIdsDatabase\]" "[HardwareIdsDatabase]\r\nPCI\\VEN_8086&DEV_2822&CC_0104 = \x22iaStor\x22" /XSEQ /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "\[HardwareIdsDatabase\]" "[HardwareIdsDatabase]\r\nPCI\\VEN_8086&DEV_282A&CC_0104 = \x22iaStor\x22" /XSEQ /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "\[HardwareIdsDatabase\]" "[HardwareIdsDatabase]\r\nPCI\\VEN_8086&DEV_2826&CC_0104 = \x22iaStor\x22" /XSEQ /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "\[HardwareIdsDatabase\]" "[HardwareIdsDatabase]\r\nPCI\\VEN_8086&DEV_2827&CC_0104 = \x22iaStor\x22" /XSEQ /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "\[HardwareIdsDatabase\]" "[HardwareIdsDatabase]\r\nPCI\\VEN_8086&DEV_9D07&CC_0104 = \x22iaStor\x22" /XSEQ /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "\[HardwareIdsDatabase\]" "[HardwareIdsDatabase]\r\nPCI\\VEN_8086&DEV_A106&CC_0104 = \x22iaStor\x22" /XSEQ /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "\[HardwareIdsDatabase\]" "[HardwareIdsDatabase]\r\nPCI\\VEN_8086&DEV_A107&CC_0104 = \x22iaStor\x22" /XSEQ /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "\[HardwareIdsDatabase\]" "[HardwareIdsDatabase]\r\nPCI\\VEN_8086&DEV_A286&CC_0104 = \x22iaStor\x22" /XSEQ /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "\[HardwareIdsDatabase\]" "[HardwareIdsDatabase]\r\nPCI\\VEN_8086&DEV_A28E&CC_0104 = \x22iaStor\x22" /XSEQ /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "\[HardwareIdsDatabase\]" "[HardwareIdsDatabase]\r\nPCI\\VEN_8086&DEV_9DD7&CC_0104 = \x22iaStor\x22" /XSEQ /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "\[HardwareIdsDatabase\]" "[HardwareIdsDatabase]\r\nPCI\\VEN_8086&DEV_A356&CC_0104 = \x22iaStor\x22" /XSEQ /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "\[HardwareIdsDatabase\]" "[HardwareIdsDatabase]\r\nPCI\\VEN_8086&DEV_A357&CC_0104 = \x22iaStor\x22" /XSEQ /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "\[HardwareIdsDatabase\]" "[HardwareIdsDatabase]\r\nPCI\\VEN_8086&DEV_A35E&CC_0104 = \x22iaStor\x22" /XSEQ /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "\[HardwareIdsDatabase\]" "[HardwareIdsDatabase]\r\nPCI\\VEN_8086&DEV_34D7&CC_0104 = \x22iaStor\x22" /XSEQ /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "\[HardwareIdsDatabase\]" "[HardwareIdsDatabase]\r\nPCI\\VEN_8086&DEV_02D7&CC_0104 = \x22iaStor\x22" /XSEQ /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "\[HardwareIdsDatabase\]" "[HardwareIdsDatabase]\r\nPCI\\VEN_8086&DEV_06D6&CC_0104 = \x22iaStor\x22" /XSEQ /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "\[HardwareIdsDatabase\]" "[HardwareIdsDatabase]\r\nPCI\\VEN_8086&DEV_06D7&CC_0104 = \x22iaStor\x22" /XSEQ /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "\[HardwareIdsDatabase\]" "[HardwareIdsDatabase]\r\nPCI\\VEN_8086&DEV_06DE&CC_0104 = \x22iaStor\x22" /XSEQ /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "\[HardwareIdsDatabase\]" "[HardwareIdsDatabase]\r\nPCI\\VEN_8086&DEV_A386&CC_0104 = \x22iaStor\x22" /XSEQ /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "\[HardwareIdsDatabase\]" "[HardwareIdsDatabase]\r\nPCI\\VEN_8086&DEV_43D6&CC_0104 = \x22iaStor\x22" /XSEQ /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "\[HardwareIdsDatabase\]" "[HardwareIdsDatabase]\r\nPCI\\VEN_8086&DEV_43DE&CC_0104 = \x22iaStor\x22" /XSEQ /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "\[HardwareIdsDatabase\]" "[HardwareIdsDatabase]\r\nPCI\\VEN_8086&CC_0104 = \x22iaStor\x22" /XSEQ /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - If "%optUIAHCI%"=="%off%" CALL ".\Utilities\JREPL.bat" "\[SCSI\.Load\]" "[SCSI.Load]\r\nRTS = iaStor.sys,4" /XSEQ /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - If "%optUIAHCI%"=="%off%" CALL ".\Utilities\JREPL.bat" "\[SCSI\.Load\]" "[SCSI.Load]\r\nRTS = iaStorF.sys,4" /XSEQ /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - If "%optUIAHCI%"=="%off%" CALL ".\Utilities\JREPL.bat" "\[FileFlags\]" "[FileFlags]\r\niaStor.sys =16" /XSEQ /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - If "%optUIAHCI%"=="%off%" CALL ".\Utilities\JREPL.bat" "\[FileFlags\]" "[FileFlags]\r\niaStorF.sys =16" /XSEQ /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - If "%optUIAHCI%"=="%off%" CALL ".\Utilities\JREPL.bat" "\[SCSI\]" "[SCSI]\r\nRTS = \x22Intel(R) SATA AHCI/RAID RST 11.2\x22" /XSEQ /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - ::If "%optUIAHCI%"=="%off%" CALL ".\Utilities\JREPL.bat" "\[RemoveFiles\.x86\]" "[RemoveFiles.x86]\r\nsystem32\\drivers\\iastorF.sys" /XSEQ /UTFA /F "%TempDir%\SYSSETUP.INF" /O - If "%optUIAHCI%"=="%off%" CALL ".\Utilities\JREPL.bat" "\[AddReg\]" "$txt=++counter==1?'[AddReg]\r\nHKLM,\x22SYSTEM\\CurrentControlSet\\Services\\iaStor\x22,\x22ErrorControl\x22,0x00010001,\x220x1\x22':$0" /JQ /UTFA /F "%TempDir%\HIVESYS.INF" /O - If "%optUIAHCI%"=="%off%" CALL ".\Utilities\JREPL.bat" "\[AddReg\]" "$txt=++counter==1?'[AddReg]\r\nHKLM,\x22SYSTEM\\CurrentControlSet\\Services\\iaStor\x22,\x22Group\x22,0x00000000,\x22SCSI Miniport\x22':$0" /JQ /UTFA /F "%TempDir%\HIVESYS.INF" /O - If "%optUIAHCI%"=="%off%" CALL ".\Utilities\JREPL.bat" "\[AddReg\]" "$txt=++counter==1?'[AddReg]\r\nHKLM,\x22SYSTEM\\CurrentControlSet\\Services\\iaStor\x22,\x22Start\x22,0x00010001,\x220x0\x22':$0" /JQ /UTFA /F "%TempDir%\HIVESYS.INF" /O - If "%optUIAHCI%"=="%off%" CALL ".\Utilities\JREPL.bat" "\[AddReg\]" "$txt=++counter==1?'[AddReg]\r\nHKLM,\x22SYSTEM\\CurrentControlSet\\Services\\iaStor\x22,\x22Tag\x22,0x00010001,\x220x1b\x22':$0" /JQ /UTFA /F "%TempDir%\HIVESYS.INF" /O - If "%optUIAHCI%"=="%off%" CALL ".\Utilities\JREPL.bat" "\[AddReg\]" "$txt=++counter==1?'[AddReg]\r\nHKLM,\x22SYSTEM\\CurrentControlSet\\Services\\iaStor\x22,\x22Type\x22,0x00010001,\x220x1\x22':$0" /JQ /UTFA /F "%TempDir%\HIVESYS.INF" /O - CALL ".\Utilities\JREPL.bat" "\[Version\]" "[Version]\r\nCatalogFile = 9-WXPIE.cat" /XSEQ /UTFA /F "%TempDir%\iaStor.inf" /O - CALL ".\Utilities\JREPL.bat" "\[SourceDisksNames\]" "[SourceDisksNames]\r\n1 = \x25DiskName\x25,,,\x22\\I386\x22" /XSEQ /UTFA /F "%TempDir%\iaStor.inf" /O - ECHO. ECHO Adding files into the Windows XP Setup source folder . . . ping -n 3 localhost 1>NUL ".\Utilities\makecab.exe" "%TempDir%\iaStor.inf" /L "%CompileDir%\I386" 1>NUL ".\Utilities\makecab.exe" "%TempDir%\iaStor.sys" /L "%CompileDir%\I386" 1>NUL ".\Utilities\makecab.exe" "%TempDir%\iaStorF.sys" /L "%CompileDir%\I386" 1>NUL ".\Utilities\makecab.exe" "%TempDir%\syssetup.inf" /L "%CompileDir%\I386" 1>NUL XCOPY "%TempDir%\DOSNET.INF" "%CompileDir%\I386" /V /Y /Z 1>NUL XCOPY "%TempDir%\TXTSETUP.SIF" "%CompileDir%\I386" /V /Y /Z 1>NUL XCOPY "%TempDir%\HIVESYS.INF" "%CompileDir%\I386" /V /Y /Z 1>NUL :SKIP If "%optMNVMe%"=="%off%" GoTo SKIP ECHO. ECHO ---------------------------[ Microsoft NVMe Driver ]--------------------------- ECHO. ECHO Copying files into the temporary folder . . . ping -n 3 localhost 1>NUL PushD ".\Patches\Microsoft NVMe driver*" XCOPY ".\stornvme.inf" "%TempDir%" /V /Y /Z 1>NUL XCOPY ".\stornvme.sys" "%TempDir%" /V /Y /Z 1>NUL PushD "%~dp0" XCOPY "%CompileDir%\I386\DOSNET.INF" "%TempDir%" /V /Y /Z 1>NUL XCOPY "%CompileDir%\I386\TXTSETUP.SIF" "%TempDir%" /V /Y /Z 1>NUL XCOPY "%CompileDir%\I386\HIVESYS.INF" "%TempDir%" /V /Y /Z 1>NUL ECHO. ECHO Adding entries to the Windows XP Setup source files . . . ping -n 3 localhost 1>NUL CALL ".\Utilities\JREPL.bat" "\[FloppyFiles\.1\]" "[FloppyFiles.1]\r\nd1,stornvme.sys" /XSEQ /UTFA /F "%TempDir%\DOSNET.INF" /O - CALL ".\Utilities\JREPL.bat" "\[Files\]" "[Files]\r\nd1,stornvme.inf" /XSEQ /UTFA /F "%TempDir%\DOSNET.INF" /O - CALL ".\Utilities\JREPL.bat" "\[Files\]" "[Files]\r\nd1,stornvme.sys" /XSEQ /UTFA /F "%TempDir%\DOSNET.INF" /O - CALL ".\Utilities\JREPL.bat" "\[SourceDisksFiles\.x86\]" "[SourceDisksFiles.x86]\r\nstornvme.inf = 1,,,,,,,20,0,0" /XSEQ /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "\[SourceDisksFiles\.x86\]" "[SourceDisksFiles.x86]\r\nstornvme.sys = 1,,,,,,4_,4,0,0,,1,4" /XSEQ /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "\[HardwareIdsDatabase\]" "[HardwareIdsDatabase]\r\nPCI\\CC_010802 = \x22stornvme\x22" /XSEQ /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "\[SCSI\.Load\]" "[SCSI.Load]\r\nstornvme = stornvme.sys,4" /XSEQ /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "\[FileFlags\]" "[FileFlags]\r\nstornvme.sys =16" /XSEQ /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "\[SCSI\]" "[SCSI]\r\nstornvme = \x22Standard NVMe Controller (Microsoft)\x22" /XSEQ /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "\[AddReg\]" "$txt=++counter==1?'[AddReg]\r\nHKLM,\x22SYSTEM\\CurrentControlSet\\Services\\stornvme\\Parameters\x22,\x22BusType\x22,0x00010001,\x220x11\x22':$0" /JQ /UTFA /F "%TempDir%\HIVESYS.INF" /O - CALL ".\Utilities\JREPL.bat" "\[AddReg\]" "$txt=++counter==1?'[AddReg]\r\nHKLM,\x22SYSTEM\\CurrentControlSet\\Services\\stornvme\\Parameters\x22,\x22IoTimeoutValue\x22,0x00010001,\x220xa\x22':$0" /JQ /UTFA /F "%TempDir%\HIVESYS.INF" /O - CALL ".\Utilities\JREPL.bat" "\[AddReg\]" "$txt=++counter==1?'[AddReg]\r\nHKLM,\x22SYSTEM\\CurrentControlSet\\Services\\stornvme\\Parameters\\PnpInterface\x22,\x225\x22,0x00010001,\x220x1\x22':$0" /JQ /UTFA /F "%TempDir%\HIVESYS.INF" /O - CALL ".\Utilities\JREPL.bat" "\[Version\]" "[Version]\r\nCatalogFile = 9-WXPIE.cat" /XSEQ /UTFA /F "%TempDir%\stornvme.inf" /O - CALL ".\Utilities\JREPL.bat" "\[SourceDisksNames\]" "[SourceDisksNames]\r\n1 = \x25DiskName\x25,,,\x22\\I386\x22" /XSEQ /UTFA /F "%TempDir%\stornvme.inf" /O - ECHO. ECHO Adding files into the Windows XP Setup source folder . . . ping -n 3 localhost 1>NUL ".\Utilities\makecab.exe" "%TempDir%\stornvme.inf" /L "%CompileDir%\I386" 1>NUL ".\Utilities\makecab.exe" "%TempDir%\stornvme.sys" /L "%CompileDir%\I386" 1>NUL XCOPY "%TempDir%\DOSNET.INF" "%CompileDir%\I386" /V /Y /Z 1>NUL XCOPY "%TempDir%\TXTSETUP.SIF" "%CompileDir%\I386" /V /Y /Z 1>NUL XCOPY "%TempDir%\HIVESYS.INF" "%CompileDir%\I386" /V /Y /Z 1>NUL :SKIP If "%optK3NVMe%"=="%off%" GoTo SKIP ECHO. ECHO -----------------------[ Kai-Schtrom NVMe Driver v1.3 ]------------------------ ECHO. ECHO Copying files into the temporary folder . . . ping -n 3 localhost 1>NUL PushD ".\Patches\Kai-Schtrom OFA NVMe driver*" XCOPY ".\nvme.inf" "%TempDir%" /V /Y /Z 1>NUL XCOPY ".\nvme.sys" "%TempDir%" /V /Y /Z 1>NUL PushD "%~dp0" XCOPY "%CompileDir%\I386\DOSNET.INF" "%TempDir%" /V /Y /Z 1>NUL XCOPY "%CompileDir%\I386\TXTSETUP.SIF" "%TempDir%" /V /Y /Z 1>NUL XCOPY "%CompileDir%\I386\HIVESYS.INF" "%TempDir%" /V /Y /Z 1>NUL ECHO. ECHO Adding entries to the Windows XP Setup source files . . . ping -n 3 localhost 1>NUL CALL ".\Utilities\JREPL.bat" "\[FloppyFiles\.1\]" "[FloppyFiles.1]\r\nd1,nvme.sys" /XSEQ /UTFA /F "%TempDir%\DOSNET.INF" /O - CALL ".\Utilities\JREPL.bat" "\[Files\]" "[Files]\r\nd1,nvme.inf" /XSEQ /UTFA /F "%TempDir%\DOSNET.INF" /O - CALL ".\Utilities\JREPL.bat" "\[Files\]" "[Files]\r\nd1,nvme.sys" /XSEQ /UTFA /F "%TempDir%\DOSNET.INF" /O - CALL ".\Utilities\JREPL.bat" "\[SourceDisksFiles\.x86\]" "[SourceDisksFiles.x86]\r\nnvme.inf = 1,,,,,,,20,0,0" /XSEQ /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "\[SourceDisksFiles\.x86\]" "[SourceDisksFiles.x86]\r\nnvme.sys = 1,,,,,,4_,4,0,0,,1,4" /XSEQ /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "\[HardwareIdsDatabase\]" "[HardwareIdsDatabase]\r\nPCI\\CC_010802 = \x22nvme\x22" /XSEQ /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "\[SCSI\.Load\]" "[SCSI.Load]\r\nnvme = nvme.sys,4" /XSEQ /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "\[FileFlags\]" "[FileFlags]\r\nnvme.sys =16" /XSEQ /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "\[SCSI\]" "[SCSI]\r\nnvme = \x22Standard NVMe Controller (Kai OFA 1.3)\x22" /XSEQ /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "\[AddReg\]" "$txt=++counter==1?'[AddReg]\r\nHKLM,\x22SYSTEM\\CurrentControlSet\\Services\\nvme\\Parameters\x22,\x22BusType\x22,0x00010001,\x220x1\x22':$0" /JQ /UTFA /F "%TempDir%\HIVESYS.INF" /O - CALL ".\Utilities\JREPL.bat" "\[AddReg\]" "$txt=++counter==1?'[AddReg]\r\nHKLM,\x22SYSTEM\\CurrentControlSet\\Services\\nvme\\Parameters\\Device\x22,\x22Namespaces\x22,0x00010001,\x220x10\x22':$0" /JQ /UTFA /F "%TempDir%\HIVESYS.INF" /O - CALL ".\Utilities\JREPL.bat" "\[AddReg\]" "$txt=++counter==1?'[AddReg]\r\nHKLM,\x22SYSTEM\\CurrentControlSet\\Services\\nvme\\Parameters\\Device\x22,\x22MaxTXSize\x22,0x00010001,\x220x20000\x22':$0" /JQ /UTFA /F "%TempDir%\HIVESYS.INF" /O - CALL ".\Utilities\JREPL.bat" "\[AddReg\]" "$txt=++counter==1?'[AddReg]\r\nHKLM,\x22SYSTEM\\CurrentControlSet\\Services\\nvme\\Parameters\\Device\x22,\x22AdQEntries\x22,0x00010001,\x220x80\x22':$0" /JQ /UTFA /F "%TempDir%\HIVESYS.INF" /O - CALL ".\Utilities\JREPL.bat" "\[AddReg\]" "$txt=++counter==1?'[AddReg]\r\nHKLM,\x22SYSTEM\\CurrentControlSet\\Services\\nvme\\Parameters\\Device\x22,\x22IoQEntries\x22,0x00010001,\x220x400\x22':$0" /JQ /UTFA /F "%TempDir%\HIVESYS.INF" /O - CALL ".\Utilities\JREPL.bat" "\[AddReg\]" "$txt=++counter==1?'[AddReg]\r\nHKLM,\x22SYSTEM\\CurrentControlSet\\Services\\nvme\\Parameters\\Device\x22,\x22IntCoalescingTime\x22,0x00010001,\x220x0\x22':$0" /JQ /UTFA /F "%TempDir%\HIVESYS.INF" /O - CALL ".\Utilities\JREPL.bat" "\[AddReg\]" "$txt=++counter==1?'[AddReg]\r\nHKLM,\x22SYSTEM\\CurrentControlSet\\Services\\nvme\\Parameters\\Device\x22,\x22IntCoalescingEntries\x22,0x00010001,\x220x0\x22':$0" /JQ /UTFA /F "%TempDir%\HIVESYS.INF" /O - CALL ".\Utilities\JREPL.bat" "\[AddReg\]" "$txt=++counter==1?'[AddReg]\r\nHKLM,\x22SYSTEM\\CurrentControlSet\\Services\\nvme\\Parameters\\PnpInterface\x22,\x225\x22,0x00010001,\x220x1\x22':$0" /JQ /UTFA /F "%TempDir%\HIVESYS.INF" /O - CALL ".\Utilities\JREPL.bat" "\[Version\]" "[Version]\r\nCatalogFile = 9-WXPIE.cat" /XSEQ /UTFA /F "%TempDir%\nvme.inf" /O - CALL ".\Utilities\JREPL.bat" "\[SourceDisksNames\]" "[SourceDisksNames]\r\n1 = \x25DiskId1\x25,,,\x22\\I386\x22" /XSEQ /UTFA /F "%TempDir%\nvme.inf" /O - ECHO. ECHO Adding files into the Windows XP Setup source folder . . . ping -n 3 localhost 1>NUL ".\Utilities\makecab.exe" "%TempDir%\nvme.inf" /L "%CompileDir%\I386" 1>NUL ".\Utilities\makecab.exe" "%TempDir%\nvme.sys" /L "%CompileDir%\I386" 1>NUL XCOPY "%TempDir%\DOSNET.INF" "%CompileDir%\I386" /V /Y /Z 1>NUL XCOPY "%TempDir%\TXTSETUP.SIF" "%CompileDir%\I386" /V /Y /Z 1>NUL XCOPY "%TempDir%\HIVESYS.INF" "%CompileDir%\I386" /V /Y /Z 1>NUL :SKIP If "%optINVMe%"=="%off%" GoTo SKIP ECHO. ECHO -----------------------------[ Intel NVMe Driver ]----------------------------- ECHO. ECHO Copying files into the temporary folder . . . ping -n 3 localhost 1>NUL PushD ".\Patches\Intel NVMe driver*" XCOPY ".\IaNVMe.inf" "%TempDir%" /V /Y /Z 1>NUL XCOPY ".\IaNVMe.sys" "%TempDir%" /V /Y /Z 1>NUL PushD "%~dp0" XCOPY "%CompileDir%\I386\DOSNET.INF" "%TempDir%" /V /Y /Z 1>NUL XCOPY "%CompileDir%\I386\TXTSETUP.SIF" "%TempDir%" /V /Y /Z 1>NUL XCOPY "%CompileDir%\I386\HIVESYS.INF" "%TempDir%" /V /Y /Z 1>NUL ECHO. ECHO Adding entries to the Windows XP Setup source files . . . ping -n 3 localhost 1>NUL CALL ".\Utilities\JREPL.bat" "\[FloppyFiles\.1\]" "[FloppyFiles.1]\r\nd1,IaNVMe.sys" /XSEQ /UTFA /F "%TempDir%\DOSNET.INF" /O - CALL ".\Utilities\JREPL.bat" "\[Files\]" "[Files]\r\nd1,IaNVMe.inf" /XSEQ /UTFA /F "%TempDir%\DOSNET.INF" /O - CALL ".\Utilities\JREPL.bat" "\[Files\]" "[Files]\r\nd1,IaNVMe.sys" /XSEQ /UTFA /F "%TempDir%\DOSNET.INF" /O - CALL ".\Utilities\JREPL.bat" "\[SourceDisksFiles\.x86\]" "[SourceDisksFiles.x86]\r\nIaNVMe.inf = 1,,,,,,,20,0,0" /XSEQ /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "\[SourceDisksFiles\.x86\]" "[SourceDisksFiles.x86]\r\nIaNVMe.sys = 1,,,,,,4_,4,0,0,,1,4" /XSEQ /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "\[HardwareIdsDatabase\]" "[HardwareIdsDatabase]\r\nPCI\\CC_010802 = \x22IaNVMe\x22" /XSEQ /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "\[SCSI\.Load\]" "[SCSI.Load]\r\nIaNVMe = IaNVMe.sys,4" /XSEQ /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "\[FileFlags\]" "[FileFlags]\r\nIaNVMe.sys =16" /XSEQ /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "\[SCSI\]" "[SCSI]\r\nIaNVMe = \x22Standard NVMe Controller (Intel)\x22" /XSEQ /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "\[AddReg\]" "$txt=++counter==1?'[AddReg]\r\nHKLM,\x22SYSTEM\\CurrentControlSet\\Services\\IaNVMe\\Parameters\x22,\x22BusType\x22,0x00010001,\x220x11\x22':$0" /JQ /UTFA /F "%TempDir%\HIVESYS.INF" /O - CALL ".\Utilities\JREPL.bat" "\[AddReg\]" "$txt=++counter==1?'[AddReg]\r\nHKLM,\x22SYSTEM\\CurrentControlSet\\Services\\IaNVMe\\Parameters\\Device\x22,\x22DisableDAS\x22,0x00010001,\x220x0\x22':$0" /JQ /UTFA /F "%TempDir%\HIVESYS.INF" /O - CALL ".\Utilities\JREPL.bat" "\[AddReg\]" "$txt=++counter==1?'[AddReg]\r\nHKLM,\x22SYSTEM\\CurrentControlSet\\Services\\IaNVMe\\Parameters\\Device\x22,\x22StripeSizeBytes\x22,0x00010001,\x220x0\x22':$0" /JQ /UTFA /F "%TempDir%\HIVESYS.INF" /O - CALL ".\Utilities\JREPL.bat" "\[AddReg\]" "$txt=++counter==1?'[AddReg]\r\nHKLM,\x22SYSTEM\\CurrentControlSet\\Services\\IaNVMe\\Parameters\\Device\x22,\x22MaxSplitCmds\x22,0x00010001,\x220x2\x22':$0" /JQ /UTFA /F "%TempDir%\HIVESYS.INF" /O - CALL ".\Utilities\JREPL.bat" "\[AddReg\]" "$txt=++counter==1?'[AddReg]\r\nHKLM,\x22SYSTEM\\CurrentControlSet\\Services\\IaNVMe\\Parameters\\PnpInterface\x22,\x225\x22,0x00010001,\x220x1\x22':$0" /JQ /UTFA /F "%TempDir%\HIVESYS.INF" /O - CALL ".\Utilities\JREPL.bat" "\[Version\]" "[Version]\r\nCatalogFile = 9-WXPIE.cat" /XSEQ /UTFA /F "%TempDir%\IaNVMe.inf" /O - CALL ".\Utilities\JREPL.bat" "\[SourceDisksNames\]" "[SourceDisksNames]\r\n1 = \x25DiskId1\x25,,,\x22\\I386\x22" /XSEQ /UTFA /F "%TempDir%\IaNVMe.inf" /O - ECHO. ECHO Adding files into the Windows XP Setup source folder . . . ping -n 3 localhost 1>NUL ".\Utilities\makecab.exe" "%TempDir%\IaNVMe.inf" /L "%CompileDir%\I386" 1>NUL ".\Utilities\makecab.exe" "%TempDir%\IaNVMe.sys" /L "%CompileDir%\I386" 1>NUL XCOPY "%TempDir%\DOSNET.INF" "%CompileDir%\I386" /V /Y /Z 1>NUL XCOPY "%TempDir%\TXTSETUP.SIF" "%CompileDir%\I386" /V /Y /Z 1>NUL XCOPY "%TempDir%\HIVESYS.INF" "%CompileDir%\I386" /V /Y /Z 1>NUL :SKIP If "%optSNVMe%"=="%off%" GoTo SKIP ECHO. ECHO ----------------------------[ Samsung NVMe Driver ]---------------------------- ECHO. ECHO Copying files into the temporary folder . . . ping -n 3 localhost 1>NUL PushD ".\Patches\Samsung NVMe driver*" XCOPY ".\secnvme.inf" "%TempDir%" /V /Y /Z 1>NUL XCOPY ".\secnvme.sys" "%TempDir%" /V /Y /Z 1>NUL XCOPY ".\secnvmeF.sys" "%TempDir%" /V /Y /Z 1>NUL PushD "%~dp0" XCOPY "%CompileDir%\I386\DOSNET.INF" "%TempDir%" /V /Y /Z 1>NUL XCOPY "%CompileDir%\I386\TXTSETUP.SIF" "%TempDir%" /V /Y /Z 1>NUL XCOPY "%CompileDir%\I386\HIVESYS.INF" "%TempDir%" /V /Y /Z 1>NUL ECHO. ECHO Adding entries to the Windows XP Setup source files . . . ping -n 3 localhost 1>NUL CALL ".\Utilities\JREPL.bat" "\[FloppyFiles\.1\]" "[FloppyFiles.1]\r\nd1,secnvme.sys" /XSEQ /UTFA /F "%TempDir%\DOSNET.INF" /O - CALL ".\Utilities\JREPL.bat" "\[FloppyFiles\.1\]" "[FloppyFiles.1]\r\nd1,secnvmeF.sys" /XSEQ /UTFA /F "%TempDir%\DOSNET.INF" /O - CALL ".\Utilities\JREPL.bat" "\[Files\]" "[Files]\r\nd1,secnvme.inf" /XSEQ /UTFA /F "%TempDir%\DOSNET.INF" /O - CALL ".\Utilities\JREPL.bat" "\[Files\]" "[Files]\r\nd1,secnvme.sys" /XSEQ /UTFA /F "%TempDir%\DOSNET.INF" /O - CALL ".\Utilities\JREPL.bat" "\[Files\]" "[Files]\r\nd1,secnvmeF.sys" /XSEQ /UTFA /F "%TempDir%\DOSNET.INF" /O - CALL ".\Utilities\JREPL.bat" "\[SourceDisksFiles\.x86\]" "[SourceDisksFiles.x86]\r\nsecnvme.inf = 1,,,,,,,20,0,0" /XSEQ /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "\[SourceDisksFiles\.x86\]" "[SourceDisksFiles.x86]\r\nsecnvme.sys = 1,,,,,,4_,4,0,0,,1,4" /XSEQ /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "\[SourceDisksFiles\.x86\]" "[SourceDisksFiles.x86]\r\nsecnvmeF.sys = 1,,,,,,4_,4,0,0,,1,4" /XSEQ /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "\[HardwareIdsDatabase\]" "[HardwareIdsDatabase]\r\nPCI\\CC_010802 = \x22secnvme\x22" /XSEQ /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "\[HardwareIdsDatabase\]" "[HardwareIdsDatabase]\r\nPCI\\VEN_144D&DEV_A802 = \x22secnvme\x22" /XSEQ /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "\[HardwareIdsDatabase\]" "[HardwareIdsDatabase]\r\nPCI\\VEN_144D&DEV_A804 = \x22secnvme\x22" /XSEQ /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "\[HardwareIdsDatabase\]" "[HardwareIdsDatabase]\r\nPCI\\VEN_144D&DEV_A808&SUBSYS_A801144D = \x22secnvme\x22" /XSEQ /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "\[SCSI\.Load\]" "[SCSI.Load]\r\nsecnvme = secnvme.sys,4" /XSEQ /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "\[SCSI\.Load\]" "[SCSI.Load]\r\nsecnvme = secnvmeF.sys,4" /XSEQ /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "\[FileFlags\]" "[FileFlags]\r\nsecnvme.sys =16" /XSEQ /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "\[FileFlags\]" "[FileFlags]\r\nsecnvmeF.sys =16" /XSEQ /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "\[SCSI\]" "[SCSI]\r\nsecnvme = \x22Standard NVMe Controller (Samsung)\x22" /XSEQ /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "\[AddReg\]" "$txt=++counter==1?'[AddReg]\r\nHKLM,\x22SYSTEM\\CurrentControlSet\\Services\\secnvme\\Parameters\x22,\x22BusType\x22,0x00010001,\x220x11\x22':$0" /JQ /UTFA /F "%TempDir%\HIVESYS.INF" /O - CALL ".\Utilities\JREPL.bat" "\[AddReg\]" "$txt=++counter==1?'[AddReg]\r\nHKLM,\x22SYSTEM\\CurrentControlSet\\Services\\secnvme\\Parameters\\PnpInterface\x22,\x225\x22,0x00010001,\x220x1\x22':$0" /JQ /UTFA /F "%TempDir%\HIVESYS.INF" /O - CALL ".\Utilities\JREPL.bat" "\[Version\]" "[Version]\r\nCatalogFile = 9-WXPIE.cat" /XSEQ /UTFA /F "%TempDir%\secnvme.inf" /O - CALL ".\Utilities\JREPL.bat" "\[SourceDisksNames\]" "[SourceDisksNames]\r\n1 = \x25DiskId1\x25,,,\x22\\I386\x22" /XSEQ /UTFA /F "%TempDir%\secnvme.inf" /O - ECHO. ECHO Adding files into the Windows XP Setup source folder . . . ping -n 3 localhost 1>NUL ".\Utilities\makecab.exe" "%TempDir%\secnvme.inf" /L "%CompileDir%\I386" 1>NUL ".\Utilities\makecab.exe" "%TempDir%\secnvme.sys" /L "%CompileDir%\I386" 1>NUL ".\Utilities\makecab.exe" "%TempDir%\secnvmeF.sys" /L "%CompileDir%\I386" 1>NUL XCOPY "%TempDir%\DOSNET.INF" "%CompileDir%\I386" /V /Y /Z 1>NUL XCOPY "%TempDir%\TXTSETUP.SIF" "%CompileDir%\I386" /V /Y /Z 1>NUL XCOPY "%TempDir%\HIVESYS.INF" "%CompileDir%\I386" /V /Y /Z 1>NUL :SKIP If "%optSMNVMe%"=="%off%" GoTo SKIP ECHO. ECHO ------------------------[ Silicon Motion NVMe Driver ]------------------------- ECHO. ECHO Copying files into the temporary folder . . . ping -n 3 localhost 1>NUL PushD ".\Patches\Silicon Motion NVMe driver*" XCOPY ".\simonvme.inf" "%TempDir%" /V /Y /Z 1>NUL XCOPY ".\simonvme.sys" "%TempDir%" /V /Y /Z 1>NUL PushD "%~dp0" XCOPY "%CompileDir%\I386\DOSNET.INF" "%TempDir%" /V /Y /Z 1>NUL XCOPY "%CompileDir%\I386\TXTSETUP.SIF" "%TempDir%" /V /Y /Z 1>NUL XCOPY "%CompileDir%\I386\HIVESYS.INF" "%TempDir%" /V /Y /Z 1>NUL ECHO. ECHO Adding entries to the Windows XP Setup source files . . . ping -n 3 localhost 1>NUL CALL ".\Utilities\JREPL.bat" "\[FloppyFiles\.1\]" "[FloppyFiles.1]\r\nd1,simonvme.sys" /XSEQ /UTFA /F "%TempDir%\DOSNET.INF" /O - CALL ".\Utilities\JREPL.bat" "\[Files\]" "[Files]\r\nd1,simonvme.inf" /XSEQ /UTFA /F "%TempDir%\DOSNET.INF" /O - CALL ".\Utilities\JREPL.bat" "\[Files\]" "[Files]\r\nd1,simonvme.sys" /XSEQ /UTFA /F "%TempDir%\DOSNET.INF" /O - CALL ".\Utilities\JREPL.bat" "\[SourceDisksFiles\.x86\]" "[SourceDisksFiles.x86]\r\nsimonvme.inf = 1,,,,,,,20,0,0" /XSEQ /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "\[SourceDisksFiles\.x86\]" "[SourceDisksFiles.x86]\r\nsimonvme.sys = 1,,,,,,4_,4,0,0,,1,4" /XSEQ /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "\[HardwareIdsDatabase\]" "[HardwareIdsDatabase]\r\nPCI\\CC_010802 = \x22simonvme\x22" /XSEQ /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "\[HardwareIdsDatabase\]" "[HardwareIdsDatabase]\r\nPCI\\CC_018000 = \x22simonvme\x22" /XSEQ /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "\[HardwareIdsDatabase\]" "[HardwareIdsDatabase]\r\nPCI\\CC_010400 = \x22simonvme\x22" /XSEQ /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "\[SCSI\.Load\]" "[SCSI.Load]\r\nsimonvme = simonvme.sys,4" /XSEQ /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "\[FileFlags\]" "[FileFlags]\r\nsimonvme.sys =16" /XSEQ /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "\[SCSI\]" "[SCSI]\r\nsimonvme = \x22Standard NVMe Controller (Silicon Motion)\x22" /XSEQ /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "\[AddReg\]" "$txt=++counter==1?'[AddReg]\r\nHKLM,\x22SYSTEM\\CurrentControlSet\\Services\\simonvme\\Parameters\x22,\x22BusType\x22,0x00010001,\x220x11\x22':$0" /JQ /UTFA /F "%TempDir%\HIVESYS.INF" /O - CALL ".\Utilities\JREPL.bat" "\[AddReg\]" "$txt=++counter==1?'[AddReg]\r\nHKLM,\x22SYSTEM\\CurrentControlSet\\Services\\simonvme\\Parameters\\PnpInterface\x22,\x225\x22,0x00010001,\x220x1\x22':$0" /JQ /UTFA /F "%TempDir%\HIVESYS.INF" /O - CALL ".\Utilities\JREPL.bat" "\[Version\]" "[Version]\r\nCatalogFile = 9-WXPIE.cat" /XSEQ /UTFA /F "%TempDir%\simonvme.inf" /O - CALL ".\Utilities\JREPL.bat" "\[SourceDisksNames\]" "[SourceDisksNames]\r\n1 = \x25DiskID\x25,,,\x22\\I386\x22" /XSEQ /UTFA /F "%TempDir%\simonvme.inf" /O - ECHO. ECHO Adding files into the Windows XP Setup source folder . . . ping -n 3 localhost 1>NUL ".\Utilities\makecab.exe" "%TempDir%\simonvme.inf" /L "%CompileDir%\I386" 1>NUL ".\Utilities\makecab.exe" "%TempDir%\simonvme.sys" /L "%CompileDir%\I386" 1>NUL XCOPY "%TempDir%\DOSNET.INF" "%CompileDir%\I386" /V /Y /Z 1>NUL XCOPY "%TempDir%\TXTSETUP.SIF" "%CompileDir%\I386" /V /Y /Z 1>NUL XCOPY "%TempDir%\HIVESYS.INF" "%CompileDir%\I386" /V /Y /Z 1>NUL :SKIP If "%optMUSB%"=="%off%" GoTo SKIP ECHO. ECHO -----------------------[ Microsoft USB3.x xHCI Driver ]------------------------ ECHO. ECHO Copying files into the temporary folder . . . ping -n 3 localhost 1>NUL PushD ".\Patches\Microsoft USB3.x xHCI driver*" XCOPY ".\ksecd8.sys" "%TempDir%" /V /Y /Z 1>NUL XCOPY ".\ucx01000.sys" "%TempDir%" /V /Y /Z 1>NUL XCOPY ".\usbd8.sys" "%TempDir%" /V /Y /Z 1>NUL XCOPY ".\usbhub3.inf" "%TempDir%" /V /Y /Z 1>NUL XCOPY ".\usbhub3.sys" "%TempDir%" /V /Y /Z 1>NUL XCOPY ".\usbxhci.inf" "%TempDir%" /V /Y /Z 1>NUL XCOPY ".\usbxhci.sys" "%TempDir%" /V /Y /Z 1>NUL XCOPY ".\wpprecor.sys" "%TempDir%" /V /Y /Z 1>NUL PushD "%~dp0" XCOPY "%CompileDir%\I386\DOSNET.INF" "%TempDir%" /V /Y /Z 1>NUL XCOPY "%CompileDir%\I386\TXTSETUP.SIF" "%TempDir%" /V /Y /Z 1>NUL XCOPY "%CompileDir%\I386\HIVESYS.INF" "%TempDir%" /V /Y /Z 1>NUL XCOPY "%CompileDir%\I386\SETUPREG.HIV" "%TempDir%" /V /Y /Z 1>NUL If "%optDPB%"=="%on%" GoTo DONE If Not Exist "%CompileDir%\I386\ADPU160M.ORG" GoTo NEXT ECHO. ECHO Removing DriverPacks BASE entries in the Windows XP Setup source files . . . ping -n 3 localhost 1>NUL CALL ".\Utilities\JREPL.bat" "d1,tihub3\.sys\r\n" "" /XSEQ /M /UTFA /F "%TempDir%\DOSNET.INF" /O - CALL ".\Utilities\JREPL.bat" "d1,tixhci\.sys\r\n" "" /XSEQ /M /UTFA /F "%TempDir%\DOSNET.INF" /O - CALL ".\Utilities\JREPL.bat" "d1,asmthub3\.sys\r\n" "" /XSEQ /M /UTFA /F "%TempDir%\DOSNET.INF" /O - CALL ".\Utilities\JREPL.bat" "d1,asmtxhci\.sys\r\n" "" /XSEQ /M /UTFA /F "%TempDir%\DOSNET.INF" /O - CALL ".\Utilities\JREPL.bat" "d1,amdhub30\.sys\r\n" "" /XSEQ /M /UTFA /F "%TempDir%\DOSNET.INF" /O - CALL ".\Utilities\JREPL.bat" "d1,amdxhc\.sys\r\n" "" /XSEQ /M /UTFA /F "%TempDir%\DOSNET.INF" /O - CALL ".\Utilities\JREPL.bat" "d1,rusb3hub\.sys\r\n" "" /XSEQ /M /UTFA /F "%TempDir%\DOSNET.INF" /O - CALL ".\Utilities\JREPL.bat" "d1,rusb3xhc\.sys\r\n" "" /XSEQ /M /UTFA /F "%TempDir%\DOSNET.INF" /O - CALL ".\Utilities\JREPL.bat" "d1,nusb3hub\.sys\r\n" "" /XSEQ /M /UTFA /F "%TempDir%\DOSNET.INF" /O - CALL ".\Utilities\JREPL.bat" "d1,nusb3xhc\.sys\r\n" "" /XSEQ /M /UTFA /F "%TempDir%\DOSNET.INF" /O - CALL ".\Utilities\JREPL.bat" "d1,etrons\.sys\r\n" "" /XSEQ /M /UTFA /F "%TempDir%\DOSNET.INF" /O - CALL ".\Utilities\JREPL.bat" "d1,etronh\.sys\r\n" "" /XSEQ /M /UTFA /F "%TempDir%\DOSNET.INF" /O - CALL ".\Utilities\JREPL.bat" "d1,etronx\.sys\r\n" "" /XSEQ /M /UTFA /F "%TempDir%\DOSNET.INF" /O - CALL ".\Utilities\JREPL.bat" "netronx\.sys=1,,,,,,4_,4,1,,,1,4\r\n" "" /XSEQ /M /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "etronh\.sys=1,,,,,,4_,4,1,,,1,4\r\n" "" /XSEQ /M /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "etrons\.sys=1,,,,,,4_,4,1,,,1,4\r\n" "" /XSEQ /M /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "nusb3xhc\.sys=1,,,,,,4_,4,1,,,1,4\r\n" "" /XSEQ /M /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "nusb3hub\.sys=1,,,,,,4_,4,1,,,1,4\r\n" "" /XSEQ /M /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "rusb3xhc\.sys=1,,,,,,4_,4,1,,,1,4\r\n" "" /XSEQ /M /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "rusb3hub\.sys=1,,,,,,4_,4,1,,,1,4\r\n" "" /XSEQ /M /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "amdxhc\.sys=1,,,,,,4_,4,1,,,1,4\r\n" "" /XSEQ /M /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "amdhub30\.sys=1,,,,,,4_,4,1,,,1,4\r\n" "" /XSEQ /M /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "asmtxhci\.sys=1,,,,,,4_,4,1,,,1,4\r\n" "" /XSEQ /M /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "asmthub3\.sys=1,,,,,,4_,4,1,,,1,4\r\n" "" /XSEQ /M /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "tixhci\.sys=1,,,,,,4_,4,1,,,1,4\r\n" "" /XSEQ /M /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "tihub3\.sys=1,,,,,,4_,4,1,,,1,4\r\n" "" /XSEQ /M /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "PCI\\VEN_.*=\x22etronx\x22\r\n" "" /XSEQ /M /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "ENUSB3\\.*=\x22etronh\x22\r\n" "" /XSEQ /M /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "ENUSB\\Class_.*=\x22etrons\x22\r\n" "" /XSEQ /M /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "PCI\\VEN_.*=\x22nusb3xhc\x22\r\n" "" /XSEQ /M /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "NUSB3\\.*=\x22nusb3hub\x22\r\n" "" /XSEQ /M /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "PCI\\VEN_.*=\x22rusb3xhc\x22\r\n" "" /XSEQ /M /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "RENESAS_USB3\\.*=\x22rusb3hub\x22\r\n" "" /XSEQ /M /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "PCI\\VEN_.*=\x22amdxhc\x22\r\n" "" /XSEQ /M /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "AMDUSB30\\.*=\x22amdhub30\x22\r\n" "" /XSEQ /M /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "PCI\\VEN_.*=\x22asmtxhci\x22\r\n" "" /XSEQ /M /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "USB\\ASMEDIAUSBD_.*=\x22asmthub3\x22\r\n" "" /XSEQ /M /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "PCI\\VEN_.*=\x22tixhci\x22\r\n" "" /XSEQ /M /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "USB\\TIUSBD_.*=\x22tihub3\x22\r\n" "" /XSEQ /M /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "etronx=etronx\.sys,4\r\n" "" /XSEQ /M /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "etronh=etronh\.sys,4\r\n" "" /XSEQ /M /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "etrons=etrons\.sys,4\r\n" "" /XSEQ /M /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "nusb3xhc=nusb3xhc\.sys,4\r\n" "" /XSEQ /M /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "nusb3hub=nusb3hub\.sys,4\r\n" "" /XSEQ /M /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "rusb3xhc=rusb3xhc\.sys,4\r\n" "" /XSEQ /M /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "rusb3hub=rusb3hub\.sys,4\r\n" "" /XSEQ /M /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "amdxhc=amdxhc\.sys,4\r\n" "" /XSEQ /M /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "amdhub30=amdhub30\.sys,4\r\n" "" /XSEQ /M /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "asmtxhci=asmtxhci\.sys,4\r\n" "" /XSEQ /M /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "asmthub3=asmthub3\.sys,4\r\n" "" /XSEQ /M /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "tixhci=tixhci\.sys,4\r\n" "" /XSEQ /M /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "tihub3=tihub3\.sys,4\r\n" "" /XSEQ /M /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "etronx=\x22Etron .*\x22\r\n" "" /XSEQ /M /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "etronh=\x22Etron .*\x22\r\n" "" /XSEQ /M /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "etrons=\x22Etron .*\x22\r\n" "" /XSEQ /M /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "nusb3xhc=\x22NEC\\Renesas .*\x22\r\n" "" /XSEQ /M /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "nusb3hub=\x22NEC\\Renesas .*\x22\r\n" "" /XSEQ /M /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "rusb3xhc=\x22Renesas .*\x22\r\n" "" /XSEQ /M /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "rusb3hub=\x22Renesas .*\x22\r\n" "" /XSEQ /M /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "amdxhc=\x22AMD .*\x22\r\n" "" /XSEQ /M /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "amdhub30=\x22AMD .*\x22\r\n" "" /XSEQ /M /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "asmtxhci=\x22ASMedia .*\x22\r\n" "" /XSEQ /M /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "asmthub3=\x22ASMedia .*\x22\r\n" "" /XSEQ /M /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "tixhci=\x22TI .*\x22\r\n" "" /XSEQ /M /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "tihub3=\x22TI .*\x22\r\n" "" /XSEQ /M /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - :NEXT If Not Exist "%CompileDir%\OEM\DPM*.7z" GoTo NEXT ECHO. ECHO Editing DriverPacks BASE source files, Please wait . . . ping -n 3 localhost 1>NUL For /f "tokens=*" %%a in ('Dir /b /a:-d "%CompileDir%\OEM\DPM*.7z"') do Set "DPM_File=%%a" ".\Utilities\7z.exe" e "%CompileDir%\OEM\%DPM_File%" -y "DriverPack_MassStorage_wnt5_x86-32.ini" -o"%CompileDir%\OEM" -bso0 -bsp0 CALL ".\Utilities\JREPL.bat" "[U3]" "[U3_Removed]" /XSEQ /L /UTFA /F "%CompileDir%\OEM\DriverPack_MassStorage_wnt5_x86-32.ini" /O - CALL ".\Utilities\JREPL.bat" "[U3-x86]" "[U3-x86_Removed]" /XSEQ /L /UTFA /F "%CompileDir%\OEM\DriverPack_MassStorage_wnt5_x86-32.ini" /O - CALL ".\Utilities\JREPL.bat" "[U3-i386]" "[U3-i386_Removed]" /XSEQ /L /UTFA /F "%CompileDir%\OEM\DriverPack_MassStorage_wnt5_x86-32.ini" /O - ".\Utilities\7z.exe" u "%CompileDir%\OEM\%DPM_File%" "%CompileDir%\OEM\DriverPack_MassStorage_wnt5_x86-32.ini" -bso0 -bsp0 DEL /f "%CompileDir%\OEM\DriverPack_MassStorage_wnt5_x86-32.ini" ".\Utilities\7z.exe" d "%CompileDir%\OEM\%DPM_File%" "D\M\U3" -bso0 -bsp0 ::For /f "tokens=*" %%a in ('Dir /b /a:-d "%CompileDir%\OEM\RunOnce\Programs\Driver Packs\Driver Packs v*.7z"') do Set "DP_File=%%a" ::".\Utilities\7z.exe" d "%CompileDir%\OEM\RunOnce\Programs\Driver Packs\%DP_File%" "WdfCoInstaller01007.dll" "WdfCoInstaller01009.dll" -r -bso0 -bsp0 :NEXT :DONE ECHO. ECHO Adding entries to the Windows XP Setup source files . . . ping -n 3 localhost 1>NUL CALL ".\Utilities\JREPL.bat" "\[FloppyFiles\.2\]" "[FloppyFiles.2]\r\nd1,ksecd8.sys" /XSEQ /UTFA /F "%TempDir%\DOSNET.INF" /O - CALL ".\Utilities\JREPL.bat" "\[FloppyFiles\.2\]" "[FloppyFiles.2]\r\nd1,ucx01000.sys" /XSEQ /UTFA /F "%TempDir%\DOSNET.INF" /O - CALL ".\Utilities\JREPL.bat" "\[FloppyFiles\.2\]" "[FloppyFiles.2]\r\nd1,usbd8.sys" /XSEQ /UTFA /F "%TempDir%\DOSNET.INF" /O - CALL ".\Utilities\JREPL.bat" "\[FloppyFiles\.2\]" "[FloppyFiles.2]\r\nd1,usbhub3.sys" /XSEQ /UTFA /F "%TempDir%\DOSNET.INF" /O - CALL ".\Utilities\JREPL.bat" "\[FloppyFiles\.2\]" "[FloppyFiles.2]\r\nd1,usbxhci.sys" /XSEQ /UTFA /F "%TempDir%\DOSNET.INF" /O - CALL ".\Utilities\JREPL.bat" "\[FloppyFiles\.2\]" "[FloppyFiles.2]\r\nd1,wpprecor.sys" /XSEQ /UTFA /F "%TempDir%\DOSNET.INF" /O - CALL ".\Utilities\JREPL.bat" "\[Files\]" "[Files]\r\nd1,ksecd8.sys" /XSEQ /UTFA /F "%TempDir%\DOSNET.INF" /O - CALL ".\Utilities\JREPL.bat" "\[Files\]" "[Files]\r\nd1,ucx01000.sys" /XSEQ /UTFA /F "%TempDir%\DOSNET.INF" /O - CALL ".\Utilities\JREPL.bat" "\[Files\]" "[Files]\r\nd1,usbd8.sys" /XSEQ /UTFA /F "%TempDir%\DOSNET.INF" /O - CALL ".\Utilities\JREPL.bat" "\[Files\]" "[Files]\r\nd1,usbhub3.inf" /XSEQ /UTFA /F "%TempDir%\DOSNET.INF" /O - CALL ".\Utilities\JREPL.bat" "\[Files\]" "[Files]\r\nd1,usbhub3.sys" /XSEQ /UTFA /F "%TempDir%\DOSNET.INF" /O - CALL ".\Utilities\JREPL.bat" "\[Files\]" "[Files]\r\nd1,usbxhci.inf" /XSEQ /UTFA /F "%TempDir%\DOSNET.INF" /O - CALL ".\Utilities\JREPL.bat" "\[Files\]" "[Files]\r\nd1,usbxhci.sys" /XSEQ /UTFA /F "%TempDir%\DOSNET.INF" /O - CALL ".\Utilities\JREPL.bat" "\[Files\]" "[Files]\r\nd1,wpprecor.sys" /XSEQ /UTFA /F "%TempDir%\DOSNET.INF" /O - CALL ".\Utilities\JREPL.bat" "\[SourceDisksFiles\.x86\]" "[SourceDisksFiles.x86]\r\nksecd8.sys = 1,,,,,,4_,4,0,0,,1,4" /XSEQ /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "\[SourceDisksFiles\.x86\]" "[SourceDisksFiles.x86]\r\nucx01000.sys = 1,,,,,,4_,4,0,0,,1,4" /XSEQ /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "\[SourceDisksFiles\.x86\]" "[SourceDisksFiles.x86]\r\nusbd8.sys = 1,,,,,,4_,4,0,0,,1,4" /XSEQ /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "\[SourceDisksFiles\.x86\]" "[SourceDisksFiles.x86]\r\nusbhub3.inf = 1,,,,,,,20,0,0" /XSEQ /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "\[SourceDisksFiles\.x86\]" "[SourceDisksFiles.x86]\r\nusbhub3.sys = 1,,,,,,4_,4,0,0,,1,4" /XSEQ /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "\[SourceDisksFiles\.x86\]" "[SourceDisksFiles.x86]\r\nusbxhci.inf = 1,,,,,,,20,0,0" /XSEQ /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "\[SourceDisksFiles\.x86\]" "[SourceDisksFiles.x86]\r\nusbxhci.sys = 1,,,,,,4_,4,0,0,,1,4" /XSEQ /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "\[SourceDisksFiles\.x86\]" "[SourceDisksFiles.x86]\r\nwpprecor.sys = 1,,,,,,4_,4,0,0,,1,4" /XSEQ /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "\[HardwareIdsDatabase\]" "[HardwareIdsDatabase]\r\nPCI\\CC_0C0330 = \x22usbxhci\x22" /XSEQ /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "\[HardwareIdsDatabase\]" "[HardwareIdsDatabase]\r\nUSB\\ROOT_HUB30 = \x22usbhub3\x22" /XSEQ /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "\[HardwareIdsDatabase\]" "[HardwareIdsDatabase]\r\nUSB\\USB30_HUB = \x22usbhub3\x22" /XSEQ /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "\[HardwareIdsDatabase\]" "[HardwareIdsDatabase]\r\nUSB\\USB20_HUB = \x22usbhub3\x22" /XSEQ /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "\[BootBusExtenders\.Load\]" "[BootBusExtenders.Load]\r\nwdf01000 = wdf01000.sys" /XSEQ /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "\[BusExtenders\.Load\]" "[BusExtenders.Load]\r\nucx01000 = ucx01000.sys" /XSEQ /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "\[InputDevicesSupport\.Load\]" "[InputDevicesSupport.Load]\r\nusbhub3 = usbhub3.sys" /XSEQ /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "\[InputDevicesSupport\.Load\]" "[InputDevicesSupport.Load]\r\nusbxhci = usbxhci.sys" /XSEQ /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "\[SystemPartitionFiles\]" "[files.usbxhci]\r\n\r\n[SystemPartitionFiles]" /XSEQ /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "\[files\.usbxhci\]" "[files.usbxhci]\r\nwdfldr.sys,4" /XSEQ /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "\[files\.usbxhci\]" "[files.usbxhci]\r\nusbxhci.sys,4" /XSEQ /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "\[files\.usbxhci\]" "[files.usbxhci]\r\nusbport.sys,4" /XSEQ /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "\[files\.usbxhci\]" "[files.usbxhci]\r\nusbd.sys,4" /XSEQ /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "\[files\.usbxhci\]" "[files.usbxhci]\r\nhidparse.sys,4" /XSEQ /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "\[files\.usbxhci\]" "[files.usbxhci]\r\nhidclass.sys,4" /XSEQ /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "\[files\.usbxhci\]" "[files.usbxhci]\r\nhid.dll,2" /XSEQ /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "\[SystemPartitionFiles\]" "[files.usbhub3]\r\n\r\n[SystemPartitionFiles]" /XSEQ /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "\[files\.usbhub3\]" "[files.usbhub3]\r\nwdfldr.sys,4" /XSEQ /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "\[files\.usbhub3\]" "[files.usbhub3]\r\nksecd8.sys,4" /XSEQ /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "\[files\.usbhub3\]" "[files.usbhub3]\r\nusbd8.sys,4" /XSEQ /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "\[files\.usbhub3\]" "[files.usbhub3]\r\nusbhub3.sys,4" /XSEQ /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "\[SystemPartitionFiles\]" "[files.ucx01000]\r\n\r\n[SystemPartitionFiles]" /XSEQ /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "\[files\.ucx01000\]" "[files.ucx01000]\r\nwdfldr.sys,4" /XSEQ /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "\[files\.ucx01000\]" "[files.ucx01000]\r\nwpprecor.sys,4" /XSEQ /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "\[files\.ucx01000\]" "[files.ucx01000]\r\nucx01000.sys,4" /XSEQ /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "\[SystemPartitionFiles\]" "[files.wdf01000]\r\n\r\n[SystemPartitionFiles]" /XSEQ /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "\[files\.wdf01000\]" "[files.wdf01000]\r\nwdfldr.sys,4" /XSEQ /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "\[files\.wdf01000\]" "[files.wdf01000]\r\nwdf01000.sys,4" /XSEQ /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "\[FileFlags\]" "[FileFlags]\r\nksecd8.sys =16" /XSEQ /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "\[FileFlags\]" "[FileFlags]\r\nucx01000.sys =16" /XSEQ /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "\[FileFlags\]" "[FileFlags]\r\nusbd8.sys =16" /XSEQ /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "\[FileFlags\]" "[FileFlags]\r\nusbhub3.sys =16" /XSEQ /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "\[FileFlags\]" "[FileFlags]\r\nusbxhci.sys =16" /XSEQ /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "\[FileFlags\]" "[FileFlags]\r\nwpprecor.sys =16" /XSEQ /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "\[BootBusExtenders\]" "[BootBusExtenders]\r\nwdf01000 = \x22Kernel-Mode Driver Framework 1.11\x22,files.wdf01000,wdf01000" /XSEQ /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "\[BusExtenders\]" "[BusExtenders]\r\nucx01000 = \x22USB 3.0 Controller Extension\x22,files.ucx01000,ucx01000" /XSEQ /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "\[InputDevicesSupport\]" "[InputDevicesSupport]\r\nusbhub3 = \x22Standard USB 3.x Root Hub (Microsoft)\x22,files.usbhub3,usbhub3" /XSEQ /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "\[InputDevicesSupport\]" "[InputDevicesSupport]\r\nusbxhci = \x22Standard USB 3.x Host Controller (Microsoft)\x22,files.usbxhci,usbxhci" /XSEQ /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "\[AddReg\]" "$txt=++counter==1?'[AddReg]\r\nHKLM,\x22SYSTEM\\CurrentControlSet\\Control\\Wdf\\Kmdf\\Ucx\\Versions\\1\\1\x22,\x22Service\x22,0x00000000,\x22ucx01000\x22':$0" /JQ /UTFA /F "%TempDir%\HIVESYS.INF" /O - CALL ".\Utilities\JREPL.bat" "\[AddReg\]" "$txt=++counter==1?'[AddReg]\r\nHKLM,\x22SYSTEM\\CurrentControlSet\\Services\\Ucx01000\x22,\x22ErrorControl\x22,0x00010001,\x220x1\x22':$0" /JQ /UTFA /F "%TempDir%\HIVESYS.INF" /O - CALL ".\Utilities\JREPL.bat" "\[AddReg\]" "$txt=++counter==1?'[AddReg]\r\nHKLM,\x22SYSTEM\\CurrentControlSet\\Services\\Ucx01000\x22,\x22Group\x22,0x00000000,\x22System Bus Extender\x22':$0" /JQ /UTFA /F "%TempDir%\HIVESYS.INF" /O - CALL ".\Utilities\JREPL.bat" "\[AddReg\]" "$txt=++counter==1?'[AddReg]\r\nHKLM,\x22SYSTEM\\CurrentControlSet\\Services\\Ucx01000\x22,\x22ImagePath\x22,0x00020000,\x22system32\\drivers\\ucx01000.sys\x22':$0" /JQ /UTFA /F "%TempDir%\HIVESYS.INF" /O - CALL ".\Utilities\JREPL.bat" "\[AddReg\]" "$txt=++counter==1?'[AddReg]\r\nHKLM,\x22SYSTEM\\CurrentControlSet\\Services\\Ucx01000\x22,\x22Start\x22,0x00010001,\x220x0\x22':$0" /JQ /UTFA /F "%TempDir%\HIVESYS.INF" /O - CALL ".\Utilities\JREPL.bat" "\[AddReg\]" "$txt=++counter==1?'[AddReg]\r\nHKLM,\x22SYSTEM\\CurrentControlSet\\Services\\Ucx01000\x22,\x22Type\x22,0x00010001,\x220x1\x22':$0" /JQ /UTFA /F "%TempDir%\HIVESYS.INF" /O - CALL ".\Utilities\JREPL.bat" "\[AddReg\]" "$txt=++counter==1?'[AddReg]\r\nHKLM,\x22SYSTEM\\CurrentControlSet\\Services\\USBHUB3\x22,\x22ErrorControl\x22,0x00010001,\x220x1\x22':$0" /JQ /UTFA /F "%TempDir%\HIVESYS.INF" /O - CALL ".\Utilities\JREPL.bat" "\[AddReg\]" "$txt=++counter==1?'[AddReg]\r\nHKLM,\x22SYSTEM\\CurrentControlSet\\Services\\USBHUB3\x22,\x22Group\x22,0x00000000,\x22Input Device Support\x22':$0" /JQ /UTFA /F "%TempDir%\HIVESYS.INF" /O - CALL ".\Utilities\JREPL.bat" "\[AddReg\]" "$txt=++counter==1?'[AddReg]\r\nHKLM,\x22SYSTEM\\CurrentControlSet\\Services\\USBHUB3\x22,\x22ImagePath\x22,0x00020000,\x22system32\\drivers\\usbhub3.sys\x22':$0" /JQ /UTFA /F "%TempDir%\HIVESYS.INF" /O - CALL ".\Utilities\JREPL.bat" "\[AddReg\]" "$txt=++counter==1?'[AddReg]\r\nHKLM,\x22SYSTEM\\CurrentControlSet\\Services\\USBHUB3\x22,\x22Start\x22,0x00010001,\x220x0\x22':$0" /JQ /UTFA /F "%TempDir%\HIVESYS.INF" /O - CALL ".\Utilities\JREPL.bat" "\[AddReg\]" "$txt=++counter==1?'[AddReg]\r\nHKLM,\x22SYSTEM\\CurrentControlSet\\Services\\USBHUB3\x22,\x22Type\x22,0x00010001,\x220x1\x22':$0" /JQ /UTFA /F "%TempDir%\HIVESYS.INF" /O - CALL ".\Utilities\JREPL.bat" "\[AddReg\]" "$txt=++counter==1?'[AddReg]\r\nHKLM,\x22SYSTEM\\CurrentControlSet\\Services\\USBXHCI\x22,\x22ErrorControl\x22,0x00010001,\x220x1\x22':$0" /JQ /UTFA /F "%TempDir%\HIVESYS.INF" /O - CALL ".\Utilities\JREPL.bat" "\[AddReg\]" "$txt=++counter==1?'[AddReg]\r\nHKLM,\x22SYSTEM\\CurrentControlSet\\Services\\USBXHCI\x22,\x22Group\x22,0x00000000,\x22Input Device Support\x22':$0" /JQ /UTFA /F "%TempDir%\HIVESYS.INF" /O - CALL ".\Utilities\JREPL.bat" "\[AddReg\]" "$txt=++counter==1?'[AddReg]\r\nHKLM,\x22SYSTEM\\CurrentControlSet\\Services\\USBXHCI\x22,\x22ImagePath\x22,0x00020000,\x22system32\\drivers\\usbxhci.sys\x22':$0" /JQ /UTFA /F "%TempDir%\HIVESYS.INF" /O - CALL ".\Utilities\JREPL.bat" "\[AddReg\]" "$txt=++counter==1?'[AddReg]\r\nHKLM,\x22SYSTEM\\CurrentControlSet\\Services\\USBXHCI\x22,\x22Start\x22,0x00010001,\x220x0\x22':$0" /JQ /UTFA /F "%TempDir%\HIVESYS.INF" /O - CALL ".\Utilities\JREPL.bat" "\[AddReg\]" "$txt=++counter==1?'[AddReg]\r\nHKLM,\x22SYSTEM\\CurrentControlSet\\Services\\USBXHCI\x22,\x22Type\x22,0x00010001,\x220x1\x22':$0" /JQ /UTFA /F "%TempDir%\HIVESYS.INF" /O - CALL ".\Utilities\JREPL.bat" "\[AddReg\]" "$txt=++counter==1?'[AddReg]\r\nHKLM,\x22SYSTEM\\CurrentControlSet\\Services\\Wdf01000\x22,\x22ErrorControl\x22,0x00010001,\x220x1\x22':$0" /JQ /UTFA /F "%TempDir%\HIVESYS.INF" /O - CALL ".\Utilities\JREPL.bat" "\[AddReg\]" "$txt=++counter==1?'[AddReg]\r\nHKLM,\x22SYSTEM\\CurrentControlSet\\Services\\Wdf01000\x22,\x22Group\x22,0x00000000,\x22Boot Bus Extender\x22':$0" /JQ /UTFA /F "%TempDir%\HIVESYS.INF" /O - CALL ".\Utilities\JREPL.bat" "\[AddReg\]" "$txt=++counter==1?'[AddReg]\r\nHKLM,\x22SYSTEM\\CurrentControlSet\\Services\\Wdf01000\x22,\x22ImagePath\x22,0x00020000,\x22system32\\drivers\\wdf01000.sys\x22':$0" /JQ /UTFA /F "%TempDir%\HIVESYS.INF" /O - CALL ".\Utilities\JREPL.bat" "\[AddReg\]" "$txt=++counter==1?'[AddReg]\r\nHKLM,\x22SYSTEM\\CurrentControlSet\\Services\\Wdf01000\x22,\x22Start\x22,0x00010001,\x220x0\x22':$0" /JQ /UTFA /F "%TempDir%\HIVESYS.INF" /O - CALL ".\Utilities\JREPL.bat" "\[AddReg\]" "$txt=++counter==1?'[AddReg]\r\nHKLM,\x22SYSTEM\\CurrentControlSet\\Services\\Wdf01000\x22,\x22Type\x22,0x00010001,\x220x1\x22':$0" /JQ /UTFA /F "%TempDir%\HIVESYS.INF" /O - ".\Utilities\offlinereg-win32.exe" "%TempDir%\SETUPREG.HIV" "ControlSet001\Control\Wdf\Kmdf\1" setvalue "Version" "1.11" 1 1>NUL ".\Utilities\offlinereg-win32.exe" "%TempDir%\SETUPREG.HIV" "ControlSet001\Control\Wdf\Kmdf\KmdfLibrary\Versions\1" setvalue "Service" "Wdf01000" 1 1>NUL ".\Utilities\offlinereg-win32.exe" "%TempDir%\SETUPREG.HIV" "ControlSet001\Control\Wdf\Kmdf\Ucx\Versions\1\1" setvalue "Service" "ucx01000" 1 1>NUL ".\Utilities\offlinereg-win32.exe" "%TempDir%\SETUPREG.HIV" "ControlSet001\Control\Wdf\Schema\KmdfService" setvalue "Type" "0" 4 1>NUL ".\Utilities\offlinereg-win32.exe" "%TempDir%\SETUPREG.HIV" "ControlSet001\Control\Wdf\Schema\KmdfService\Object" setvalue "KeyPath" "CurrentControlSet\Services" 1 1>NUL ".\Utilities\offlinereg-win32.exe" "%TempDir%\SETUPREG.HIV" "ControlSet001\Control\Wdf\Schema\KmdfService\Object" setvalue "KeyRoot" "SYSTEM" 1 1>NUL ".\Utilities\offlinereg-win32.exe" "%TempDir%\SETUPREG.HIV" "ControlSet001\Services\Wdf01000\Parameters" setvalue "BuildNumber" "0" 4 1>NUL ".\Utilities\offlinereg-win32.exe" "%TempDir%\SETUPREG.HIV" "ControlSet001\Services\Wdf01000\Parameters" setvalue "MajorVersion" "1" 4 1>NUL ".\Utilities\offlinereg-win32.exe" "%TempDir%\SETUPREG.HIV" "ControlSet001\Services\Wdf01000\Parameters" setvalue "MinorVersion" "11" 4 1>NUL CALL ".\Utilities\JREPL.bat" "\[Version\]" "[Version]\r\nCatalogFile = 9-WXPIE.cat" /XSEQ /UTFA /F "%TempDir%\usbhub3.inf" /O - CALL ".\Utilities\JREPL.bat" "\[SourceDisksNames\]" "[SourceDisksNames]\r\n1=\x22\x25DiskID\x25\x22,,,\x22\\I386\x22" /XSEQ /UTFA /F "%TempDir%\usbhub3.inf" /O - CALL ".\Utilities\JREPL.bat" "\[Version\]" "[Version]\r\nCatalogFile = 9-WXPIE.cat" /XSEQ /UTFA /F "%TempDir%\usbxhci.inf" /O - CALL ".\Utilities\JREPL.bat" "\[SourceDisksNames\]" "[SourceDisksNames]\r\n1=\x22\x25DiskID\x25\x22,,,\x22\\I386\x22" /XSEQ /UTFA /F "%TempDir%\usbxhci.inf" /O - ECHO. ECHO Adding files into the Windows XP Setup source folder . . . ping -n 3 localhost 1>NUL ".\Utilities\makecab.exe" "%TempDir%\ksecd8.sys" /L "%CompileDir%\I386" 1>NUL ".\Utilities\makecab.exe" "%TempDir%\ucx01000.sys" /L "%CompileDir%\I386" 1>NUL ".\Utilities\makecab.exe" "%TempDir%\usbd8.sys" /L "%CompileDir%\I386" 1>NUL ".\Utilities\makecab.exe" "%TempDir%\usbhub3.inf" /L "%CompileDir%\I386" 1>NUL ".\Utilities\makecab.exe" "%TempDir%\usbhub3.sys" /L "%CompileDir%\I386" 1>NUL ".\Utilities\makecab.exe" "%TempDir%\usbxhci.inf" /L "%CompileDir%\I386" 1>NUL ".\Utilities\makecab.exe" "%TempDir%\usbxhci.sys" /L "%CompileDir%\I386" 1>NUL ".\Utilities\makecab.exe" "%TempDir%\wpprecor.sys" /L "%CompileDir%\I386" 1>NUL XCOPY "%TempDir%\DOSNET.INF" "%CompileDir%\I386" /V /Y /Z 1>NUL XCOPY "%TempDir%\TXTSETUP.SIF" "%CompileDir%\I386" /V /Y /Z 1>NUL XCOPY "%TempDir%\HIVESYS.INF" "%CompileDir%\I386" /V /Y /Z 1>NUL XCOPY "%TempDir%\SETUPREG.HIV" "%CompileDir%\I386" /V /Y /Z 1>NUL :SKIP If "%optA1USB%"=="%off%" GoTo SKIP ECHO. ECHO ---------------------[ AMD^&Intel v145 USB3.0 xHCI Driver ]--------------------- ECHO. ECHO Copying files into the temporary folder . . . ping -n 3 localhost 1>NUL PushD ".\Patches\AMD&Intel USB3.0 xHCI drivers\AMDXHCI XP 145*" XCOPY ".\amdhub30.inf" "%TempDir%" /V /Y /Z 1>NUL XCOPY ".\amdhub30.sys" "%TempDir%" /V /Y /Z 1>NUL XCOPY ".\amdxhc.inf" "%TempDir%" /V /Y /Z 1>NUL XCOPY ".\amdxhc.sys" "%TempDir%" /V /Y /Z 1>NUL PushD "%~dp0" XCOPY "%CompileDir%\I386\DOSNET.INF" "%TempDir%" /V /Y /Z 1>NUL XCOPY "%CompileDir%\I386\TXTSETUP.SIF" "%TempDir%" /V /Y /Z 1>NUL XCOPY "%CompileDir%\I386\SETUPREG.HIV" "%TempDir%" /V /Y /Z 1>NUL If "%optDPB%"=="%on%" GoTo DONE If Not Exist "%CompileDir%\I386\ADPU160M.ORG" GoTo NEXT ECHO. ECHO Removing DriverPacks BASE entries in the Windows XP Setup source files . . . ping -n 3 localhost 1>NUL CALL ".\Utilities\JREPL.bat" "d1,amdxhc\.sys\r\n" "" /XSEQ /M /UTFA /F "%TempDir%\DOSNET.INF" /O - CALL ".\Utilities\JREPL.bat" "d1,amdhub30\.sys\r\n" "" /XSEQ /M /UTFA /F "%TempDir%\DOSNET.INF" /O - CALL ".\Utilities\JREPL.bat" "amdxhc\.sys=1,,,,,,4_,4,1,,,1,4\r\n" "" /XSEQ /M /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "amdhub30\.sys=1,,,,,,4_,4,1,,,1,4\r\n" "" /XSEQ /M /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "PCI\\VEN_.*=\x22amdxhc\x22\r\n" "" /XSEQ /M /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "AMDUSB30\\.*=\x22amdhub30\x22\r\n" "" /XSEQ /M /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "amdxhc=amdxhc\.sys,4\r\n" "" /XSEQ /M /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "amdhub30=amdhub30\.sys,4\r\n" "" /XSEQ /M /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "amdxhc=\x22AMD .*\x22\r\n" "" /XSEQ /M /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "amdhub30=\x22AMD .*\x22\r\n" "" /XSEQ /M /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - :NEXT If Not Exist "%CompileDir%\OEM\DPM*.7z" GoTo NEXT ECHO. ECHO Editing DriverPacks BASE source files . . . ping -n 3 localhost 1>NUL For /f "tokens=*" %%a in ('Dir /b /a:-d "%CompileDir%\OEM\DPM*.7z"') do Set "DPM_File=%%a" ".\Utilities\7z.exe" e "%CompileDir%\OEM\%DPM_File%" -y "DriverPack_MassStorage_wnt5_x86-32.ini" -o"%CompileDir%\OEM" -bso0 -bsp0 CALL ".\Utilities\JREPL.bat" "[U3-x86]" "[U3-x86_Removed]" /XSEQ /L /UTFA /F "%CompileDir%\OEM\DriverPack_MassStorage_wnt5_x86-32.ini" /O - ".\Utilities\7z.exe" u "%CompileDir%\OEM\%DPM_File%" "%CompileDir%\OEM\DriverPack_MassStorage_wnt5_x86-32.ini" -bso0 -bsp0 DEL /f "%CompileDir%\OEM\DriverPack_MassStorage_wnt5_x86-32.ini" ".\Utilities\7z.exe" d "%CompileDir%\OEM\%DPM_File%" "D\M\U3\x86" -bso0 -bsp0 ".\Utilities\7z.exe" d "%CompileDir%\OEM\%DPM_File%" "D\M\U3\amdhub30.cat" -bso0 -bsp0 ".\Utilities\7z.exe" d "%CompileDir%\OEM\%DPM_File%" "D\M\U3\amdhub30.inf" -bso0 -bsp0 ".\Utilities\7z.exe" d "%CompileDir%\OEM\%DPM_File%" "D\M\U3\amdxhc.cat" -bso0 -bsp0 ".\Utilities\7z.exe" d "%CompileDir%\OEM\%DPM_File%" "D\M\U3\amdxhc.inf" -bso0 -bsp0 ".\Utilities\7z.exe" d "%CompileDir%\OEM\%DPM_File%" "D\M\U3\amdxhc-txtsetup.oem" -bso0 -bsp0 :NEXT :DONE ECHO. ECHO Adding entries to the Windows XP Setup source files . . . ping -n 3 localhost 1>NUL CALL ".\Utilities\JREPL.bat" "\[FloppyFiles\.2\]" "[FloppyFiles.2]\r\nd1,amdxhc.sys" /XSEQ /UTFA /F "%TempDir%\DOSNET.INF" /O - CALL ".\Utilities\JREPL.bat" "\[FloppyFiles\.2\]" "[FloppyFiles.2]\r\nd1,amdhub30.sys" /XSEQ /UTFA /F "%TempDir%\DOSNET.INF" /O - CALL ".\Utilities\JREPL.bat" "\[Files\]" "[Files]\r\nd1,amdxhc.inf" /XSEQ /UTFA /F "%TempDir%\DOSNET.INF" /O - CALL ".\Utilities\JREPL.bat" "\[Files\]" "[Files]\r\nd1,amdxhc.sys" /XSEQ /UTFA /F "%TempDir%\DOSNET.INF" /O - CALL ".\Utilities\JREPL.bat" "\[Files\]" "[Files]\r\nd1,amdhub30.inf" /XSEQ /UTFA /F "%TempDir%\DOSNET.INF" /O - CALL ".\Utilities\JREPL.bat" "\[Files\]" "[Files]\r\nd1,amdhub30.sys" /XSEQ /UTFA /F "%TempDir%\DOSNET.INF" /O - CALL ".\Utilities\JREPL.bat" "\[SourceDisksFiles\.x86\]" "[SourceDisksFiles.x86]\r\namdxhc.inf = 1,,,,,,,20,0,0" /XSEQ /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "\[SourceDisksFiles\.x86\]" "[SourceDisksFiles.x86]\r\namdxhc.sys = 1,,,,,,4_,4,0,0,,1,4" /XSEQ /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "\[SourceDisksFiles\.x86\]" "[SourceDisksFiles.x86]\r\namdhub30.inf = 1,,,,,,,20,0,0" /XSEQ /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "\[SourceDisksFiles\.x86\]" "[SourceDisksFiles.x86]\r\namdhub30.sys = 1,,,,,,4_,4,0,0,,1,4" /XSEQ /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "\[HardwareIdsDatabase\]" "[HardwareIdsDatabase]\r\nPCI\\VEN_1022&DEV_7812 = \x22amdxhc\x22" /XSEQ /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "\[HardwareIdsDatabase\]" "[HardwareIdsDatabase]\r\nPCI\\VEN_1022&DEV_7814 = \x22amdxhc\x22" /XSEQ /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "\[HardwareIdsDatabase\]" "[HardwareIdsDatabase]\r\nPCI\\VEN_1022&DEV_7914 = \x22amdxhc\x22" /XSEQ /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "\[HardwareIdsDatabase\]" "[HardwareIdsDatabase]\r\nPCI\\VEN_8086&CC_0C0330 = \x22amdxhc\x22" /XSEQ /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "\[HardwareIdsDatabase\]" "[HardwareIdsDatabase]\r\nPCI\\VEN_15AD&CC_0C0330 = \x22amdxhc\x22" /XSEQ /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "\[HardwareIdsDatabase\]" "[HardwareIdsDatabase]\r\nAMDUSB30\\ROOT_HUB30 = \x22amdhub30\x22" /XSEQ /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "\[HardwareIdsDatabase\]" "[HardwareIdsDatabase]\r\nAMDUSB30\\CLASS_09&SUBCLASS_00&PROT_00 = \x22amdhub30\x22" /XSEQ /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "\[HardwareIdsDatabase\]" "[HardwareIdsDatabase]\r\nAMDUSB30\\CLASS_09&SUBCLASS_00&PROT_01 = \x22amdhub30\x22" /XSEQ /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "\[HardwareIdsDatabase\]" "[HardwareIdsDatabase]\r\nAMDUSB30\\CLASS_09&SUBCLASS_00&PROT_02 = \x22amdhub30\x22" /XSEQ /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "\[HardwareIdsDatabase\]" "[HardwareIdsDatabase]\r\nAMDUSB30\\CLASS_09&SUBCLASS_00&PROT_03 = \x22amdhub30\x22" /XSEQ /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "\[HardwareIdsDatabase\]" "[HardwareIdsDatabase]\r\nAMDUSB30\\CLASS_09&SUBCLASS_01 = \x22amdhub30\x22" /XSEQ /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "\[InputDevicesSupport\.Load\]" "[InputDevicesSupport.Load]\r\namdhub30 = amdhub30.sys" /XSEQ /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "\[InputDevicesSupport\.Load\]" "[InputDevicesSupport.Load]\r\namdxhc = amdxhc.sys" /XSEQ /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "\[SystemPartitionFiles\]" "[files.amdxhc]\r\n\r\n[SystemPartitionFiles]" /XSEQ /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "\[files\.amdxhc\]" "[files.amdxhc]\r\namdxhc.sys,4" /XSEQ /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "\[files\.amdxhc\]" "[files.amdxhc]\r\nusbport.sys,4" /XSEQ /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "\[files\.amdxhc\]" "[files.amdxhc]\r\nusbd.sys,4" /XSEQ /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "\[files\.amdxhc\]" "[files.amdxhc]\r\nhidparse.sys,4" /XSEQ /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "\[files\.amdxhc\]" "[files.amdxhc]\r\nhidclass.sys,4" /XSEQ /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "\[files\.amdxhc\]" "[files.amdxhc]\r\nhid.dll,2" /XSEQ /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "\[SystemPartitionFiles\]" "[files.amdhub30]\r\n\r\n[SystemPartitionFiles]" /XSEQ /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "\[files\.amdhub30\]" "[files.amdhub30]\r\namdhub30.sys,4" /XSEQ /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "\[FileFlags\]" "[FileFlags]\r\namdxhc.sys =16" /XSEQ /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "\[FileFlags\]" "[FileFlags]\r\namdhub30.sys =16" /XSEQ /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "\[InputDevicesSupport\]" "[InputDevicesSupport]\r\namdhub30 = \x22Standard USB 3.0 Root Hub (AMD)\x22,files.amdhub30,amdhub30" /XSEQ /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "\[InputDevicesSupport\]" "[InputDevicesSupport]\r\namdxhc = \x22Standard USB 3.0 Host Controller (AMD)\x22,files.amdxhc,amdxhc" /XSEQ /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - ".\Utilities\offlinereg-win32.exe" "%TempDir%\SETUPREG.HIV" "ControlSet001\Services\amdhub30" setvalue "Group" "Input Device Support" 1 1>NUL ".\Utilities\offlinereg-win32.exe" "%TempDir%\SETUPREG.HIV" "ControlSet001\Services\amdhub30" setvalue "Tag" "5" 4 1>NUL ".\Utilities\offlinereg-win32.exe" "%TempDir%\SETUPREG.HIV" "ControlSet001\Services\amdxhc" setvalue "Group" "Input Device Support" 1 1>NUL ".\Utilities\offlinereg-win32.exe" "%TempDir%\SETUPREG.HIV" "ControlSet001\Services\amdxhc" setvalue "Tag" "4" 4 1>NUL CALL ".\Utilities\JREPL.bat" "\[Version\]" "[Version]\r\nCatalogFile = 9-WXPIE.cat" /XSEQ /UTFA /F "%TempDir%\amdxhc.inf" /O - CALL ".\Utilities\JREPL.bat" "\[SourceDisksNames\]" "[SourceDisksNames]\r\n1 = \x25DISKID\x25,,,\x22\\I386\x22" /XSEQ /UTFA /F "%TempDir%\amdxhc.inf" /O - CALL ".\Utilities\JREPL.bat" "\[Version\]" "[Version]\r\nCatalogFile = 9-WXPIE.cat" /XSEQ /UTFA /F "%TempDir%\amdhub30.inf" /O - CALL ".\Utilities\JREPL.bat" "\[SourceDisksNames\]" "[SourceDisksNames]\r\n1 = \x25DISKID\x25,,,\x22\\I386\x22" /XSEQ /UTFA /F "%TempDir%\amdhub30.inf" /O - ECHO. ECHO Adding files into the Windows XP Setup source folder . . . ping -n 3 localhost 1>NUL ".\Utilities\makecab.exe" "%TempDir%\amdhub30.inf" /L "%CompileDir%\I386" 1>NUL ".\Utilities\makecab.exe" "%TempDir%\amdhub30.sys" /L "%CompileDir%\I386" 1>NUL ".\Utilities\makecab.exe" "%TempDir%\amdxhc.inf" /L "%CompileDir%\I386" 1>NUL ".\Utilities\makecab.exe" "%TempDir%\amdxhc.sys" /L "%CompileDir%\I386" 1>NUL XCOPY "%TempDir%\DOSNET.INF" "%CompileDir%\I386" /V /Y /Z 1>NUL XCOPY "%TempDir%\TXTSETUP.SIF" "%CompileDir%\I386" /V /Y /Z 1>NUL XCOPY "%TempDir%\SETUPREG.HIV" "%CompileDir%\I386" /V /Y /Z 1>NUL :SKIP If "%optUAS%"=="%off%" GoTo SKIP ECHO. ECHO ------------------------------[ UAS/UASP Driver ]------------------------------ ECHO. ECHO Copying files into the temporary folder . . . ping -n 3 localhost 1>NUL PushD ".\Patches\Microsoft USB3.x xHCI driver*" XCOPY ".\uaspstor.inf" "%TempDir%" /V /Y /Z 1>NUL XCOPY ".\uaspstor.sys" "%TempDir%" /V /Y /Z 1>NUL XCOPY ".\usbd8.sys" "%TempDir%" /V /Y /Z 1>NUL XCOPY ".\wpprecor.sys" "%TempDir%" /V /Y /Z 1>NUL PushD "%~dp0" XCOPY "%CompileDir%\I386\DOSNET.INF" "%TempDir%" /V /Y /Z 1>NUL XCOPY "%CompileDir%\I386\TXTSETUP.SIF" "%TempDir%" /V /Y /Z 1>NUL ECHO. ECHO Adding entries to the Windows XP Setup source files . . . ping -n 3 localhost 1>NUL CALL ".\Utilities\JREPL.bat" "\[Files\]" "[Files]\r\nd1,uaspstor.inf" /XSEQ /UTFA /F "%TempDir%\DOSNET.INF" /O - CALL ".\Utilities\JREPL.bat" "\[Files\]" "[Files]\r\nd1,uaspstor.sys" /XSEQ /UTFA /F "%TempDir%\DOSNET.INF" /O - FindStr /l /i /e "usbd8.sys" "%TempDir%\DOSNET.INF" >NUL || CALL ".\Utilities\JREPL.bat" "\[Files\]" "[Files]\r\nd1,usbd8.sys" /XSEQ /UTFA /F "%TempDir%\DOSNET.INF" /O - FindStr /l /i /e "wpprecor.sys" "%TempDir%\DOSNET.INF" >NUL || CALL ".\Utilities\JREPL.bat" "\[Files\]" "[Files]\r\nd1,wpprecor.sys" /XSEQ /UTFA /F "%TempDir%\DOSNET.INF" /O - CALL ".\Utilities\JREPL.bat" "\[SourceDisksFiles\.x86\]" "[SourceDisksFiles.x86]\r\nuaspstor.inf = 1,,,,,,,20,0,0" /XSEQ /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "\[SourceDisksFiles\.x86\]" "[SourceDisksFiles.x86]\r\nuaspstor.sys = 1,,,,,,4_,4,0,0,,1,4" /XSEQ /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - FindStr /r /i "usbd8.sys.*,." "%TempDir%\TXTSETUP.SIF" >NUL || CALL ".\Utilities\JREPL.bat" "\[SourceDisksFiles\.x86\]" "[SourceDisksFiles.x86]\r\nusbd8.sys = 1,,,,,,4_,4,0,0,,1,4" /XSEQ /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - FindStr /r /i "wpprecor.sys.*,." "%TempDir%\TXTSETUP.SIF" >NUL || CALL ".\Utilities\JREPL.bat" "\[SourceDisksFiles\.x86\]" "[SourceDisksFiles.x86]\r\nwpprecor.sys = 1,,,,,,4_,4,0,0,,1,4" /XSEQ /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "\[FileFlags\]" "[FileFlags]\r\nuaspstor.sys =16" /XSEQ /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - FindStr /r /i "usbd8.sys.*=*16$" "%TempDir%\TXTSETUP.SIF" >NUL || CALL ".\Utilities\JREPL.bat" "\[FileFlags\]" "[FileFlags]\r\nusbd8.sys =16" /XSEQ /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - FindStr /r /i "wpprecor.sys.*=*16$" "%TempDir%\TXTSETUP.SIF" >NUL || CALL ".\Utilities\JREPL.bat" "\[FileFlags\]" "[FileFlags]\r\nwpprecor.sys =16" /XSEQ /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "\[Version\]" "[Version]\r\nCatalogFile = 9-WXPIE.cat" /XSEQ /UTFA /F "%TempDir%\uaspstor.inf" /O - CALL ".\Utilities\JREPL.bat" "\[SourceDisksNames\]" "[SourceDisksNames]\r\n1=\x22\x25DiskID\x25\x22,,,\x22\\I386\x22" /XSEQ /UTFA /F "%TempDir%\uaspstor.inf" /O - ECHO. ECHO Adding files into the Windows XP Setup source folder . . . ping -n 3 localhost 1>NUL ".\Utilities\makecab.exe" "%TempDir%\uaspstor.inf" /L "%CompileDir%\I386" 1>NUL ".\Utilities\makecab.exe" "%TempDir%\uaspstor.sys" /L "%CompileDir%\I386" 1>NUL ".\Utilities\makecab.exe" "%TempDir%\usbd8.sys" /L "%CompileDir%\I386" 1>NUL ".\Utilities\makecab.exe" "%TempDir%\wpprecor.sys" /L "%CompileDir%\I386" 1>NUL XCOPY "%TempDir%\DOSNET.INF" "%CompileDir%\I386" /V /Y /Z 1>NUL XCOPY "%TempDir%\TXTSETUP.SIF" "%CompileDir%\I386" /V /Y /Z 1>NUL :SKIP Echo %optMSDC% | FindStr /l /i "%on%" >NUL 2>&1 || GoTo SKIP ECHO. ECHO -----------------------[ Microsoft SD+MMC Card Driver ]------------------------ ECHO. ECHO Copying files into the temporary folder . . . ping -n 3 localhost 1>NUL PushD ".\Patches\Microsoft SD+MMC Card driver*" XCOPY ".\sdbus.inf" "%TempDir%" /V /Y /Z 1>NUL XCOPY ".\sdstor.inf" "%TempDir%" /V /Y /Z 1>NUL XCOPY ".\sdbus.sys" "%TempDir%" /V /Y /Z 1>NUL XCOPY ".\sdstor.sys" "%TempDir%" /V /Y /Z 1>NUL ::XCOPY ".\dumpsd.sys" "%TempDir%" /V /Y /Z 1>NUL PushD "%~dp0" XCOPY "%CompileDir%\I386\DOSNET.INF" "%TempDir%" /V /Y /Z 1>NUL XCOPY "%CompileDir%\I386\TXTSETUP.SIF" "%TempDir%" /V /Y /Z 1>NUL XCOPY "%CompileDir%\I386\HIVESYS.INF" "%TempDir%" /V /Y /Z 1>NUL ECHO. ECHO Adding entries to the Windows XP Setup source files . . . ping -n 3 localhost 1>NUL CALL ".\Utilities\JREPL.bat" "\[FloppyFiles\.1\]" "[FloppyFiles.1]\r\nd1,sdbus.sys" /XSEQ /UTFA /F "%TempDir%\DOSNET.INF" /O - CALL ".\Utilities\JREPL.bat" "\[FloppyFiles\.1\]" "[FloppyFiles.1]\r\nd1,sdstor.sys" /XSEQ /UTFA /F "%TempDir%\DOSNET.INF" /O - ::CALL ".\Utilities\JREPL.bat" "\[FloppyFiles\.1\]" "[FloppyFiles.1]\r\nd1,dumpsd.sys" /XSEQ /UTFA /F "%TempDir%\DOSNET.INF" /O - CALL ".\Utilities\JREPL.bat" "\[Files\]" "[Files]\r\nd1,sdbus.inf" /XSEQ /UTFA /F "%TempDir%\DOSNET.INF" /O - CALL ".\Utilities\JREPL.bat" "\[Files\]" "[Files]\r\nd1,sdstor.inf" /XSEQ /UTFA /F "%TempDir%\DOSNET.INF" /O - CALL ".\Utilities\JREPL.bat" "\[Files\]" "[Files]\r\nd1,sdbus.sys" /XSEQ /UTFA /F "%TempDir%\DOSNET.INF" /O - CALL ".\Utilities\JREPL.bat" "\[Files\]" "[Files]\r\nd1,sdstor.sys" /XSEQ /UTFA /F "%TempDir%\DOSNET.INF" /O - ::CALL ".\Utilities\JREPL.bat" "\[Files\]" "[Files]\r\nd1,dumpsd.sys" /XSEQ /UTFA /F "%TempDir%\DOSNET.INF" /O - CALL ".\Utilities\JREPL.bat" "\[SourceDisksFiles\.x86\]" "[SourceDisksFiles.x86]\r\nsdbus.inf = 1,,,,,,,20,0,0" /XSEQ /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "\[SourceDisksFiles\.x86\]" "[SourceDisksFiles.x86]\r\nsdstor.inf = 1,,,,,,,20,0,0" /XSEQ /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "\[SourceDisksFiles\.x86\]" "[SourceDisksFiles.x86]\r\nsdbus.sys = 1,,,,,,4_,4,0,0,,1,4" /XSEQ /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "\[SourceDisksFiles\.x86\]" "[SourceDisksFiles.x86]\r\nsdstor.sys = 1,,,,,,4_,4,0,0,,1,4" /XSEQ /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - ::CALL ".\Utilities\JREPL.bat" "\[SourceDisksFiles\.x86\]" "[SourceDisksFiles.x86]\r\ndumpsd.sys = 1,,,,,,4_,4,0,0,,1,4" /XSEQ /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "\[HardwareIdsDatabase\]" "[HardwareIdsDatabase]\r\nPCI\\CC_080500 = \x22sdbus\x22" /XSEQ /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "\[HardwareIdsDatabase\]" "[HardwareIdsDatabase]\r\nPCI\\CC_080501 = \x22sdbus\x22" /XSEQ /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "\[HardwareIdsDatabase\]" "[HardwareIdsDatabase]\r\nACPI\\PNP0D40 = \x22sdbus\x22" /XSEQ /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "\[HardwareIdsDatabase\]" "[HardwareIdsDatabase]\r\nSD\\CLASS_STORAGE = \x22sdstor\x22" /XSEQ /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - ::CALL ".\Utilities\JREPL.bat" "\[HardwareIdsDatabase\]" "[HardwareIdsDatabase]\r\nSD\\CLASS_MMC = \x22sdstor\x22" /XSEQ /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - ::CALL ".\Utilities\JREPL.bat" "\[SCSI\.Load\]" "[SCSI.Load]\r\ndumpsd = dumpsd.sys,4" /XSEQ /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "\[SCSI\.Load\]" "[SCSI.Load]\r\nsdbus = sdbus.sys,4" /XSEQ /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "\[SCSI\.Load\]" "[SCSI.Load]\r\nsdstor = sdstor.sys,4" /XSEQ /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - ::CALL ".\Utilities\JREPL.bat" "\[FileFlags\]" "[FileFlags]\r\ndumpsd.sys =16" /XSEQ /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "\[FileFlags\]" "[FileFlags]\r\nsdbus.sys =16" /XSEQ /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "\[FileFlags\]" "[FileFlags]\r\nsdstor.sys =16" /XSEQ /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - ::CALL ".\Utilities\JREPL.bat" "\[SCSI\]" "[SCSI]\r\ndumpsd = \x22SD Storage Class Controller\x22" /XSEQ /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "\[SCSI\]" "[SCSI]\r\nsdbus = \x22SDA Standard Compliant SD Host Controller\x22" /XSEQ /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "\[SCSI\]" "[SCSI]\r\nsdstor = \x22SD Storage Class Controller\x22" /XSEQ /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "\[AddReg\]" "$txt=++counter==1?'[AddReg]\r\nHKLM,\x22SYSTEM\\CurrentControlSet\\Services\\sdbus\x22,\x22BootFlags\x22,0x00010001,\x220x8\x22':$0" /JQ /UTFA /F "%TempDir%\HIVESYS.INF" /O - CALL ".\Utilities\JREPL.bat" "\[AddReg\]" "$txt=++counter==1?'[AddReg]\r\nHKLM,\x22SYSTEM\\CurrentControlSet\\Services\\sdbus\\Parameters\x22,\x22SdCmdFlags\x22,0x00000001,05,01,06,01,08,11,09,19,0A,19,0D,11,10,01,11,01,12,01,17,01,18,05,19,05,1A,01,1B,01,1C,01,20,05,21,05,26,05,2A,01,34,02,35,02,37,01,38,01,22,01,23,05,24,01,25,01':$0" /JQ /UTFA /F "%TempDir%\HIVESYS.INF" /O - CALL ".\Utilities\JREPL.bat" "\[AddReg\]" "$txt=++counter==1?'[AddReg]\r\nHKLM,\x22SYSTEM\\CurrentControlSet\\Services\\sdbus\\Parameters\x22,\x22SdAppCmdFlags\x22,0x00000001,06,01,0D,01,16,01,17,01,33,01,12,01,19,01,1A,01,26,01,2B,01,2C,01,2D,01,2E,01,2F,01,30,01,31,01':$0" /JQ /UTFA /F "%TempDir%\HIVESYS.INF" /O - CALL ".\Utilities\JREPL.bat" "\[AddReg\]" "$txt=++counter==1?'[AddReg]\r\nHKLM,\x22SYSTEM\\CurrentControlSet\\Services\\sdbus\x22,\x22Group\x22,0x00000000,\x22System Bus Extender\x22':$0" /JQ /UTFA /F "%TempDir%\HIVESYS.INF" /O - CALL ".\Utilities\JREPL.bat" "\[AddReg\]" "$txt=++counter==1?'[AddReg]\r\nHKLM,\x22SYSTEM\\CurrentControlSet\\Services\\sdstor\x22,\x22BootFlags\x22,0x00010001,\x220x8\x22':$0" /JQ /UTFA /F "%TempDir%\HIVESYS.INF" /O - CALL ".\Utilities\JREPL.bat" "\[AddReg\]" "$txt=++counter==1?'[AddReg]\r\nHKLM,\x22SYSTEM\\CurrentControlSet\\Services\\sdstor\\Parameters\x22,\x22SdCmdFlags\x22,0x00000001,09,01,0A,01,0D,01,10,01,2A,01,20,01,21,01,26,01,22,01,23,01,24,01,25,01,32,01,39,01':$0" /JQ /UTFA /F "%TempDir%\HIVESYS.INF" /O - CALL ".\Utilities\JREPL.bat" "\[AddReg\]" "$txt=++counter==1?'[AddReg]\r\nHKLM,\x22SYSTEM\\CurrentControlSet\\Services\\sdstor\\Parameters\x22,\x22SdAppCmdFlags\x22,0x00000001,0D,01,12,01,19,01,1A,01,26,01,2B,01,2C,01,2D,01,2E,01,2F,01,30,01,31,01,33,01':$0" /JQ /UTFA /F "%TempDir%\HIVESYS.INF" /O - CALL ".\Utilities\JREPL.bat" "\[Version\]" "[Version]\r\nCatalogFile = 9-WXPIE.cat" /XSEQ /UTFA /F "%TempDir%\sdbus.inf" /O - CALL ".\Utilities\JREPL.bat" "\[SourceDisksNames\]" "[SourceDisksNames]\r\n3426=\x25Generic\x25,,,\x22\\I386\x22" /XSEQ /UTFA /F "%TempDir%\sdbus.inf" /O - CALL ".\Utilities\JREPL.bat" "\[Version\]" "[Version]\r\nCatalogFile = 9-WXPIE.cat" /XSEQ /UTFA /F "%TempDir%\sdstor.inf" /O - CALL ".\Utilities\JREPL.bat" "\[SourceDisksNames\]" "[SourceDisksNames]\r\n3426=\x25sdstor_ServiceDesc\x25,,,\x22\\I386\x22" /XSEQ /UTFA /F "%TempDir%\sdstor.inf" /O - ECHO. ECHO Adding files into the Windows XP Setup source folder . . . ping -n 3 localhost 1>NUL ".\Utilities\makecab.exe" "%TempDir%\sdbus.inf" /L "%CompileDir%\I386" 1>NUL ".\Utilities\makecab.exe" "%TempDir%\sdstor.inf" /L "%CompileDir%\I386" 1>NUL ".\Utilities\makecab.exe" "%TempDir%\sdbus.sys" /L "%CompileDir%\I386" 1>NUL ".\Utilities\makecab.exe" "%TempDir%\sdstor.sys" /L "%CompileDir%\I386" 1>NUL ::".\Utilities\makecab.exe" "%TempDir%\dumpsd.sys" /L "%CompileDir%\I386" 1>NUL XCOPY "%TempDir%\DOSNET.INF" "%CompileDir%\I386" /V /Y /Z 1>NUL XCOPY "%TempDir%\TXTSETUP.SIF" "%CompileDir%\I386" /V /Y /Z 1>NUL XCOPY "%TempDir%\HIVESYS.INF" "%CompileDir%\I386" /V /Y /Z 1>NUL :SKIP If "%optC220%"=="%off%" GoTo SKIP ECHO. ECHO ------------------------[ Intel USB3.x HC-Switch C220 ]------------------------ ECHO. ECHO Copying files into the temporary folder . . . ping -n 3 localhost 1>NUL PushD ".\Patches\Intel USB3.x HC-Switch*\Gen4 Series8 - C220*\x86\driver" XCOPY ".\z1-iu3hs.inf" "%TempDir%" /V /Y /Z 1>NUL XCOPY ".\z2-iu3hs.inf" "%TempDir%" /V /Y /Z 1>NUL XCOPY ".\iusb3hcs.sys" "%TempDir%" /V /Y /Z 1>NUL PushD "%~dp0" XCOPY "%CompileDir%\I386\DOSNET.INF" "%TempDir%" /V /Y /Z 1>NUL XCOPY "%CompileDir%\I386\TXTSETUP.SIF" "%TempDir%" /V /Y /Z 1>NUL XCOPY "%CompileDir%\I386\HIVESYS.INF" "%TempDir%" /V /Y /Z 1>NUL ".\Utilities\7z.exe" x "%CompileDir%\I386\SYSOC.IN_" -y -o"%TempDir%" -bso0 -bsp0 ECHO. ECHO Adding entries to the Windows XP Setup source files . . . ping -n 3 localhost 1>NUL CALL ".\Utilities\JREPL.bat" "\[FloppyFiles\.2\]" "[FloppyFiles.2]\r\nd1,iusb3hcs.sys" /XSEQ /UTFA /F "%TempDir%\DOSNET.INF" /O - CALL ".\Utilities\JREPL.bat" "\[Files\]" "[Files]\r\nd1,z1-iu3hs.inf" /XSEQ /UTFA /F "%TempDir%\DOSNET.INF" /O - CALL ".\Utilities\JREPL.bat" "\[Files\]" "[Files]\r\nd1,z2-iu3hs.inf" /XSEQ /UTFA /F "%TempDir%\DOSNET.INF" /O - CALL ".\Utilities\JREPL.bat" "\[Files\]" "[Files]\r\nd1,iusb3hcs.sys" /XSEQ /UTFA /F "%TempDir%\DOSNET.INF" /O - CALL ".\Utilities\JREPL.bat" "\[SourceDisksFiles\.x86\]" "[SourceDisksFiles.x86]\r\nz1-iu3hs.inf = 1,,,,,,,20,0,0" /XSEQ /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "\[SourceDisksFiles\.x86\]" "[SourceDisksFiles.x86]\r\nz2-iu3hs.inf = 1,,,,,,,20,0,0" /XSEQ /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "\[SourceDisksFiles\.x86\]" "[SourceDisksFiles.x86]\r\niusb3hcs.sys = 1,,,,,,4_,4,0,0,,1,4" /XSEQ /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "\[FileFlags\]" "[FileFlags]\r\niusb3hcs.sys =16" /XSEQ /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - ::FindStr /l /i /c:"\"WdfLoadGroup\",\\" "%TempDir%\HIVESYS.INF" >NUL || CALL ".\Utilities\JREPL.bat" "\x22System Reserved\x22,\\" "\x22System Reserved\x22,\\\r\n\x22WdfLoadGroup\x22,\\" /XSEQ /UTFA /F "%TempDir%\HIVESYS.INF" /O - CALL ".\Utilities\JREPL.bat" "\[AddReg\]" "$txt=++counter==1?'[AddReg]\r\nHKLM,\x22SYSTEM\\CurrentControlSet\\Services\\iusb3hcs\x22,\x22ErrorControl\x22,0x00010001,\x220x1\x22':$0" /JQ /UTFA /F "%TempDir%\HIVESYS.INF" /O - CALL ".\Utilities\JREPL.bat" "\[AddReg\]" "$txt=++counter==1?'[AddReg]\r\nHKLM,\x22SYSTEM\\CurrentControlSet\\Services\\iusb3hcs\x22,\x22Group\x22,0x00000000,\x22Boot Bus Extender\x22':$0" /JQ /UTFA /F "%TempDir%\HIVESYS.INF" /O - CALL ".\Utilities\JREPL.bat" "\[AddReg\]" "$txt=++counter==1?'[AddReg]\r\nHKLM,\x22SYSTEM\\CurrentControlSet\\Services\\iusb3hcs\x22,\x22ImagePath\x22,0x00020000,\x22system32\\drivers\\iusb3hcs.sys\x22':$0" /JQ /UTFA /F "%TempDir%\HIVESYS.INF" /O - CALL ".\Utilities\JREPL.bat" "\[AddReg\]" "$txt=++counter==1?'[AddReg]\r\nHKLM,\x22SYSTEM\\CurrentControlSet\\Services\\iusb3hcs\x22,\x22Start\x22,0x00010001,\x220x0\x22':$0" /JQ /UTFA /F "%TempDir%\HIVESYS.INF" /O - CALL ".\Utilities\JREPL.bat" "\[AddReg\]" "$txt=++counter==1?'[AddReg]\r\nHKLM,\x22SYSTEM\\CurrentControlSet\\Services\\iusb3hcs\x22,\x22Type\x22,0x00010001,\x220x1\x22':$0" /JQ /UTFA /F "%TempDir%\HIVESYS.INF" /O - CALL ".\Utilities\JREPL.bat" "\[AddReg\]" "$txt=++counter==1?'[AddReg]\r\nHKLM,\x22SYSTEM\\CurrentControlSet\\Control\\CriticalDeviceDatabase\\*pnp0a08\x22,\x22Service\x22,0x00000000,\x22pci\x22':$0" /JQ /UTFA /F "%TempDir%\HIVESYS.INF" /O - CALL ".\Utilities\JREPL.bat" "\[AddReg\]" "$txt=++counter==1?'[AddReg]\r\nHKLM,\x22SYSTEM\\CurrentControlSet\\Control\\CriticalDeviceDatabase\\*pnp0a08\x22,\x22ClassGUID\x22,0x00000000,\x22{4D36E97D-E325-11CE-BFC1-08002BE10318}\x22':$0" /JQ /UTFA /F "%TempDir%\HIVESYS.INF" /O - CALL ".\Utilities\JREPL.bat" "\[AddReg\]" "$txt=++counter==1?'[AddReg]\r\nHKLM,\x22SYSTEM\\CurrentControlSet\\Control\\CriticalDeviceDatabase\\*pnp0a08\x22,\x22LowerFilters\x22,0x00010000,\x22iusb3hcs\x22':$0" /JQ /UTFA /F "%TempDir%\HIVESYS.INF" /O - CALL ".\Utilities\JREPL.bat" "\[AddReg\]" "$txt=++counter==1?'[AddReg]\r\nHKLM,\x22SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\RunOnceEx\\iusb3hcs\x22,\x22\x22,0x00000000,\x22Intel USB3.x HC-Switch\x22':$0" /JQ /UTFA /F "%TempDir%\HIVESYS.INF" /O - CALL ".\Utilities\JREPL.bat" "\[AddReg\]" "$txt=++counter==1?'[AddReg]\r\nHKLM,\x22SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\RunOnceEx\\iusb3hcs\x22,\x22Information-l1\x22,0x00000000,\x22CMD /C > \x22\x22\x25UserProfile\x25\\Desktop\\Enable - HC-Switch.txt\x22\x22 ECHO To enable the Intel USB 3.x HC switch, you need to follow the steps below:\x22':$0" /JQ /UTFA /F "%TempDir%\HIVESYS.INF" /O - CALL ".\Utilities\JREPL.bat" "\[AddReg\]" "$txt=++counter==1?'[AddReg]\r\nHKLM,\x22SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\RunOnceEx\\iusb3hcs\x22,\x22Information-l2\x22,0x00000000,\x22CMD /C >>\x22\x22\x25UserProfile\x25\\Desktop\\Enable - HC-Switch.txt\x22\x22 ECHO START -\x5e> My Computer -\x5e> Properties (right-click) -\x5e> Hardware -\x5e> Device Manager -\x5e> System devices -\x5e> PCI bus (right-click) -\x5e> Update Driver ... -\x5e>\x22':$0" /JQ /UTFA /F "%TempDir%\HIVESYS.INF" /O - CALL ".\Utilities\JREPL.bat" "\[AddReg\]" "$txt=++counter==1?'[AddReg]\r\nHKLM,\x22SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\RunOnceEx\\iusb3hcs\x22,\x22Information-l3\x22,0x00000000,\x22CMD /C >>\x22\x22\x25UserProfile\x25\\Desktop\\Enable - HC-Switch.txt\x22\x22 ECHO Install from a list or specific location (Advanced) -\x5e> Don\x27t search. I will choose the driver to install -\x5e> PCI bus [Intel] -\x5e> Next -\x5e> Reboot.\x22':$0" /JQ /UTFA /F "%TempDir%\HIVESYS.INF" /O - CALL ".\Utilities\JREPL.bat" "\[Components\]" "[Components]\r\niusb3hcs = ocgen.dll,OcEntry,z2-iu3hs.inf,HIDE,7" /XSEQ /UTFA /F "%TempDir%\SYSOC.INF" /O - CALL ".\Utilities\JREPL.bat" "\[Version\]" "[Version]\r\nCatalogFile = 9-WXPIE.cat" /XSEQ /UTFA /F "%TempDir%\z1-iu3hs.inf" /O - CALL ".\Utilities\JREPL.bat" "\[SourceDisksNames\]" "[SourceDisksNames]\r\n1 = \x25DISK_NAME\x25,,,\x22\\I386\x22" /XSEQ /UTFA /F "%TempDir%\z1-iu3hs.inf" /O - ECHO. ECHO Adding files into the Windows XP Setup source folder . . . ping -n 3 localhost 1>NUL ".\Utilities\makecab.exe" "%TempDir%\z1-iu3hs.inf" /L "%CompileDir%\I386" 1>NUL ".\Utilities\makecab.exe" "%TempDir%\z2-iu3hs.inf" /L "%CompileDir%\I386" 1>NUL ".\Utilities\makecab.exe" "%TempDir%\iusb3hcs.sys" /L "%CompileDir%\I386" 1>NUL XCOPY "%TempDir%\DOSNET.INF" "%CompileDir%\I386" /V /Y /Z 1>NUL XCOPY "%TempDir%\TXTSETUP.SIF" "%CompileDir%\I386" /V /Y /Z 1>NUL XCOPY "%TempDir%\HIVESYS.INF" "%CompileDir%\I386" /V /Y /Z 1>NUL ".\Utilities\makecab.exe" "%TempDir%\SYSOC.INF" /L "%CompileDir%\I386" 1>NUL :SKIP If "%optLUSB%"=="%off%" GoTo SKIP ECHO. ECHO ---------------------------------[ Live USB ]---------------------------------- ECHO. ECHO Copying files into the temporary folder . . . ping -n 3 localhost 1>NUL ".\Utilities\7z.exe" x "%CompileDir%\I386\usb.in_" -y -o"%TempDir%" -bso0 -bsp0 ".\Utilities\7z.exe" x "%CompileDir%\I386\usbport.in_" -y -o"%TempDir%" -bso0 -bsp0 ".\Utilities\7z.exe" x "%CompileDir%\I386\usbstor.in_" -y -o"%TempDir%" -bso0 -bsp0 ".\Utilities\7z.exe" x "%CompileDir%\I386\wmdm.in_" -y -o"%TempDir%" -bso0 -bsp0 XCOPY "%CompileDir%\I386\TXTSETUP.SIF" "%TempDir%" /V /Y /Z 1>NUL XCOPY "%CompileDir%\I386\HIVESYS.INF" "%TempDir%" /V /Y /Z 1>NUL ECHO. ECHO Changing entries in the Windows XP Setup source files . . . ping -n 3 localhost 1>NUL CALL ".\Utilities\JREPL.bat" "usbstor.*usbstor\.sys\r\n" "" /XSEQ /M /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "usbhub.*usbhub\.sys\r\n" "" /XSEQ /M /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "usbuhci.*usbuhci\.sys\r\n" "" /XSEQ /M /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "usbohci.*usbohci\.sys\r\n" "" /XSEQ /M /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "usbehci.*usbehci\.sys\r\n" "" /XSEQ /M /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "\[BootBusExtenders\.Load\]" "[BootBusExtenders.Load]\r\nusbstor = usbstor.sys" /XSEQ /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "\[BootBusExtenders\.Load\]" "[BootBusExtenders.Load]\r\nusbhub = usbhub.sys" /XSEQ /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "\[BootBusExtenders\.Load\]" "[BootBusExtenders.Load]\r\nusbuhci = usbuhci.sys" /XSEQ /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "\[BootBusExtenders\.Load\]" "[BootBusExtenders.Load]\r\nusbohci = usbohci.sys" /XSEQ /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "\[BootBusExtenders\.Load\]" "[BootBusExtenders.Load]\r\nusbehci = usbehci.sys" /XSEQ /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "usbstor.*,files\.usbstor,usbstor\r\n" "" /XSEQ /M /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "usbhub.*,files\.usbhub,usbhub\r\n" "" /XSEQ /M /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "usbuhci.*,files\.usbuhci,usbuhci\r\n" "" /XSEQ /M /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "usbohci.*,files\.usbohci,usbohci\r\n" "" /XSEQ /M /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "usbehci.*,files\.usbehci,usbehci\r\n" "" /XSEQ /M /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "\[BootBusExtenders\]" "[BootBusExtenders]\r\nusbstor = \x22USB Storage Class Driver\x22,files.usbstor,usbstor" /XSEQ /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "\[BootBusExtenders\]" "[BootBusExtenders]\r\nusbhub = \x22Generic USB Hub Driver\x22,files.usbhub,usbhub" /XSEQ /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "\[BootBusExtenders\]" "[BootBusExtenders]\r\nusbuhci = \x22Universal Host Controller\x22,files.usbuhci,usbuhci" /XSEQ /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "\[BootBusExtenders\]" "[BootBusExtenders]\r\nusbohci = \x22Open Host Controller\x22,files.usbohci,usbohci" /XSEQ /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "\[BootBusExtenders\]" "[BootBusExtenders]\r\nusbehci = \x22Enhanced Host Controller\x22,files.usbehci,usbehci" /XSEQ /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "StartType.*3*" "StartType = 0 ; SERVICE_BOOT_START" /XSEQ /UTFA /F "%TempDir%\usb.inf" /O - CALL ".\Utilities\JREPL.bat" "LoadOrderGroup.*Base" "LoadOrderGroup = Boot Bus Extender" /XSEQ /UTFA /F "%TempDir%\usb.inf" /O - CALL ".\Utilities\JREPL.bat" "StartType.*3*" "StartType = 0 ; SERVICE_BOOT_START" /XSEQ /UTFA /F "%TempDir%\usbport.inf" /O - CALL ".\Utilities\JREPL.bat" "LoadOrderGroup.*Base" "LoadOrderGroup = Boot Bus Extender" /XSEQ /UTFA /F "%TempDir%\usbport.inf" /O - CALL ".\Utilities\JREPL.bat" "StartType.*3*" "$txt=++counter==2?'StartType = 0 ; SERVICE_BOOT_START':$0" /JQ /UTFA /F "%TempDir%\usbstor.inf" /O - CALL ".\Utilities\JREPL.bat" "\[USBSTOR\.AddService\]" "[USBSTOR.AddService]\r\nTag = 3" /XSEQ /UTFA /F "%TempDir%\usbstor.inf" /O - CALL ".\Utilities\JREPL.bat" "\[USBSTOR\.AddService\]" "[USBSTOR.AddService]\r\nLoadOrderGroup = Boot Bus Extender" /XSEQ /UTFA /F "%TempDir%\usbstor.inf" /O - If Not Exist "%CompileDir%\I386\usbhub3.in_" GoTo NEXT CALL ".\Utilities\JREPL.bat" "wdf01000.*wdf01000\.sys\r\n" "" /XSEQ /M /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "ucx01000.*ucx01000\.sys\r\n" "" /XSEQ /M /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "usbhub3.*usbhub3\.sys\r\n" "" /XSEQ /M /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "usbxhci.*usbxhci\.sys\r\n" "" /XSEQ /M /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "\[BootBusExtenders\.Load\]" "[BootBusExtenders.Load]\r\nusbhub3 = usbhub3.sys" /XSEQ /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "\[BootBusExtenders\.Load\]" "[BootBusExtenders.Load]\r\nusbxhci = usbxhci.sys" /XSEQ /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "\[BootBusExtenders\.Load\]" "[BootBusExtenders.Load]\r\nucx01000 = ucx01000.sys" /XSEQ /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "\[BootBusExtenders\.Load\]" "[BootBusExtenders.Load]\r\nwdf01000 = wdf01000.sys" /XSEQ /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "usbhub3.*,files\.usbhub3,usbhub3\r\n" "" /XSEQ /M /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "usbxhci.*,files\.usbxhci,usbxhci\r\n" "" /XSEQ /M /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "ucx01000.*,files\.ucx01000,ucx01000\r\n" "" /XSEQ /M /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "wdf01000.*,files\.wdf01000,wdf01000\r\n" "" /XSEQ /M /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "\[BootBusExtenders\]" "[BootBusExtenders]\r\nusbhub3 = \x22Standard USB 3.x Root Hub (Microsoft)\x22,files.usbhub3,usbhub3" /XSEQ /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "\[BootBusExtenders\]" "[BootBusExtenders]\r\nusbxhci = \x22Standard USB 3.x Host Controller (Microsoft)\x22,files.usbxhci,usbxhci" /XSEQ /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "\[BootBusExtenders\]" "[BootBusExtenders]\r\nucx01000 = \x22Standard USB 3.x Controller Extension (Microsoft)\x22,files.ucx01000,ucx01000" /XSEQ /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "\[BootBusExtenders\]" "[BootBusExtenders]\r\nwdf01000 = \x22Kernel-Mode Driver Framework 1.11\x22,files.wdf01000,wdf01000" /XSEQ /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "HKLM,\x22SYSTEM\\CurrentControlSet\\Services\\USBHUB3\x22,\x22Group\x22,0x00000000,\x22Input Device Support\x22" "HKLM,\x22SYSTEM\\CurrentControlSet\\Services\\USBHUB3\x22,\x22Group\x22,0x00000000,\x22Base\x22" /XSEQ /UTFA /F "%TempDir%\HIVESYS.INF" /O - CALL ".\Utilities\JREPL.bat" "HKLM,\x22SYSTEM\\CurrentControlSet\\Services\\USBXHCI\x22,\x22Group\x22,0x00000000,\x22Input Device Support\x22" "HKLM,\x22SYSTEM\\CurrentControlSet\\Services\\USBXHCI\x22,\x22Group\x22,0x00000000,\x22Base\x22" /XSEQ /UTFA /F "%TempDir%\HIVESYS.INF" /O - CALL ".\Utilities\JREPL.bat" "HKLM,\x22SYSTEM\\CurrentControlSet\\Services\\Ucx01000\x22,\x22Group\x22,0x00000000,\x22Input Device Support\x22" "HKLM,\x22SYSTEM\\CurrentControlSet\\Services\\Ucx01000\x22,\x22Group\x22,0x00000000,\x22Boot Bus Extender\x22" /XSEQ /UTFA /F "%TempDir%\HIVESYS.INF" /O - CALL ".\Utilities\JREPL.bat" "HKLM,\x22SYSTEM\\CurrentControlSet\\Services\\Wdf01000\x22,\x22Group\x22,0x00000000,\x22Input Device Support\x22" "HKLM,\x22SYSTEM\\CurrentControlSet\\Services\\Wdf01000\x22,\x22Group\x22,0x00000000,\x22System Reserved\x22" /XSEQ /UTFA /F "%TempDir%\HIVESYS.INF" /O - CALL ".\Utilities\JREPL.bat" "Tag.*3" "Tag = 0" /XSEQ /UTFA /F "%TempDir%\usbstor.inf" /O - CALL ".\Utilities\JREPL.bat" "LoadOrderGroup.*Boot Bus Extender" "LoadOrderGroup = System Reserved" /XSEQ /UTFA /F "%TempDir%\usbstor.inf" /O - CALL ".\Utilities\JREPL.bat" "StartType.*3*" "StartType = 0 ; SERVICE_BOOT_START" /XSEQ /UTFA /F "%TempDir%\usbxhci.inf" /O - CALL ".\Utilities\JREPL.bat" "LoadOrderGroup.*Base" "$txt=++counter==2?'LoadOrderGroup = Boot Bus Extender':$0" /JQ /UTFA /F "%TempDir%\usbxhci.inf" /O - CALL ".\Utilities\JREPL.bat" "StartType.*3*" "StartType = 0 ; SERVICE_BOOT_START" /XSEQ /UTFA /F "%TempDir%\usbhub3.inf" /O - CALL ".\Utilities\JREPL.bat" "LoadOrderGroup.*WdfLoadGroup" "LoadOrderGroup=System Reserved" /XSEQ /UTFA /F "%TempDir%\wmdm.inf" /O - CALL ".\Utilities\JREPL.bat" "\[KmdfSvc_Registry\]" "[KmdfSvc_Registry]\r\nHKLM,\x22SYSTEM\\CurrentControlSet\\Services\\Wdf01000\x22,\x22Start\x22,0x00010001,\x220x0\x22" /XSEQ /UTFA /F "%TempDir%\wmdm.inf" /O - :NEXT If Not Exist "%CompileDir%\I386\amdhub30.in_" GoTo NEXT CALL ".\Utilities\JREPL.bat" "amdhub30.*amdhub30\.sys\r\n" "" /XSEQ /M /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "amdxhc.*amdxhc\.sys\r\n" "" /XSEQ /M /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "\[BootBusExtenders\.Load\]" "[BootBusExtenders.Load]\r\namdhub30 = amdhub30.sys" /XSEQ /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "\[BootBusExtenders\.Load\]" "[BootBusExtenders.Load]\r\namdxhc = amdxhc.sys" /XSEQ /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "amdhub30.*,files\.amdhub30,amdhub30\r\n" "" /XSEQ /M /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "amdxhc.*,files\.amdxhc,amdxhc\r\n" "" /XSEQ /M /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "\[BootBusExtenders\]" "[BootBusExtenders]\r\namdhub30 = \x22AMD USB 3.0 Hub Driver\x22,files.amdhub30,amdhub30" /XSEQ /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "\[BootBusExtenders\]" "[BootBusExtenders]\r\namdxhc = \x22AMD USB 3.0 Host Controller\x22,files.amdxhc,amdxhc" /XSEQ /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "Tag.*3" "Tag = 0" /XSEQ /UTFA /F "%TempDir%\usbstor.inf" /O - CALL ".\Utilities\JREPL.bat" "LoadOrderGroup.*Boot Bus Extender" "LoadOrderGroup = System Reserved" /XSEQ /UTFA /F "%TempDir%\usbstor.inf" /O - CALL ".\Utilities\JREPL.bat" "StartType.*3*" "StartType = 0 ; SERVICE_BOOT_START" /XSEQ /UTFA /F "%TempDir%\amdxhc.inf" /O - CALL ".\Utilities\JREPL.bat" "LoadOrderGroup.*Base" "LoadOrderGroup = System Reserved" /XSEQ /UTFA /F "%TempDir%\amdxhc.inf" /O - CALL ".\Utilities\JREPL.bat" "StartType.*3*" "StartType = 0 ; SERVICE_BOOT_START" /XSEQ /UTFA /F "%TempDir%\amdhub30.inf" /O - CALL ".\Utilities\JREPL.bat" "LoadOrderGroup.*Base" "LoadOrderGroup = System Reserved" /XSEQ /UTFA /F "%TempDir%\amdhub30.inf" /O - :NEXT ECHO. ECHO Adding entries to the Windows XP Setup source files . . . ping -n 3 localhost 1>NUL CALL ".\Utilities\JREPL.bat" "\[AddReg\]" "$txt=++counter==1?'[AddReg]\r\nHKLM,\x22SYSTEM\\CurrentControlSet\\Services\\usbstor\x22,\x22DisplayName\x22,0x00000000,\x22USB Mass Storage Driver\x22':$0" /JQ /UTFA /F "%TempDir%\HIVESYS.INF" /O - CALL ".\Utilities\JREPL.bat" "\[AddReg\]" "$txt=++counter==1?'[AddReg]\r\nHKLM,\x22SYSTEM\\CurrentControlSet\\Services\\usbstor\x22,\x22ErrorControl\x22,0x00010001,\x220x1\x22':$0" /JQ /UTFA /F "%TempDir%\HIVESYS.INF" /O - CALL ".\Utilities\JREPL.bat" "\[AddReg\]" "$txt=++counter==1?'[AddReg]\r\nHKLM,\x22SYSTEM\\CurrentControlSet\\Services\\usbstor\x22,\x22Group\x22,0x00000000,\x22System Reserved\x22':$0" /JQ /UTFA /F "%TempDir%\HIVESYS.INF" /O - CALL ".\Utilities\JREPL.bat" "\[AddReg\]" "$txt=++counter==1?'[AddReg]\r\nHKLM,\x22SYSTEM\\CurrentControlSet\\Services\\usbstor\x22,\x22ImagePath\x22,0x00020000,\x22system32\\drivers\\usbstor.sys\x22':$0" /JQ /UTFA /F "%TempDir%\HIVESYS.INF" /O - CALL ".\Utilities\JREPL.bat" "\[AddReg\]" "$txt=++counter==1?'[AddReg]\r\nHKLM,\x22SYSTEM\\CurrentControlSet\\Services\\usbstor\x22,\x22Start\x22,0x00010001,\x220x0\x22':$0" /JQ /UTFA /F "%TempDir%\HIVESYS.INF" /O - CALL ".\Utilities\JREPL.bat" "\[AddReg\]" "$txt=++counter==1?'[AddReg]\r\nHKLM,\x22SYSTEM\\CurrentControlSet\\Services\\usbstor\x22,\x22Type\x22,0x00010001,\x220x1\x22':$0" /JQ /UTFA /F "%TempDir%\HIVESYS.INF" /O - CALL ".\Utilities\JREPL.bat" "\[AddReg\]" "$txt=++counter==1?'[AddReg]\r\nHKLM,\x22SYSTEM\\CurrentControlSet\\Services\\usbehci\x22,\x22DisplayName\x22,0x00000000,\x22USB 2.0 Enhanced Host Controller MiniportDriver\x22':$0" /JQ /UTFA /F "%TempDir%\HIVESYS.INF" /O - CALL ".\Utilities\JREPL.bat" "\[AddReg\]" "$txt=++counter==1?'[AddReg]\r\nHKLM,\x22SYSTEM\\CurrentControlSet\\Services\\usbehci\x22,\x22ErrorControl\x22,0x00010001,\x220x1\x22':$0" /JQ /UTFA /F "%TempDir%\HIVESYS.INF" /O - CALL ".\Utilities\JREPL.bat" "\[AddReg\]" "$txt=++counter==1?'[AddReg]\r\nHKLM,\x22SYSTEM\\CurrentControlSet\\Services\\usbehci\x22,\x22Group\x22,0x00000000,\x22System Reserved\x22':$0" /JQ /UTFA /F "%TempDir%\HIVESYS.INF" /O - CALL ".\Utilities\JREPL.bat" "\[AddReg\]" "$txt=++counter==1?'[AddReg]\r\nHKLM,\x22SYSTEM\\CurrentControlSet\\Services\\usbehci\x22,\x22ImagePath\x22,0x00020000,\x22system32\\drivers\\usbehci.sys\x22':$0" /JQ /UTFA /F "%TempDir%\HIVESYS.INF" /O - CALL ".\Utilities\JREPL.bat" "\[AddReg\]" "$txt=++counter==1?'[AddReg]\r\nHKLM,\x22SYSTEM\\CurrentControlSet\\Services\\usbehci\x22,\x22Start\x22,0x00010001,\x220x0\x22':$0" /JQ /UTFA /F "%TempDir%\HIVESYS.INF" /O - CALL ".\Utilities\JREPL.bat" "\[AddReg\]" "$txt=++counter==1?'[AddReg]\r\nHKLM,\x22SYSTEM\\CurrentControlSet\\Services\\usbehci\x22,\x22Type\x22,0x00010001,\x220x1\x22':$0" /JQ /UTFA /F "%TempDir%\HIVESYS.INF" /O - CALL ".\Utilities\JREPL.bat" "\[AddReg\]" "$txt=++counter==1?'[AddReg]\r\nHKLM,\x22SYSTEM\\CurrentControlSet\\Services\\usbhub\x22,\x22DisplayName\x22,0x00000000,\x22USB2 Enabled Hub\x22':$0" /JQ /UTFA /F "%TempDir%\HIVESYS.INF" /O - CALL ".\Utilities\JREPL.bat" "\[AddReg\]" "$txt=++counter==1?'[AddReg]\r\nHKLM,\x22SYSTEM\\CurrentControlSet\\Services\\usbhub\x22,\x22ErrorControl\x22,0x00010001,\x220x1\x22':$0" /JQ /UTFA /F "%TempDir%\HIVESYS.INF" /O - CALL ".\Utilities\JREPL.bat" "\[AddReg\]" "$txt=++counter==1?'[AddReg]\r\nHKLM,\x22SYSTEM\\CurrentControlSet\\Services\\usbhub\x22,\x22Group\x22,0x00000000,\x22System Reserved\x22':$0" /JQ /UTFA /F "%TempDir%\HIVESYS.INF" /O - CALL ".\Utilities\JREPL.bat" "\[AddReg\]" "$txt=++counter==1?'[AddReg]\r\nHKLM,\x22SYSTEM\\CurrentControlSet\\Services\\usbhub\x22,\x22ImagePath\x22,0x00020000,\x22system32\\drivers\\usbhub.sys\x22':$0" /JQ /UTFA /F "%TempDir%\HIVESYS.INF" /O - CALL ".\Utilities\JREPL.bat" "\[AddReg\]" "$txt=++counter==1?'[AddReg]\r\nHKLM,\x22SYSTEM\\CurrentControlSet\\Services\\usbhub\x22,\x22Start\x22,0x00010001,\x220x0\x22':$0" /JQ /UTFA /F "%TempDir%\HIVESYS.INF" /O - CALL ".\Utilities\JREPL.bat" "\[AddReg\]" "$txt=++counter==1?'[AddReg]\r\nHKLM,\x22SYSTEM\\CurrentControlSet\\Services\\usbhub\x22,\x22Type\x22,0x00010001,\x220x1\x22':$0" /JQ /UTFA /F "%TempDir%\HIVESYS.INF" /O - CALL ".\Utilities\JREPL.bat" "\[AddReg\]" "$txt=++counter==1?'[AddReg]\r\nHKLM,\x22SYSTEM\\CurrentControlSet\\Services\\usbuhci\x22,\x22DisplayName\x22,0x00000000,\x22Microsoft USB Universal Host Controller Miniport Driver\x22':$0" /JQ /UTFA /F "%TempDir%\HIVESYS.INF" /O - CALL ".\Utilities\JREPL.bat" "\[AddReg\]" "$txt=++counter==1?'[AddReg]\r\nHKLM,\x22SYSTEM\\CurrentControlSet\\Services\\usbuhci\x22,\x22ErrorControl\x22,0x00010001,\x220x1\x22':$0" /JQ /UTFA /F "%TempDir%\HIVESYS.INF" /O - CALL ".\Utilities\JREPL.bat" "\[AddReg\]" "$txt=++counter==1?'[AddReg]\r\nHKLM,\x22SYSTEM\\CurrentControlSet\\Services\\usbuhci\x22,\x22Group\x22,0x00000000,\x22System Reserved\x22':$0" /JQ /UTFA /F "%TempDir%\HIVESYS.INF" /O - CALL ".\Utilities\JREPL.bat" "\[AddReg\]" "$txt=++counter==1?'[AddReg]\r\nHKLM,\x22SYSTEM\\CurrentControlSet\\Services\\usbuhci\x22,\x22ImagePath\x22,0x00020000,\x22system32\\drivers\\usbuhci.sys\x22':$0" /JQ /UTFA /F "%TempDir%\HIVESYS.INF" /O - CALL ".\Utilities\JREPL.bat" "\[AddReg\]" "$txt=++counter==1?'[AddReg]\r\nHKLM,\x22SYSTEM\\CurrentControlSet\\Services\\usbuhci\x22,\x22Start\x22,0x00010001,\x220x0\x22':$0" /JQ /UTFA /F "%TempDir%\HIVESYS.INF" /O - CALL ".\Utilities\JREPL.bat" "\[AddReg\]" "$txt=++counter==1?'[AddReg]\r\nHKLM,\x22SYSTEM\\CurrentControlSet\\Services\\usbuhci\x22,\x22Type\x22,0x00010001,\x220x1\x22':$0" /JQ /UTFA /F "%TempDir%\HIVESYS.INF" /O - CALL ".\Utilities\JREPL.bat" "\[AddReg\]" "$txt=++counter==1?'[AddReg]\r\nHKLM,\x22SYSTEM\\CurrentControlSet\\Services\\usbohci\x22,\x22DisplayName\x22,0x00000000,\x22Microsoft USB Open Host Controller Miniport Driver\x22':$0" /JQ /UTFA /F "%TempDir%\HIVESYS.INF" /O - CALL ".\Utilities\JREPL.bat" "\[AddReg\]" "$txt=++counter==1?'[AddReg]\r\nHKLM,\x22SYSTEM\\CurrentControlSet\\Services\\usbohci\x22,\x22ErrorControl\x22,0x00010001,\x220x1\x22':$0" /JQ /UTFA /F "%TempDir%\HIVESYS.INF" /O - CALL ".\Utilities\JREPL.bat" "\[AddReg\]" "$txt=++counter==1?'[AddReg]\r\nHKLM,\x22SYSTEM\\CurrentControlSet\\Services\\usbohci\x22,\x22Group\x22,0x00000000,\x22System Reserved\x22':$0" /JQ /UTFA /F "%TempDir%\HIVESYS.INF" /O - CALL ".\Utilities\JREPL.bat" "\[AddReg\]" "$txt=++counter==1?'[AddReg]\r\nHKLM,\x22SYSTEM\\CurrentControlSet\\Services\\usbohci\x22,\x22ImagePath\x22,0x00020000,\x22system32\\drivers\\usbohci.sys\x22':$0" /JQ /UTFA /F "%TempDir%\HIVESYS.INF" /O - CALL ".\Utilities\JREPL.bat" "\[AddReg\]" "$txt=++counter==1?'[AddReg]\r\nHKLM,\x22SYSTEM\\CurrentControlSet\\Services\\usbohci\x22,\x22Start\x22,0x00010001,\x220x0\x22':$0" /JQ /UTFA /F "%TempDir%\HIVESYS.INF" /O - CALL ".\Utilities\JREPL.bat" "\[AddReg\]" "$txt=++counter==1?'[AddReg]\r\nHKLM,\x22SYSTEM\\CurrentControlSet\\Services\\usbohci\x22,\x22Type\x22,0x00010001,\x220x1\x22':$0" /JQ /UTFA /F "%TempDir%\HIVESYS.INF" /O - If Not Exist "%CompileDir%\I386\usbhub3.in_" GoTo NEXT CALL ".\Utilities\JREPL.bat" "\[AddReg\]" "$txt=++counter==1?'[AddReg]\r\nHKLM,\x22SYSTEM\\CurrentControlSet\\Services\\Wdf01000\x22,\x22Tag\x22,0x00010001,\x220x1\x22':$0" /JQ /UTFA /F "%TempDir%\HIVESYS.INF" /O - CALL ".\Utilities\JREPL.bat" "\[AddReg\]" "$txt=++counter==1?'[AddReg]\r\nHKLM,\x22SYSTEM\\CurrentControlSet\\Services\\usbstor\x22,\x22Tag\x22,0x00010001,\x220x2\x22':$0" /JQ /UTFA /F "%TempDir%\HIVESYS.INF" /O - CALL ".\Utilities\JREPL.bat" "\[AddReg\]" "$txt=++counter==1?'[AddReg]\r\nHKLM,\x22SYSTEM\\CurrentControlSet\\Services\\Ucx01000\x22,\x22Tag\x22,0x00010001,\x220x3\x22':$0" /JQ /UTFA /F "%TempDir%\HIVESYS.INF" /O - CALL ".\Utilities\JREPL.bat" "\[AddReg\]" "$txt=++counter==1?'[AddReg]\r\nHKLM,\x22SYSTEM\\CurrentControlSet\\Services\\USBXHCI\x22,\x22Tag\x22,0x00010001,\x220x4\x22':$0" /JQ /UTFA /F "%TempDir%\HIVESYS.INF" /O - CALL ".\Utilities\JREPL.bat" "\[AddReg\]" "$txt=++counter==1?'[AddReg]\r\nHKLM,\x22SYSTEM\\CurrentControlSet\\Services\\USBHUB3\x22,\x22Tag\x22,0x00010001,\x220x5\x22':$0" /JQ /UTFA /F "%TempDir%\HIVESYS.INF" /O - :NEXT If Not Exist "%CompileDir%\I386\amdhub30.in_" GoTo NEXT CALL ".\Utilities\JREPL.bat" "\[AddReg\]" "$txt=++counter==1?'[AddReg]\r\nHKLM,\x22SYSTEM\\CurrentControlSet\\Services\\usbstor\x22,\x22Tag\x22,0x00010001,\x220x1\x22':$0" /JQ /UTFA /F "%TempDir%\HIVESYS.INF" /O - CALL ".\Utilities\JREPL.bat" "\[AddReg\]" "$txt=++counter==1?'[AddReg]\r\nHKLM,\x22SYSTEM\\CurrentControlSet\\Services\\amdxhc\x22,\x22Tag\x22,0x00010001,\x220x2\x22':$0" /JQ /UTFA /F "%TempDir%\HIVESYS.INF" /O - CALL ".\Utilities\JREPL.bat" "\[AddReg\]" "$txt=++counter==1?'[AddReg]\r\nHKLM,\x22SYSTEM\\CurrentControlSet\\Services\\amdhub30\x22,\x22Tag\x22,0x00010001,\x220x3\x22':$0" /JQ /UTFA /F "%TempDir%\HIVESYS.INF" /O - :NEXT ECHO. ECHO Adding files into the Windows XP Setup source folder . . . ping -n 3 localhost 1>NUL ".\Utilities\makecab.exe" "%TempDir%\usb.inf" /L "%CompileDir%\I386" 1>NUL ".\Utilities\makecab.exe" "%TempDir%\usbport.inf" /L "%CompileDir%\I386" 1>NUL ".\Utilities\makecab.exe" "%TempDir%\usbstor.inf" /L "%CompileDir%\I386" 1>NUL ".\Utilities\makecab.exe" "%TempDir%\wmdm.inf" /L "%CompileDir%\I386" 1>NUL ".\Utilities\makecab.exe" "%TempDir%\usbhub3.inf" /L "%CompileDir%\I386" 1>NUL ".\Utilities\makecab.exe" "%TempDir%\usbxhci.inf" /L "%CompileDir%\I386" 1>NUL ".\Utilities\makecab.exe" "%TempDir%\amdhub30.inf" /L "%CompileDir%\I386" 1>NUL ".\Utilities\makecab.exe" "%TempDir%\amdxhc.inf" /L "%CompileDir%\I386" 1>NUL XCOPY "%TempDir%\TXTSETUP.SIF" "%CompileDir%\I386" /V /Y /Z 1>NUL XCOPY "%TempDir%\HIVESYS.INF" "%CompileDir%\I386" /V /Y /Z 1>NUL :SKIP If "%optACPI%"=="%off%" GoTo SKIP If "%optC220%"=="%on%" GoTo HCS ECHO. ECHO --------------------------------[ ACPI Patch ]--------------------------------- ECHO. ECHO INFO: You can try out different ACPI drivers from the "Patches" folder. ECHO. ECHO Copying "acpi.sys" file into the temporary folder . . . ping -n 3 localhost 1>NUL XCOPY ".\Patches\ACPI drivers\acpi.sys" "%TempDir%" /V /Y /Z 1>NUL ECHO. ECHO Replacing "acpi.sys" file in the Windows XP Setup source folder . . . ping -n 3 localhost 1>NUL XCOPY "%TempDir%\acpi.sys" "%TempDir%\%WCF%-cab" /V /Y /Z 1>NUL ".\Utilities\makecab.exe" "%TempDir%\acpi.sys" /L "%CompileDir%\I386" 1>NUL GoTo SKIP :HCS ECHO. ECHO -----------------------------[ ACPI v5048 Patch ]------------------------------ ECHO. ECHO Copying "acpi.sys" file into the temporary folder . . . ping -n 3 localhost 1>NUL PushD ".\Patches\ACPI drivers\acpi 5048*" XCOPY ".\acpi.sys" "%TempDir%" /V /Y /Z 1>NUL PushD "%~dp0" ECHO. ECHO Replacing "acpi.sys" file in the Windows XP Setup source folder . . . ping -n 3 localhost 1>NUL XCOPY "%TempDir%\acpi.sys" "%TempDir%\%WCF%-cab" /V /Y /Z 1>NUL ".\Utilities\makecab.exe" "%TempDir%\acpi.sys" /L "%CompileDir%\I386" 1>NUL :SKIP If "%optAVX%"=="%off%" GoTo SKIP ECHO. ECHO -------------------------[ AVX/AVX2 256-bit Enabler ]-------------------------- FindStr /l "EN-" "%CompileDir%\SETUPXP.HTM" >NUL && GoTo NEXT ECHO. ECHO ERROR: This patch is only for an English Windows XP. GoTo SKIP :NEXT ECHO. ECHO Copying files into the temporary folder . . . ping -n 3 localhost 1>NUL XCOPY "%TempDir%\%WCF%-cab\ntkrpamp.exe" "%TempDir%" /V /Y /Z 1>NUL ".\Utilities\7z.exe" x "%CompileDir%\I386\SVCPACK.IN_" -y -o"%TempDir%" -bso0 -bsp0 ECHO. ECHO Executing AVX Patcher . . . ping -n 3 localhost 1>NUL PushD ".\Patches\AVX&AVX2 Enabler*" ".\xdelta3.exe" -f -d -s "%TempDir%\ntkrpamp.exe" ".\ntkrpamp.delta" "%TempDir%\ntkrpamp_avx.exe" PushD "%~dp0" ping -n 2 localhost 1>NUL MOVE /y "%TempDir%\ntkrpamp_avx.exe" "%TempDir%\ntkrpamp.exe" 1>NUL ECHO. ECHO Editing entries in the Windows XP Setup source files . . . ping -n 3 localhost 1>NUL FindStr /l /i /c:"CatalogSubDir=\"i386\\hotfixes\"" "%TempDir%\svcpack.inf" >NUL || GoTo NEXT CALL ".\Utilities\JREPL.bat" "\[Version\]" "[Version]\r\nBuildNumber=2600" /XSEQ /UTFA /F "%TempDir%\svcpack.inf" /O - CALL ".\Utilities\JREPL.bat" "\[Version\]" "[Version]\r\nMinorVersion=1" /XSEQ /UTFA /F "%TempDir%\svcpack.inf" /O - CALL ".\Utilities\JREPL.bat" "\[Version\]" "[Version]\r\nMajorVersion=5" /XSEQ /UTFA /F "%TempDir%\svcpack.inf" /O - CALL ".\Utilities\JREPL.bat" "CatalogSubDir.*\x22" "CatalogSubDir=\x22\\I386\\svcpack\x22" /XSEQ /UTFA /F "%TempDir%\svcpack.inf" /O - :NEXT FindStr /l /i /b "SP2.CAT" "%TempDir%\svcpack.inf" >NUL || CALL ".\Utilities\JREPL.bat" "\[ProductCatalogsToInstall\]" "[ProductCatalogsToInstall]\r\nSP2.CAT" /XSEQ /UTFA /F "%TempDir%\svcpack.inf" /O - FindStr /l /i /b "KB2862330.CAT" "%TempDir%\svcpack.inf" >NUL || CALL ".\Utilities\JREPL.bat" "\[ProductCatalogsToInstall\]" "[ProductCatalogsToInstall]\r\nKB2862330.CAT" /XSEQ /UTFA /F "%TempDir%\svcpack.inf" /O - ECHO. ECHO Adding files into the Windows XP Setup source folder . . . ping -n 3 localhost 1>NUL XCOPY "%TempDir%\ntkrpamp.exe" "%TempDir%\%WCF%-cab" /V /Y /Z 1>NUL XCOPY ".\Patches\Miscellaneous\Win2003\KB2862330\usbd.sys" "%TempDir%\%WCF%-cab" /V /Y /Z 1>NUL XCOPY ".\Patches\Miscellaneous\Win2003\KB2862330\usbport.sys" "%TempDir%\%WCF%-cab" /V /Y /Z 1>NUL XCOPY ".\Patches\Miscellaneous\Win2003\SP2 RTM\usbstor.sys" "%TempDir%\%WCF%-cab" /V /Y /Z 1>NUL ".\Utilities\makecab.exe" ".\Patches\Miscellaneous\Win2003\SP2 RTM\SP2.CAT" /L "%CompileDir%\I386\SVCPACK" 1>NUL ".\Utilities\makecab.exe" ".\Patches\Miscellaneous\Win2003\SP2 RTM\usbstor.sys" /L "%CompileDir%\I386" 1>NUL ".\Utilities\makecab.exe" ".\Patches\Miscellaneous\Win2003\KB2862330\KB2862330.CAT" /L "%CompileDir%\I386\SVCPACK" 1>NUL ".\Utilities\makecab.exe" ".\Patches\Miscellaneous\Win2003\KB2862330\usbd.sys" /L "%CompileDir%\I386" 1>NUL ".\Utilities\makecab.exe" ".\Patches\Miscellaneous\Win2003\KB2862330\usbport.sys" /L "%CompileDir%\I386" 1>NUL ".\Utilities\makecab.exe" "%TempDir%\svcpack.inf" /L "%CompileDir%\I386" 1>NUL :SKIP If "%optPAE4%"=="%off%" GoTo SKIP ECHO. ECHO -----------------------------[ PAE 4GB RAM Patch ]----------------------------- ECHO. ECHO Copying files into the temporary folder . . . ping -n 3 localhost 1>NUL XCOPY "%TempDir%\%WCF%-cab\ntkrnlpa.exe" "%TempDir%" /V /Y /Z 1>NUL XCOPY "%TempDir%\%WCF%-cab\ntkrpamp.exe" "%TempDir%" /V /Y /Z 1>NUL XCOPY "%TempDir%\%WCF%-cab\hal.dll" "%TempDir%" /V /Y /Z 1>NUL XCOPY "%TempDir%\%WCF%-cab\halaacpi.dll" "%TempDir%" /V /Y /Z 1>NUL XCOPY "%TempDir%\%WCF%-cab\halacpi.dll" "%TempDir%" /V /Y /Z 1>NUL XCOPY "%TempDir%\%WCF%-cab\halapic.dll" "%TempDir%" /V /Y /Z 1>NUL XCOPY "%TempDir%\%WCF%-cab\halmacpi.dll" "%TempDir%" /V /Y /Z 1>NUL XCOPY "%TempDir%\%WCF%-cab\halmps.dll" "%TempDir%" /V /Y /Z 1>NUL ".\Utilities\7z.exe" x "%CompileDir%\I386\SVCPACK.IN_" -y -o"%TempDir%" -bso0 -bsp0 ECHO. ECHO Executing PAE Patcher . . . ping -n 3 localhost 1>NUL PushD ".\Patches\PAE 3.5+ RAM Unlock*" START "" /Wait /d "%TempDir%" ".\WinXP-PAE-Patch.exe" /M:4GB /NB PushD "%~dp0" ECHO. ECHO Editing entries in the Windows XP Setup source files . . . ping -n 3 localhost 1>NUL FindStr /l /i /c:"CatalogSubDir=\"i386\\hotfixes\"" "%TempDir%\svcpack.inf" >NUL || GoTo NEXT CALL ".\Utilities\JREPL.bat" "\[Version\]" "[Version]\r\nBuildNumber=2600" /XSEQ /UTFA /F "%TempDir%\svcpack.inf" /O - CALL ".\Utilities\JREPL.bat" "\[Version\]" "[Version]\r\nMinorVersion=1" /XSEQ /UTFA /F "%TempDir%\svcpack.inf" /O - CALL ".\Utilities\JREPL.bat" "\[Version\]" "[Version]\r\nMajorVersion=5" /XSEQ /UTFA /F "%TempDir%\svcpack.inf" /O - CALL ".\Utilities\JREPL.bat" "CatalogSubDir.*\x22" "CatalogSubDir=\x22\\I386\\svcpack\x22" /XSEQ /UTFA /F "%TempDir%\svcpack.inf" /O - :NEXT FindStr /l /i /b "KB2862330.CAT" "%TempDir%\svcpack.inf" >NUL || CALL ".\Utilities\JREPL.bat" "\[ProductCatalogsToInstall\]" "[ProductCatalogsToInstall]\r\nKB2862330.CAT" /XSEQ /UTFA /F "%TempDir%\svcpack.inf" /O - ECHO. ECHO Adding files into the Windows XP Setup source folder . . . ping -n 3 localhost 1>NUL XCOPY "%TempDir%\ntkrnlpa.exe" "%TempDir%\%WCF%-cab" /V /Y /Z 1>NUL XCOPY "%TempDir%\ntkrpamp.exe" "%TempDir%\%WCF%-cab" /V /Y /Z 1>NUL XCOPY "%TempDir%\hal.dll" "%TempDir%\%WCF%-cab" /V /Y /Z 1>NUL XCOPY "%TempDir%\halaacpi.dll" "%TempDir%\%WCF%-cab" /V /Y /Z 1>NUL XCOPY "%TempDir%\halacpi.dll" "%TempDir%\%WCF%-cab" /V /Y /Z 1>NUL XCOPY "%TempDir%\halapic.dll" "%TempDir%\%WCF%-cab" /V /Y /Z 1>NUL XCOPY "%TempDir%\halmacpi.dll" "%TempDir%\%WCF%-cab" /V /Y /Z 1>NUL XCOPY "%TempDir%\halmps.dll" "%TempDir%\%WCF%-cab" /V /Y /Z 1>NUL XCOPY ".\Patches\Miscellaneous\Win2003\KB2862330\usbport.sys" "%TempDir%\%WCF%-cab" /V /Y /Z 1>NUL ".\Utilities\makecab.exe" "%TempDir%\hal.dll" /L "%CompileDir%\I386" 1>NUL ".\Utilities\makecab.exe" "%TempDir%\halaacpi.dll" /L "%CompileDir%\I386" 1>NUL ".\Utilities\makecab.exe" "%TempDir%\halacpi.dll" /L "%CompileDir%\I386" 1>NUL ".\Utilities\makecab.exe" "%TempDir%\halapic.dll" /L "%CompileDir%\I386" 1>NUL ".\Utilities\makecab.exe" "%TempDir%\halmacpi.dll" /L "%CompileDir%\I386" 1>NUL ".\Utilities\makecab.exe" "%TempDir%\halmps.dll" /L "%CompileDir%\I386" 1>NUL ".\Utilities\makecab.exe" ".\Patches\Miscellaneous\Win2003\KB2862330\KB2862330.CAT" /L "%CompileDir%\I386\SVCPACK" 1>NUL ".\Utilities\makecab.exe" ".\Patches\Miscellaneous\Win2003\KB2862330\usbport.sys" /L "%CompileDir%\I386" 1>NUL ".\Utilities\makecab.exe" "%TempDir%\svcpack.inf" /L "%CompileDir%\I386" 1>NUL :SKIP If "%optPAE64%"=="%off%" GoTo SKIP ECHO. ECHO ----------------------------[ PAE 64GB RAM Patch ]----------------------------- ECHO. ECHO Copying files into the temporary folder . . . ping -n 3 localhost 1>NUL XCOPY "%TempDir%\%WCF%-cab\ntkrnlpa.exe" "%TempDir%" /V /Y /Z 1>NUL XCOPY "%TempDir%\%WCF%-cab\ntkrpamp.exe" "%TempDir%" /V /Y /Z 1>NUL XCOPY "%TempDir%\%WCF%-cab\hal.dll" "%TempDir%" /V /Y /Z 1>NUL XCOPY "%TempDir%\%WCF%-cab\halaacpi.dll" "%TempDir%" /V /Y /Z 1>NUL XCOPY "%TempDir%\%WCF%-cab\halacpi.dll" "%TempDir%" /V /Y /Z 1>NUL XCOPY "%TempDir%\%WCF%-cab\halapic.dll" "%TempDir%" /V /Y /Z 1>NUL XCOPY "%TempDir%\%WCF%-cab\halmacpi.dll" "%TempDir%" /V /Y /Z 1>NUL XCOPY "%TempDir%\%WCF%-cab\halmps.dll" "%TempDir%" /V /Y /Z 1>NUL ".\Utilities\7z.exe" x "%CompileDir%\I386\SVCPACK.IN_" -y -o"%TempDir%" -bso0 -bsp0 ECHO. ECHO Executing PAE Patcher . . . ping -n 3 localhost 1>NUL PushD ".\Patches\PAE 3.5+ RAM Unlock*" START "" /Wait /d "%TempDir%" ".\WinXP-PAE-Patch.exe" /M:64GB /NB PushD "%~dp0" ECHO. ECHO Editing entries in the Windows XP Setup source files . . . ping -n 3 localhost 1>NUL FindStr /l /i /c:"CatalogSubDir=\"i386\\hotfixes\"" "%TempDir%\svcpack.inf" >NUL || GoTo NEXT CALL ".\Utilities\JREPL.bat" "\[Version\]" "[Version]\r\nBuildNumber=2600" /XSEQ /UTFA /F "%TempDir%\svcpack.inf" /O - CALL ".\Utilities\JREPL.bat" "\[Version\]" "[Version]\r\nMinorVersion=1" /XSEQ /UTFA /F "%TempDir%\svcpack.inf" /O - CALL ".\Utilities\JREPL.bat" "\[Version\]" "[Version]\r\nMajorVersion=5" /XSEQ /UTFA /F "%TempDir%\svcpack.inf" /O - CALL ".\Utilities\JREPL.bat" "CatalogSubDir.*\x22" "CatalogSubDir=\x22\\I386\\svcpack\x22" /XSEQ /UTFA /F "%TempDir%\svcpack.inf" /O - :NEXT FindStr /l /i /b "KB2862330.CAT" "%TempDir%\svcpack.inf" >NUL || CALL ".\Utilities\JREPL.bat" "\[ProductCatalogsToInstall\]" "[ProductCatalogsToInstall]\r\nKB2862330.CAT" /XSEQ /UTFA /F "%TempDir%\svcpack.inf" /O - ECHO. ECHO Adding files into the Windows XP Setup source folder . . . ping -n 3 localhost 1>NUL XCOPY "%TempDir%\ntkrnlpa.exe" "%TempDir%\%WCF%-cab" /V /Y /Z 1>NUL XCOPY "%TempDir%\ntkrpamp.exe" "%TempDir%\%WCF%-cab" /V /Y /Z 1>NUL XCOPY "%TempDir%\hal.dll" "%TempDir%\%WCF%-cab" /V /Y /Z 1>NUL XCOPY "%TempDir%\halaacpi.dll" "%TempDir%\%WCF%-cab" /V /Y /Z 1>NUL XCOPY "%TempDir%\halacpi.dll" "%TempDir%\%WCF%-cab" /V /Y /Z 1>NUL XCOPY "%TempDir%\halapic.dll" "%TempDir%\%WCF%-cab" /V /Y /Z 1>NUL XCOPY "%TempDir%\halmacpi.dll" "%TempDir%\%WCF%-cab" /V /Y /Z 1>NUL XCOPY "%TempDir%\halmps.dll" "%TempDir%\%WCF%-cab" /V /Y /Z 1>NUL XCOPY ".\Patches\Miscellaneous\Win2003\KB2862330\usbport.sys" "%TempDir%\%WCF%-cab" /V /Y /Z 1>NUL ".\Utilities\makecab.exe" "%TempDir%\hal.dll" /L "%CompileDir%\I386" 1>NUL ".\Utilities\makecab.exe" "%TempDir%\halaacpi.dll" /L "%CompileDir%\I386" 1>NUL ".\Utilities\makecab.exe" "%TempDir%\halacpi.dll" /L "%CompileDir%\I386" 1>NUL ".\Utilities\makecab.exe" "%TempDir%\halapic.dll" /L "%CompileDir%\I386" 1>NUL ".\Utilities\makecab.exe" "%TempDir%\halmacpi.dll" /L "%CompileDir%\I386" 1>NUL ".\Utilities\makecab.exe" "%TempDir%\halmps.dll" /L "%CompileDir%\I386" 1>NUL ".\Utilities\makecab.exe" ".\Patches\Miscellaneous\Win2003\KB2862330\KB2862330.CAT" /L "%CompileDir%\I386\SVCPACK" 1>NUL ".\Utilities\makecab.exe" ".\Patches\Miscellaneous\Win2003\KB2862330\usbport.sys" /L "%CompileDir%\I386" 1>NUL ".\Utilities\makecab.exe" "%TempDir%\svcpack.inf" /L "%CompileDir%\I386" 1>NUL :SKIP If "%optTF%"=="%off%" GoTo SKIP ECHO. ECHO -----------------------------[ PM/RTC Timer Fix ]------------------------------ ECHO. Echo %optPAE4% %optPAE64% | FindStr /l /i "%on%" >NUL 2>&1 && Set "PAEO=yes" ECHO Copying files into the temporary folder . . . ping -n 3 localhost 1>NUL PushD ".\Patches\Timer Fix*" If Not "%PAEO%"=="yes" XCOPY ".\PM\halmacpi.dll" "%TempDir%" /V /Y /Z 1>NUL XCOPY ".\PM\intelppm.sys" "%TempDir%" /V /Y /Z 1>NUL XCOPY ".\RTC\TimerFix.exe" "%TempDir%" /V /Y /Z 1>NUL PushD "%~dp0" XCOPY "%CompileDir%\I386\DOSNET.INF" "%TempDir%" /V /Y /Z 1>NUL XCOPY "%CompileDir%\I386\HIVESFT.INF" "%TempDir%" /V /Y /Z 1>NUL XCOPY "%CompileDir%\I386\TXTSETUP.SIF" "%TempDir%" /V /Y /Z 1>NUL ECHO. ECHO Adding entries to the Windows XP Setup source files . . . ping -n 3 localhost 1>NUL CALL ".\Utilities\JREPL.bat" "\[Files\]" "[Files]\r\nd1,TimerFix.exe" /XSEQ /UTFA /F "%TempDir%\DOSNET.INF" /O - CALL ".\Utilities\JREPL.bat" "\[AddReg\]" "$txt=++counter==1?'[AddReg]\r\nHKLM,\x22SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\RunOnceEx\\RTC\x22,\x22\x22,0x00000000,\x22RTC Timer Fix\x22':$0" /JQ /UTFA /F "%TempDir%\HIVESFT.INF" /O - CALL ".\Utilities\JREPL.bat" "\[AddReg\]" "$txt=++counter==1?'[AddReg]\r\nHKLM,\x22SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\RunOnceEx\\RTC\x22,\x221 - Create Scheduled Task\x22,0x00000000,\x22CMD /C SCHTASKS /Create /RU SYSTEM /SC ONSTART /TN \x22\x22RTC Timer Fix\x22\x22 /TR \x22\x22\x25SystemRoot\x25\\system32\\TimerFix.exe\x22\x22\x22':$0" /JQ /UTFA /F "%TempDir%\HIVESFT.INF" /O - CALL ".\Utilities\JREPL.bat" "\[AddReg\]" "$txt=++counter==1?'[AddReg]\r\nHKLM,\x22SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\RunOnceEx\\RTC\x22,\x222 - Run Scheduled Task\x22,0x00000000,\x22CMD /C SCHTASKS /Run /TN \x22\x22RTC Timer Fix\x22\x22\x22':$0" /JQ /UTFA /F "%TempDir%\HIVESFT.INF" /O - CALL ".\Utilities\JREPL.bat" "\[SourceDisksFiles\.x86\]" "[SourceDisksFiles.x86]\r\nTimerFix.exe = 1,,,,,,,2,0,0" /XSEQ /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - ECHO. ECHO Adding files into the Windows XP Setup source folder . . . ping -n 3 localhost 1>NUL If Not "%PAEO%"=="yes" XCOPY "%TempDir%\halmacpi.dll" "%TempDir%\%WCF%-cab" /V /Y /Z 1>NUL XCOPY "%TempDir%\intelppm.sys" "%TempDir%\%WCF%-cab" /V /Y /Z 1>NUL If Not "%PAEO%"=="yes" ".\Utilities\makecab.exe" "%TempDir%\halmacpi.dll" /L "%CompileDir%\I386" 1>NUL ".\Utilities\makecab.exe" "%TempDir%\intelppm.sys" /L "%CompileDir%\I386" 1>NUL ".\Utilities\makecab.exe" "%TempDir%\TimerFix.exe" /L "%CompileDir%\I386" 1>NUL XCOPY "%TempDir%\DOSNET.INF" "%CompileDir%\I386" /V /Y /Z 1>NUL XCOPY "%TempDir%\HIVESFT.INF" "%CompileDir%\I386" /V /Y /Z 1>NUL XCOPY "%TempDir%\TXTSETUP.SIF" "%CompileDir%\I386" /V /Y /Z 1>NUL :SKIP If "%optSSE2%"=="%off%" GoTo SKIP For /f "tokens=*" %%a in ('Dir /b /s /a:d ".\Patches\SSE2 Updates Rollback*"') do Set "SUR-Dir=%%a" ECHO. ECHO ---------------------------[ SSE2 Updates Remover ]---------------------------- ECHO. ECHO Copying files into the temporary folder . . . ping -n 3 localhost 1>NUL XCOPY "%SUR-Dir%\winxpup.inf" "%TempDir%" /V /Y /Z 1>NUL ".\Utilities\7z.exe" x "%CompileDir%\I386\SVCPACK.IN_" -y -o"%TempDir%" -bso0 -bsp0 XCOPY "%CompileDir%\I386\DOSNET.INF" "%TempDir%" /V /Y /Z 1>NUL XCOPY "%CompileDir%\I386\TXTSETUP.SIF" "%TempDir%" /V /Y /Z 1>NUL ECHO. ECHO Editing entries in the Windows XP Setup source files . . . ping -n 3 localhost 1>NUL FindStr /l /i /c:"CatalogSubDir=\"i386\\hotfixes\"" "%TempDir%\svcpack.inf" >NUL || GoTo NEXT CALL ".\Utilities\JREPL.bat" "\[Version\]" "[Version]\r\nBuildNumber=2600" /XSEQ /UTFA /F "%TempDir%\svcpack.inf" /O - CALL ".\Utilities\JREPL.bat" "\[Version\]" "[Version]\r\nMinorVersion=1" /XSEQ /UTFA /F "%TempDir%\svcpack.inf" /O - CALL ".\Utilities\JREPL.bat" "\[Version\]" "[Version]\r\nMajorVersion=5" /XSEQ /UTFA /F "%TempDir%\svcpack.inf" /O - CALL ".\Utilities\JREPL.bat" "CatalogSubDir.*\x22" "CatalogSubDir=\x22\\I386\\svcpack\x22" /XSEQ /UTFA /F "%TempDir%\svcpack.inf" /O - :NEXT CALL ".\Utilities\JREPL.bat" "d1,msjtes45\.dll\r\n" "" /XSEQ /M /UTFA /F "%TempDir%\DOSNET.INF" /O - CALL ".\Utilities\JREPL.bat" "msjtes45\.dll.*.dll\r\n" "" /XSEQ /M /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "msjtes40\.dll.*.dll\r\n" "" /XSEQ /M /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "^msjtes40.dll.*\r\n" "" /XSEQ /M /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "\[SourceDisksFiles\]" "[SourceDisksFiles]\r\nmsjtes40.dll = 100,,,,,,,2,0,0" /XSEQ /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "\[ProductCatalogsToInstall\]" "[ProductCatalogsToInstall]\r\nKB954193.CAT" /XSEQ /UTFA /F "%TempDir%\svcpack.inf" /O - CALL ".\Utilities\JREPL.bat" "\[ProductCatalogsToInstall\]" "[ProductCatalogsToInstall]\r\nKB3072630.CAT" /XSEQ /UTFA /F "%TempDir%\svcpack.inf" /O - CALL ".\Utilities\JREPL.bat" "\[ProductCatalogsToInstall\]" "[ProductCatalogsToInstall]\r\nKB4012583.CAT" /XSEQ /UTFA /F "%TempDir%\svcpack.inf" /O - CALL ".\Utilities\JREPL.bat" "KB4034775\.CAT\r\n" "" /XSEQ /M /UTFA /F "%TempDir%\svcpack.inf" /O - CALL ".\Utilities\JREPL.bat" "KB4473077\.CAT\r\n" "" /XSEQ /M /UTFA /F "%TempDir%\svcpack.inf" /O - CALL ".\Utilities\JREPL.bat" "KB4489977\.CAT\r\n" "" /XSEQ /M /UTFA /F "%TempDir%\svcpack.inf" /O - CALL ".\Utilities\JREPL.bat" "KB4493793\.CAT\r\n" "" /XSEQ /M /UTFA /F "%TempDir%\svcpack.inf" /O - CALL ".\Utilities\JREPL.bat" "KB4493794\.CAT\r\n" "" /XSEQ /M /UTFA /F "%TempDir%\svcpack.inf" /O - CALL ".\Utilities\JREPL.bat" "KB4493795\.CAT\r\n" "" /XSEQ /M /UTFA /F "%TempDir%\svcpack.inf" /O - CALL ".\Utilities\JREPL.bat" "KB4493796\.CAT\r\n" "" /XSEQ /M /UTFA /F "%TempDir%\svcpack.inf" /O - CALL ".\Utilities\JREPL.bat" "KB4493797\.CAT\r\n" "" /XSEQ /M /UTFA /F "%TempDir%\svcpack.inf" /O - CALL ".\Utilities\JREPL.bat" "KB4494528\.CAT\r\n" "" /XSEQ /M /UTFA /F "%TempDir%\svcpack.inf" /O - CALL ".\Utilities\JREPL.bat" "KB4495022\.CAT\r\n" "" /XSEQ /M /UTFA /F "%TempDir%\svcpack.inf" /O - ECHO. ECHO Replacing files in the Windows XP Setup source folder . . . ping -n 3 localhost 1>NUL ".\Utilities\makecab.exe" "%SUR-Dir%\asms\10\msft\windows\gdiplus\gdiplus.cat" /L "%CompileDir%\I386\ASMS\10\MSFT\WINDOWS\GDIPLUS" 1>NUL ".\Utilities\makecab.exe" "%SUR-Dir%\asms\10\msft\windows\gdiplus\gdiplus.dll" /L "%CompileDir%\I386\ASMS\10\MSFT\WINDOWS\GDIPLUS" 1>NUL XCOPY "%SUR-Dir%\asms\10\msft\windows\gdiplus\gdiplus.man" "%CompileDir%\I386\ASMS\10\MSFT\WINDOWS\GDIPLUS" /V /Y /Z 1>NUL ".\Utilities\makecab.exe" "%SUR-Dir%\asms\10\policy\msft\windows\gdiplus\gdiplus.cat" /L "%CompileDir%\I386\ASMS\10\POLICY\MSFT\WINDOWS\GDIPLUS" 1>NUL XCOPY "%SUR-Dir%\asms\10\policy\msft\windows\gdiplus\gdiplus.man" "%CompileDir%\I386\ASMS\10\POLICY\MSFT\WINDOWS\GDIPLUS" /V /Y /Z 1>NUL ".\Utilities\makecab.exe" "%SUR-Dir%\gdi32.dll" /L "%CompileDir%\I386" 1>NUL ".\Utilities\makecab.exe" "%SUR-Dir%\mf3216.dll" /L "%CompileDir%\I386" 1>NUL ".\Utilities\makecab.exe" "%SUR-Dir%\msexcl40.dll" /L "%CompileDir%\I386" 1>NUL ".\Utilities\makecab.exe" "%SUR-Dir%\msi.dll" /L "%CompileDir%\I386" 1>NUL ".\Utilities\makecab.exe" "%SUR-Dir%\msiexec.exe" /L "%CompileDir%\I386" 1>NUL ".\Utilities\makecab.exe" "%SUR-Dir%\msihnd.dll" /L "%CompileDir%\I386" 1>NUL ".\Utilities\makecab.exe" "%SUR-Dir%\msjet40.dll" /L "%CompileDir%\I386" 1>NUL ".\Utilities\makecab.exe" "%SUR-Dir%\msjetol1.dll" /L "%CompileDir%\I386" 1>NUL ".\Utilities\makecab.exe" "%SUR-Dir%\msjint40.dll" /L "%CompileDir%\I386" 1>NUL ".\Utilities\makecab.exe" "%SUR-Dir%\msjter40.dll" /L "%CompileDir%\I386" 1>NUL ".\Utilities\makecab.exe" "%SUR-Dir%\msjtes40.dll" /L "%CompileDir%\I386" 1>NUL ".\Utilities\makecab.exe" "%SUR-Dir%\msltus40.dll" /L "%CompileDir%\I386" 1>NUL ".\Utilities\makecab.exe" "%SUR-Dir%\mspbde40.dll" /L "%CompileDir%\I386" 1>NUL ".\Utilities\makecab.exe" "%SUR-Dir%\msrd2x40.dll" /L "%CompileDir%\I386" 1>NUL ".\Utilities\makecab.exe" "%SUR-Dir%\msrd3x40.dll" /L "%CompileDir%\I386" 1>NUL ".\Utilities\makecab.exe" "%SUR-Dir%\msrepl40.dll" /L "%CompileDir%\I386" 1>NUL ".\Utilities\makecab.exe" "%SUR-Dir%\mstext40.dll" /L "%CompileDir%\I386" 1>NUL ".\Utilities\makecab.exe" "%SUR-Dir%\mswdat10.dll" /L "%CompileDir%\I386" 1>NUL ".\Utilities\makecab.exe" "%SUR-Dir%\mswstr10.dll" /L "%CompileDir%\I386" 1>NUL ".\Utilities\makecab.exe" "%SUR-Dir%\msxbde40.dll" /L "%CompileDir%\I386" 1>NUL ".\Utilities\makecab.exe" "%SUR-Dir%\msxbde40.dll" /L "%CompileDir%\I386" 1>NUL ".\Utilities\makecab.exe" "%SUR-Dir%\winxpup.inf" /L "%CompileDir%\I386" 1>NUL ECHO. ECHO Deleting files in the Windows XP Setup source folder . . . ping -n 3 localhost 1>NUL DEL /f "%CompileDir%\I386\msjtes45.dl_" 2>NUL DEL /f "%CompileDir%\I386\SVCPACK\KB4034775.CA_" 2>NUL DEL /f "%CompileDir%\I386\SVCPACK\KB4473077.CA_" 2>NUL DEL /f "%CompileDir%\I386\SVCPACK\KB4489977.CA_" 2>NUL DEL /f "%CompileDir%\I386\SVCPACK\KB4493793.CA_" 2>NUL DEL /f "%CompileDir%\I386\SVCPACK\KB4493794.CA_" 2>NUL DEL /f "%CompileDir%\I386\SVCPACK\KB4493795.CA_" 2>NUL DEL /f "%CompileDir%\I386\SVCPACK\KB4493796.CA_" 2>NUL DEL /f "%CompileDir%\I386\SVCPACK\KB4493797.CA_" 2>NUL DEL /f "%CompileDir%\I386\SVCPACK\KB4494528.CA_" 2>NUL DEL /f "%CompileDir%\I386\SVCPACK\KB4495022.CA_" 2>NUL ECHO. ECHO Adding files into the Windows XP Setup source folder . . . ping -n 3 localhost 1>NUL ".\Utilities\makecab.exe" "%SUR-Dir%\svcpack\KB954193.CAT" /L "%CompileDir%\I386\SVCPACK" 1>NUL ".\Utilities\makecab.exe" "%SUR-Dir%\svcpack\KB3072630.CAT" /L "%CompileDir%\I386\SVCPACK" 1>NUL ".\Utilities\makecab.exe" "%SUR-Dir%\svcpack\KB4012583.CAT" /L "%CompileDir%\I386\SVCPACK" 1>NUL ".\Utilities\makecab.exe" "%TempDir%\svcpack.inf" /L "%CompileDir%\I386" 1>NUL ".\Utilities\makecab.exe" "%TempDir%\winxpup.inf" /L "%CompileDir%\I386" 1>NUL XCOPY "%TempDir%\DOSNET.INF" "%CompileDir%\I386" /V /Y /Z 1>NUL XCOPY "%TempDir%\TXTSETUP.SIF" "%CompileDir%\I386" /V /Y /Z 1>NUL :SKIP ECHO. ECHO --------------------------------[ Final Steps ]-------------------------------- ECHO. ECHO Adding Patch to disable Auto ReBoot on BSOD after GUI-mode Setup . . . ping -n 3 localhost 1>NUL ".\Utilities\7z.exe" x "%CompileDir%\I386\syssetup.dl_" -y -o"%TempDir%" -bso0 -bsp0 ".\Utilities\XVI32\XVI32.exe" "%TempDir%\syssetup.dll" /S=".\Utilities\XVI32\Scripts\ReplaceHex.xsc" "41 00 75 00 74 00 6F 00 52 00 65 00 62 00 6F 00 6F 00 74" "00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00" DEL /f ".\Utilities\XVI32\XVI32.ini" 2>NUL ".\Utilities\PEChecksum-CMD.exe" -c "%TempDir%\syssetup.dll" 1>NUL ".\Utilities\makecab.exe" "%TempDir%\syssetup.dll" /L "%CompileDir%\I386" 1>NUL Set "CFN=9-WXPIE" If Not Exist "%CompileDir%\I386\%WCF%.cab" GoTo SKIP ECHO. ECHO Compressing %WCF%.cab file, Please wait . . . ping -n 3 localhost 1>NUL ".\Utilities\cabarc.exe" -m LZX:21 N "%CompileDir%\I386\%WCF%.cab" "%TempDir%\%WCF%-cab\*" 1>NUL If "%ERRORLEVEL%" NEQ "0" ECHO Errors were reported during process. & Pause & EXIT :SKIP If Exist "%CompileDir%\I386\WXPIERO.cm_" GoTo SKIP ECHO. ECHO Adding Root Certificate Authority for the catalog file %CFN%.cat . . . :: Adds the WinXP-IE Root Certificate Authority. XCOPY "%CompileDir%\I386\DOSNET.INF" "%TempDir%" /V /Y /Z 1>NUL XCOPY "%CompileDir%\I386\HIVESFT.INF" "%TempDir%" /V /Y /Z 1>NUL XCOPY "%CompileDir%\I386\TXTSETUP.SIF" "%TempDir%" /V /Y /Z 1>NUL ".\Utilities\7z.exe" x "%CompileDir%\I386\SYSSETUP.IN_" -y -o"%TempDir%" -bso0 -bsp0 CALL ".\Utilities\JREPL.bat" "\[Files\]" "[Files]\r\nd1,9-WXPIE.cat" /XSEQ /UTFA /F "%TempDir%\DOSNET.INF" /O - CALL ".\Utilities\JREPL.bat" "\[SourceDisksFiles\]" "[SourceDisksFiles]\r\n9-WXPIE.cat = 100,,,,,,,,3,3" /XSEQ /UTFA /F "%TempDir%\TXTSETUP.SIF" /O - CALL ".\Utilities\JREPL.bat" "\[AddReg\]" "$txt=++counter==1?'[AddReg]\r\nHKLM,\x22SOFTWARE\\Microsoft\\SystemCertificates\\ROOT\\Certificates\\CC784E3C3A1BC4E268BA36F23744E715575ADE9F\x22,\x22Blob\x22,0x00000001,04,00,00,00,01,00,00,00,10,00,00,00,2a,d0,c8,6c,90,3a,36,c2,16,cf,7e,6f,aa,71,20,3c,19,00,00,00,01,00,00,00,10,00,00,00,ca,9f,8b,ce,5e,6b,14,17,4b,ca,38,1e,13,fe,77,e3,0f,00,00,00,01,00,00,00,14,00,00,00,bf,ee,2e,19,11,61,8b,46,5d,f0,ec,9c,54,e5,89,2a,8a,78,46,c0,03,00,00,00,01,00,00,00,14,00,00,00,cc,78,4e,3c,3a,1b,c4,e2,68,ba,36,f2,37,44,e7,15,57,5a,de,9f,5c,00,00,00,01,00,00,00,04,00,00,00,00,08,00,00,14,00,00,00,01,00,00,00,14,00,00,00,dc,23,07,b7,42,54,06,4c,2e,8f,44,9b,82,1b,40,3f,07,27,c6,b4,20,00,00,00,01,00,00,00,ff,03,00,00,30,82,03,fb,30,82,02,e7,a0,03,02,01,02,02,10,9d,03,75,29,6a,2b,80,a6,47,d4,05,38,11,55,aa,d7,30,09,06,05,2b,0e,03,02,1d,05,00,30,64,31,16,30,14,06,03,55,04,0b,13,0d,49,54,20,44,65,70,61,72,74,6d,65,6e,74,31,1d,30,1b,06,03,55,04,0a,13,14,55,6d,62,72,65,6c,6c,61,20,43,6f,72,70,6f,72,61,74,69,6f,6e,31,2b,30,29,06,03,55,04,03,13,22,5a,6f,6e,65,20,35,34,20,52,6f,6f,74,20,43,65,72,74,69,66,69,63,61,74,65,20,41,75,74,68,6f,72,69,74,79,30,20,17,0d,32,30,30,33,33,31,30,38,35,36,30,36,5a,18,0f,39,39,39,39,31,32,33,30,32,32,30,30,30,30,5a,30,64,31,16,30,14,06,03,55,04,0b,13,0d,49,54,20,44,65,70,61,72,74,6d,65,6e,74,31,1d,30,1b,06,03,55,04,0a,13,14,55,6d,62,72,65,6c,6c,61,20,43,6f,72,70,6f,72,61,74,69,6f,6e,31,2b,30,29,06,03,55,04,03,13,22,5a,6f,6e,65,20,35,34,20,52,6f,6f,74,20,43,65,72,74,69,66,69,63,61,74,65,20,41,75,74,68,6f,72,69,74,79,30,82,01,22,30,0d,06,09,2a,86,48,86,f7,0d,01,01,01,05,00,03,82,01,0f,00,30,82,01,0a,02,82,01,01,00,d7,e5,e1,3a,06,dc,59,bd,78,76,61,0a,27,2a,52,d7,7e,08,6f,79,e8,91,24,a5,c3,71,43,1a,f9,9a,cf,83,ad,d2,d5,05,7e,73,eb,92,ec,53,12,8a,e5,d8,64,29,f2,cc,e0,f0,4a,c1,94,59,58,4c,17,cc,40,1d,99,0e,cb,93,6b,be,b2,a6,e9,b1,f1,7f,27,61,f4,1b,9b,13,26,7d,d2,d3,d6,00,ff,ed,ee,0c,5d,9a,a6,9b,cd,f3,9c,cf,41,b1,f4,77,3b,43,d3,3e,b1,5a,0d,29,a9,f4,6c,90,8d,41,8f,a2,d1,7c,84,45,ca,d6,0a,90,4b,db,86,54,3a,36,c9,f7,27,76,63,e3,79,10,b8,4a,e6,8a,d5,40,10,9e,a2,ed,03,59,f6,b8,7f,57,78,79,b3,fd,ae,8d,be,83,56,2e,35,8c,0c,49,17,d8,0f,e0,5b,b7,df,f6,7d,30,3d,f0,df,31,77,78,03,59,f9,97,d2,50,54,74,ae,c3,67,c6,a9,71,9d,cd,68,7f,93,93,7a,c2,1c,7e,ae,b9,12,cc,0d,3c,9d,04,b5,e7,7f,37,5e,d8,f0,d6,c3,79,e0,8c,e2,cc,52,51,13,d1,b5,4c,0a,b2,6a,46,c7,ea,51,43,4f,f1,64,ab,f3,0d,2e,74,6e,01,02,03,01,00,01,a3,81,ae,30,81,ab,30,0f,06,03,55,1d,13,01,01,ff,04,05,30,03,01,01,ff,30,81,97,06,03,55,1d,01,04,81,8f,30,81,8c,80,10,fc,44,cb,9d,9d,0e,0f,d3,8e,ee,77,68,cf,b0,60,a5,a1,66,30,64,31,16,30,14,06,03,55,04,0b,13,0d,49,54,20,44,65,70,61,72,74,6d,65,6e,74,31,1d,30,1b,06,03,55,04,0a,13,14,55,6d,62,72,65,6c,6c,61,20,43,6f,72,70,6f,72,61,74,69,6f,6e,31,2b,30,29,06,03,55,04,03,13,22,5a,6f,6e,65,20,35,34,20,52,6f,6f,74,20,43,65,72,74,69,66,69,63,61,74,65,20,41,75,74,68,6f,72,69,74,79,82,10,9d,03,75,29,6a,2b,80,a6,47,d4,05,38,11,55,aa,d7,30,09,06,05,2b,0e,03,02,1d,05,00,03,82,01,01,00,c9,f4,6f,9e,c5,c9,0a,28,98,ee,ba,a2,a9,6e,13,c1,b1,31,ce,1a,6e,8f,7a,eb,b2,dc,2e,27,ef,73,ab,27,26,c6,62,45,c4,79,9d,80,55,2d,47,6a,39,40,56,45,29,6f,34,5f,ab,71,a9,1f,c2,52,82,0d,53,4c,ec,76,ba,a3,88,b6,2a,fc,f6,2c,31,33,52,88,a5,a8,2c,b8,40,2d,a4,f2,4b,b9,23,62,d6,35,77,dd,62,3f,55,bc,1e,67,19,b5,36,19,87,2a,67,6f,ae,de,78,a9,00,de,ab,c2,11,80,8b,d6,2b,39,57,53,5b,e9,37,13,95,87,97,93,0d,29,f7,67,a0,82,ae,dd,68,f6,a3,61,f0,42,05,b6,85,59,2a,fc,71,8d,e6,aa,63,6d,a5,00,c9,e2,01,84,aa,c6,11,69,af,2a,af,12,f3,5e,98,bf,23,90,da,8e,f5,1a,97,46,5e,44,5f,8c,ee,e8,ba,70,7f,bd,ee,fa,e8,2c,59,03,b6,07,35,90,cf,d1,d8,43,0c,1c,6b,50,6d,dd,90,86,9f,d2,0a,14,56,2b,6c,88,b7,d7,62,0f,9e,51,d8,0e,0d,1b,0b,8c,ea,0f,93,3c,7c,28,c9,2d,5a,fd,9e,cb,9d,d7,cf,c1,b2,bf,5c,a1,be,6b':$0" /JQ /UTFA /F "%TempDir%\HIVESFT.INF" /O - CALL ".\Utilities\JREPL.bat" "NT5INF.CAT, 1.*" "9-WXPIE.cat, 1\r\nNT5INF.CAT" /XSEQ /UTFA /F "%TempDir%\syssetup.inf" /O - XCOPY "%TempDir%\DOSNET.INF" "%CompileDir%\I386" /V /Y /Z 1>NUL XCOPY "%TempDir%\TXTSETUP.SIF" "%CompileDir%\I386" /V /Y /Z 1>NUL XCOPY "%TempDir%\HIVESFT.INF" "%CompileDir%\I386" /V /Y /Z 1>NUL ".\Utilities\makecab.exe" "%TempDir%\syssetup.inf" /L "%CompileDir%\I386" 1>NUL XCOPY "%CompileDir%\I386\LAYOUT.INF" "%TempDir%" /V /Y /Z 1>NUL :SKIP If Not Exist "%CompileDir%\I386\WXPIERO.cm_" GoTo SKIP ECHO. ECHO Copying modified WinXP-IE files into the Temp folder for digital signing . . . ping -n 3 localhost 1>NUL If Not Exist "%CompileDir%\I386\SETUP.ORG" GoTo NEXT XCOPY "%CompileDir%\I386\DOSNET.ORG" "%TempDir%" /V /Y /Z 1>NUL XCOPY "%CompileDir%\I386\SETUP.ORG" "%TempDir%" /V /Y /Z 1>NUL XCOPY "%CompileDir%\I386\TXTSETUP.ORG" "%TempDir%" /V /Y /Z 1>NUL XCOPY "%CompileDir%\I386\WINNT.ORG" "%TempDir%" /V /Y /Z 1>NUL :NEXT If Not Exist "%CompileDir%\I386\ADPU160M.ORG" GoTo NEXT ".\Utilities\7z.exe" x "%CompileDir%\I386\ADPU160M.ORG" -y -o"%TempDir%" -bso0 -bsp0 ".\Utilities\7z.exe" x "%CompileDir%\I386\DAC2W2K.ORG" -y -o"%TempDir%" -bso0 -bsp0 ".\Utilities\7z.exe" x "%CompileDir%\I386\DAC960NT.ORG" -y -o"%TempDir%" -bso0 -bsp0 ".\Utilities\7z.exe" x "%CompileDir%\I386\DPTI2O.ORG" -y -o"%TempDir%" -bso0 -bsp0 ".\Utilities\7z.exe" x "%CompileDir%\I386\MRAID35X.ORG" -y -o"%TempDir%" -bso0 -bsp0 ".\Utilities\7z.exe" x "%CompileDir%\I386\PERC2.ORG" -y -o"%TempDir%" -bso0 -bsp0 ".\Utilities\7z.exe" x "%CompileDir%\I386\QL12160.ORG" -y -o"%TempDir%" -bso0 -bsp0 ".\Utilities\7z.exe" x "%CompileDir%\I386\SYM_HI.ORG" -y -o"%TempDir%" -bso0 -bsp0 ::".\Utilities\7z.exe" x "%CompileDir%\I386\SYMC8XX.ORG" -y -o"%TempDir%" -bso0 -bsp0 ::".\Utilities\7z.exe" x "%CompileDir%\I386\SYMC810.ORG" -y -o"%TempDir%" -bso0 -bsp0 ".\Utilities\7z.exe" x "%CompileDir%\I386\ULTRA.ORG" -y -o"%TempDir%" -bso0 -bsp0 ::".\Utilities\7z.exe" x "%CompileDir%\I386\VIAIDE.ORG" -y -o"%TempDir%" -bso0 -bsp0 :NEXT ".\Utilities\7z.exe" x "%CompileDir%\I386\accessor.in_" -y -o"%TempDir%" -bso0 -bsp0 ".\Utilities\7z.exe" x "%CompileDir%\I386\AddOnRes.dl_" -y -o"%TempDir%" -bso0 -bsp0 -bse0 ".\Utilities\7z.exe" x "%CompileDir%\I386\calc.ch_" -y -o"%TempDir%" -bso0 -bsp0 ".\Utilities\7z.exe" x "%CompileDir%\I386\calcplus.ch_" -y -o"%TempDir%" -bso0 -bsp0 -bse0 ".\Utilities\7z.exe" x "%CompileDir%\I386\disk.in_" -y -o"%TempDir%" -bso0 -bsp0 ".\Utilities\7z.exe" x "%CompileDir%\I386\dmadmin.ex_" -y -o"%TempDir%" -bso0 -bsp0 ".\Utilities\7z.exe" x "%CompileDir%\I386\DMBOOT.SY_" -y -o"%TempDir%" -bso0 -bsp0 ".\Utilities\7z.exe" x "%CompileDir%\I386\dmboot.sy_" -y -o"%TempDir%" -bso0 -bsp0 ".\Utilities\7z.exe" x "%CompileDir%\I386\dmconfig.dl_" -y -o"%TempDir%" -bso0 -bsp0 XCOPY "%CompileDir%\I386\DOSNET.INF" "%TempDir%" /V /Y /Z 1>NUL If Exist "%CompileDir%\I386\SP3.CAB" (XCOPY "%CompileDir%\I386\SP3.CAB" "%TempDir%" /V /Y /Z 1>NUL) Else (XCOPY "%CompileDir%\I386\DRIVER.CAB" "%TempDir%" /V /Y /Z 1>NUL) XCOPY "%CompileDir%\I386\drvindex.inf" "%TempDir%" /V /Y /Z 1>NUL ".\Utilities\7z.exe" x "%CompileDir%\I386\flpydisk.sy_" -y -o"%TempDir%" -bso0 -bsp0 ".\Utilities\7z.exe" x "%CompileDir%\I386\font.in_" -y -o"%TempDir%" -bso0 -bsp0 PushD "..\Extras\Programs and Tools\Paragon GPT Loader*" 2>NUL XCOPY ".\gptmount.inf" "%TempDir%" /V /Y /Z >NUL 2>&1 XCOPY ".\gptmount.sys" "%TempDir%" /V /Y /Z >NUL 2>&1 PushD "%~dp0" XCOPY "%CompileDir%\I386\HIVECLS.INF" "%TempDir%" /V /Y /Z 1>NUL XCOPY "%CompileDir%\I386\HIVEDEF.INF" "%TempDir%" /V /Y /Z 1>NUL XCOPY "%CompileDir%\I386\HIVESFT.INF" "%TempDir%" /V /Y /Z 1>NUL XCOPY "%CompileDir%\I386\HIVESYS.INF" "%TempDir%" /V /Y /Z 1>NUL XCOPY "%CompileDir%\I386\HIVEUSD.INF" "%TempDir%" /V /Y /Z 1>NUL ::".\Utilities\7z.exe" x "%CompileDir%\I386\ie.in_" -y -o"%TempDir%" -bso0 -bsp0 ".\Utilities\7z.exe" x "%CompileDir%\I386\ieaccess.in_" -y -o"%TempDir%" -bso0 -bsp0 XCOPY "%CompileDir%\I386\intl.inf" "%TempDir%" /V /Y 1>NUL XCOPY "%CompileDir%\I386\LAYOUT.INF" "%TempDir%" /V /Y 1>NUL ::::".\Utilities\7z.exe" x "%CompileDir%\I386\mapi32.dl_" -y -o"%TempDir%" -bso0 -bsp0 ::::".\Utilities\7z.exe" x "%CompileDir%\I386\mapistub.dl_" -y -o"%TempDir%" -bso0 -bsp0 ".\Utilities\7z.exe" x "%CompileDir%\I386\mdac.in_" -y -o"%TempDir%" -bso0 -bsp0 ".\Utilities\7z.exe" x "%CompileDir%\I386\MSHDC.IN_" -y -o"%TempDir%" -bso0 -bsp0 ".\Utilities\7z.exe" x "%CompileDir%\I386\nlite.in_" -y -o"%TempDir%" -bso0 -bsp0 -bse0 XCOPY "%CompileDir%\I386\NTDETECT.COM" "%TempDir%" /V /Y /Z 1>NUL ".\Utilities\7z.exe" x "%CompileDir%\I386\PNPSCSI.IN_" -y -o"%TempDir%" -bso0 -bsp0 ".\Utilities\7z.exe" x "%CompileDir%\I386\qmgr.in_" -y -o"%TempDir%" -bso0 -bsp0 ".\Utilities\7z.exe" x "%CompileDir%\I386\rootsupd.ex_" -y -o"%TempDir%" -bso0 -bsp0 -bse0 ".\Utilities\7z.exe" x "%CompileDir%\I386\rvkroots.ex_" -y -o"%TempDir%" -bso0 -bsp0 -bse0 ".\Utilities\7z.exe" x "%CompileDir%\I386\SCSI.IN_" -y -o"%TempDir%" -bso0 -bsp0 ".\Utilities\7z.exe" x "%CompileDir%\I386\SCSIDEV.IN_" -y -o"%TempDir%" -bso0 -bsp0 ".\Utilities\7z.exe" x "%CompileDir%\I386\services._" -y -o"%TempDir%" -bso0 -bsp0 ".\Utilities\7z.exe" x "%CompileDir%\I386\sfc_os.dl_" -y -o"%TempDir%" -bso0 -bsp0 ".\Utilities\7z.exe" x "%CompileDir%\I386\sfcfiles.dl_" -y -o"%TempDir%" -bso0 -bsp0 ".\Utilities\7z.exe" x "%CompileDir%\I386\shell.in_" -y -o"%TempDir%" -bso0 -bsp0 ".\Utilities\7z.exe" x "%CompileDir%\I386\shell32.dl_" -y -o"%TempDir%" -bso0 -bsp0 ".\Utilities\7z.exe" x "%CompileDir%\I386\shl_img.in_" -y -o"%TempDir%" -bso0 -bsp0 ".\Utilities\7z.exe" x "%CompileDir%\I386\shlwapi.dl_" -y -o"%TempDir%" -bso0 -bsp0 ".\Utilities\7z.exe" x "%CompileDir%\I386\sndrec32.ex_" -y -o"%TempDir%" -bso0 -bsp0 PushD "..\Extras\Windows XP Components\Outlook Express*" 2>NUL XCOPY ".\I386\msoe50.inf" "%TempDir%" /V /Y /Z >NUL 2>&1 XCOPY ".\I386\wab50.inf" "%TempDir%" /V /Y /Z >NUL 2>&1 PushD "%~dp0" PushD "%CompileDir%\OEM\RunOnce\Programs\Take Ownership XP*" 2>NUL XCOPY ".\subinacl.exe" "%TempDir%" /V /Y /Z >NUL 2>&1 PushD "%~dp0" ".\Utilities\7z.exe" x "%CompileDir%\I386\svcpack.in_" -y -o"%TempDir%" -bso0 -bsp0 ".\Utilities\7z.exe" x "%CompileDir%\I386\sysoc.in_" -y -o"%TempDir%" -bso0 -bsp0 ".\Utilities\7z.exe" x "%CompileDir%\I386\syssetup.dl_" -y -o"%TempDir%" -bso0 -bsp0 ".\Utilities\7z.exe" x "%CompileDir%\I386\syssetup.in_" -y -o"%TempDir%" -bso0 -bsp0 ".\Utilities\7z.exe" x "%CompileDir%\I386\tcpip.sy_" -y -o"%TempDir%" -bso0 -bsp0 ".\Utilities\7z.exe" x "%CompileDir%\I386\termsrv.dl_" -y -o"%TempDir%" -bso0 -bsp0 ".\Utilities\7z.exe" x "%CompileDir%\I386\tsoc.in_" -y -o"%TempDir%" -bso0 -bsp0 XCOPY "%CompileDir%\I386\TXTSETUP.SIF" "%TempDir%" /V /Y /Z 1>NUL ".\Utilities\7z.exe" x "%CompileDir%\I386\update.sy_" -y -o"%TempDir%" -bso0 -bsp0 ".\Utilities\7z.exe" x "%CompileDir%\I386\user32.dl_" -y -o"%TempDir%" -bso0 -bsp0 ".\Utilities\7z.exe" x "%CompileDir%\I386\uxtheme.dl_" -y -o"%TempDir%" -bso0 -bsp0 ".\Utilities\7z.exe" x "%CompileDir%\I386\wbemoc.in_" -y -o"%TempDir%" -bso0 -bsp0 ".\Utilities\7z.exe" x "%CompileDir%\I386\webfldrs.ms_" -y -o"%TempDir%" -bso0 -bsp0 XCOPY "%CompileDir%\I386\WINNT.SIF" "%TempDir%" /V /Y /Z >NUL 2>&1 ".\Utilities\7z.exe" x "%CompileDir%\I386\winxpup.in_" -y -o"%TempDir%" -bso0 -bsp0 -bse0 ".\Utilities\7z.exe" x "%CompileDir%\I386\wmdm.in_" -y -o"%TempDir%" -bso0 -bsp0 ".\Utilities\7z.exe" x "%CompileDir%\I386\wmfsdk.in_" -y -o"%TempDir%" -bso0 -bsp0 ::".\Utilities\7z.exe" x "%CompileDir%\I386\wmp.in_" -y -o"%TempDir%" -bso0 -bsp0 ".\Utilities\7z.exe" x "%CompileDir%\I386\wow32.dl_" -y -o"%TempDir%" -bso0 -bsp0 ".\Utilities\7z.exe" x "%CompileDir%\I386\wxpiero.cm_" -y -o"%TempDir%" -bso0 -bsp0 -bse0 XCOPY "%CompileDir%\I386\wxpiero.inf" "%TempDir%" /V /Y /Z >NUL 2>&1 :SKIP ECHO. ECHO Creating catalog file %CFN%.cat . . . ping -n 3 localhost 1>NUL MkDir "%TempDir%\catalog" 2>NUL >"%TempDir%\catalog\%CFN%.cdf" ECHO [CatalogHeader] >>"%TempDir%\catalog\%CFN%.cdf" ECHO Name=%CFN%.cat >>"%TempDir%\catalog\%CFN%.cdf" ECHO PublicVersion=0x0000001 >>"%TempDir%\catalog\%CFN%.cdf" ECHO EncodingType=0x00010001 >>"%TempDir%\catalog\%CFN%.cdf" ECHO CATATTR1=0x10010001:OSAttr:2:5.1 >>"%TempDir%\catalog\%CFN%.cdf" ECHO. >>"%TempDir%\catalog\%CFN%.cdf" ECHO [CatalogFiles] For /f "delims=" %%a in ('Dir /b /a:-d-h-s "%TempDir%\*"') do (>>"%TempDir%\catalog\%CFN%.cdf" ECHO ^%%a=%TempDir%\%%a) ping -n 2 localhost 1>NUL PushD "%TempDir%\catalog" "%BatchDir%\Utilities\Signing Tools\MakeCat.exe" ".\%CFN%.cdf" 1>NUL PushD "%~dp0" ECHO. ECHO Digitally Signing catalog file %CFN%.cat . . . ".\Utilities\Signing Tools\signtool.exe" sign /f ".\Utilities\Signing Tools\Certificates\Code-signing Certificate.pfx" /p "zone54.com" /d "All modified files are signed by this catalog file." /du "http://zone54.com" /fd SHA1 /v "%TempDir%\catalog\%CFN%.cat" 1>NUL ECHO. ECHO Adding catalog file %CFN%.cat to the Windows XP Setup source folder . . . ping -n 3 localhost 1>NUL ".\Utilities\makecab.exe" "%TempDir%\catalog\%CFN%.cat" /L "%CompileDir%\I386" 1>NUL ECHO. ECHO Deleting Temp folder in the Compile folder . . . ping -n 3 localhost 1>NUL RmDir /s /q "%TempDir%" ECHO. ECHO Creating new ISO file . . . RmDir /s /q "%CompileDir%\[BOOT]" 2>NUL ping -n 2 localhost 1>NUL If "%optKSATA%"=="%on%" Set "ops1=1," If "%optMNVMe%"=="%on%" Set "ops2=2," If "%optMUSB%"=="%on%" Set "ops3=3," If "%optMSDC%"=="%on%" Set "ops4=4," If "%optACPI%"=="%on%" Set "ops5=5," If "%optPAE4%"=="%on%" Set "ops6=6," If "%optPAE64%"=="%on%" Set "ops7=7," If "%optAVX%"=="%on%" Set "ops8=8," If "%optKMDF%"=="%on%" Set "opsA=A," If "%optUAS%"=="%on%" Set "opsB=B," If "%optTF%"=="%on%" Set "opsC=C," If "%optC220%"=="%on%" Set "opsD=D," If "%optLUSB%"=="%on%" Set "opsE=E," If "%optDPB%"=="%on%" Set "opsF=F," If "%optSSE2%"=="%on%" Set "opsG=G," If "%optMSATA%"=="%on%" Set "opsH=H," If "%optJMSATA%"=="%on%" Set "opsI=I," If "%optAMSATA%"=="%on%" Set "opsJ=J," If "%optASATA%"=="%on%" Set "opsK=K," If "%optUIAHCI%"=="%on%" Set "opsM=M," If "%optUIRAID%"=="%on%" Set "opsN=N," If "%optK3NVMe%"=="%on%" Set "opsL=L," If "%optINVMe%"=="%on%" Set "opsO=O," If "%optSNVMe%"=="%on%" Set "opsP=P," If "%optSMNVMe%"=="%on%" Set "opsQ=Q," If "%optA1USB%"=="%on%" Set "opsR=R," Set "ops=%ops1%%ops2%%ops3%%ops4%%ops5%%ops6%%ops7%%ops8%%opsA%%opsB%%opsC%%opsD%%opsE%%opsF%%opsG%%opsH%%opsI%%opsJ%%opsK%%opsM%%opsN%%opsL%%opsO%%opsP%%opsQ%%opsR%" For /f "delims==" %%i in ('Dir /b /o:-n "..\*(Vanilla).iso" 2^>nul') do Set "FileName=%%i" For /f "delims==" %%i in ('Dir /b /o:-n ".\*(Vanilla).iso" 2^>nul') do Set "FileName=%%i" If Exist "%FileName:~0,-14% (Customized Option; %ops:~0,-1%).iso" DEL /f "%FileName:~0,-14% (Customized Option; %ops:~0,-1%).iso" ping -n 2 localhost 1>NUL ".\Utilities\cdimage.exe" -b".\Utilities\Boot-NoEmul.img" -j1 -o -g -m -l"WinXPPx86IE" "%CompileDir%" ".\%FileName:~0,-14% (Customized Option; %ops:~0,-1%).iso" 1>NUL ECHO. ECHO Deleting Compile folder . . . ping -n 3 localhost 1>NUL RmDir /s /q "%CompileDir%" :END ECHO. ECHO ---------------------------------[ Finished ]---------------------------------- ECHO. Pause EXIT