Unlock Posted February 28, 2006 Share Posted February 28, 2006 oem\bin\WatchDriverSigningPolicy.exeoem\bin\SetDevicePath.exe.exeI386\presetup.cmdand I've modified TXTSETUP.SIF with[sourceDisksFiles]setupORG.exe = 1,,,,,,,2,0,0presetup.cmd = 1,,,,,,,2,0,0and dosnet.inf with[Files]d1,setupORG.exed1,presetup.cmdMy presetup.cmdREM +=======================================================+REM | Comment out what you don't need. These are mostly |REM | examples to give you an idea of how it all works. |REM +=======================================================+REM +=======================================================+REM | Finding CDROM driveletter |REM |-------------------------------------------------------|set tagfile=\win51ip.SP2for %%i in (c d e f g h i j k l m n o p q r s t u v w x y z) do if exist "%%i:%tagfile%" set CDDRIVE=%%i:REM +=======================================================+REM +=======================================================+REM | We should be already in system32, this is just to be |REM | sure |REM |-------------------------------------------------------|%SystemDrive%cd %SystemRoot%\system32REM +=======================================================+REM +=======================================================+REM | Trick Windows into identifying the original setup.exe |REM | deleting the setup.exe will not work, just rename it |REM |-------------------------------------------------------|if exist setup.exe ren setup.exe setupold.exeif exist setupORG.exe ren setupORG.exe setup.exeREM +=======================================================+REM +=======================================================+REM | Do other stuff like copying useful tools (optional) |REM |-------------------------------------------------------|rem cd %SystemRoot%\system32rem %CDDRIVE%\OEM\bin\7za.exe x -y -aoa %CDDRIVE%\OEM\data\System32.7zREM +=======================================================+REM +=======================================================+REM | If you are using compressed drivers unpack them here: |REM |-------------------------------------------------------|rem %SystemDrive%rem cd \rem %CDDRIVE%\OEM\bin\7za.exe x -y -aoa %CDDRIVE%\OEM\drivers.rarREM +=======================================================+REM +=======================================================+REM | Scanning for driverdirectories |REM | ONLY USE ONE OF THE FOLLOWING COMMANDS, NOT BOTH! |REM |-------------------------------------------------------|REM | This one is for uncompressed drivers on the CD | %CDDRIVE%\OEM\bin\SetDevicePath.exe %CDDRIVE%\OEM\driversREM | This one is for your unpacked drivers on your HD |rem %CDDRIVE%\OEM\bin\SetDevicePath.exe %SystemDrive%\driversREM +=======================================================+REM +=======================================================+REM | Enable installation of unsigned drivers |REM |-------------------------------------------------------|start %CDDRIVE%\OEM\bin\WatchDriverSigningPolicy.exeREM +=======================================================+REM +=======================================================+REM | Prepare later installations (optional) |REM |-------------------------------------------------------|rem SET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceExrem REG ADD %KEY%\998 /V 1 /D "%CDDRIVE%\OEM\bin\t-13_install.cmd" /Frem REG ADD %KEY%\999 /V 1 /D "REG ADD %KEY%\zzz999 /V 1 /D %CDDRIVE%\OEM\bin\postinstall.cmd /F" /FREM +=======================================================+REM +=======================================================+REM | Finally start the installation with the originally |REM | given parameters |REM |-------------------------------------------------------|start /WAIT setup.exe -newsetupREM +=======================================================+REM +=======================================================+REM | Cleanup |RD /Q /S %SystemDrive%\driversREM | Reset DevicePath |REM +=======================================================+In OEM\drivers I've directory with all driversoem\drivers\g graphic videooem\drivers\a audioect....what's wrong because my installation is stopping after the first start and not from any error message Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now