MSFN Forum: AGAIN - MSFN Forum

Jump to content



Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

AGAIN HELP DRIVERS INSTALLATION FROM CD Rate Topic: -----

#1 User is offline   Unlock 

  • Newbie
  • Group: Members
  • Posts: 27
  • Joined: 17-September 04

Posted 28 February 2006 - 02:56 AM

oem\bin\WatchDriverSigningPolicy.exe
oem\bin\SetDevicePath.exe.exe
I386\presetup.cmd

and I've modified TXTSETUP.SIF with
[SourceDisksFiles]
setupORG.exe = 1,,,,,,,2,0,0
presetup.cmd = 1,,,,,,,2,0,0

and dosnet.inf with
[Files]
d1,setupORG.exe
d1,presetup.cmd

My presetup.cmd
REM +=======================================================+
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.SP2
for %%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%\system32
REM +=======================================================+



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.exe
if exist setupORG.exe ren setupORG.exe setup.exe
REM +=======================================================+



REM +=======================================================+
REM | Do other stuff like copying useful tools (optional) |
REM |-------------------------------------------------------|
rem cd %SystemRoot%\system32
rem %CDDRIVE%\OEM\bin\7za.exe x -y -aoa %CDDRIVE%\OEM\data\System32.7z
REM +=======================================================+



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.rar
REM +=======================================================+



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\drivers
REM | This one is for your unpacked drivers on your HD |
rem %CDDRIVE%\OEM\bin\SetDevicePath.exe %SystemDrive%\drivers
REM +=======================================================+



REM +=======================================================+
REM | Enable installation of unsigned drivers |
REM |-------------------------------------------------------|
start %CDDRIVE%\OEM\bin\WatchDriverSigningPolicy.exe
REM +=======================================================+



REM +=======================================================+
REM | Prepare later installations (optional) |
REM |-------------------------------------------------------|
rem SET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx
rem REG ADD %KEY%\998 /V 1 /D "%CDDRIVE%\OEM\bin\t-13_install.cmd" /F
rem REG ADD %KEY%\999 /V 1 /D "REG ADD %KEY%\zzz999 /V 1 /D %CDDRIVE%\OEM\bin\postinstall.cmd /F" /F
REM +=======================================================+



REM +=======================================================+
REM | Finally start the installation with the originally |
REM | given parameters |
REM |-------------------------------------------------------|
start /WAIT setup.exe -newsetup
REM +=======================================================+



REM +=======================================================+
REM | Cleanup |
RD /Q /S %SystemDrive%\drivers
REM | Reset DevicePath |
REM +=======================================================+

In OEM\drivers I've directory with all drivers
oem\drivers\g graphic video
oem\drivers\a audio
ect....
what's wrong because my installation is stopping after the first start and not from any error message


Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2011 msfn.org
Privacy Policy