plizarralde Posted November 26, 2004 Posted November 26, 2004 (edited) Hi everyone !!!I've do it step by step, the procedure to install the drivers, but the only thing it does is decompress the driver in their respective folders (audio, video, nic) in c:\driverz, but nothing happens (I mean it doesn't recognize the hardware). I've only tested in Virtual PC, not real installation.At first, give me an error about "there isn't a necessary component for the installation, the parameter is incorrect" and it saves in setuperr.log, after that continues normally, but the drivers don't install.This is my winnt.sif :;SetupMgrTag[Data] AutoPartition=0 MsDosInitiated="0" UnattendedInstall="Yes" AutomaticUpdates=1[Unattended] UnattendMode=FullUnattended OemSkipEula=Yes OemPreinstall=Yes OemPnPDriversPath="drivers\Intelinf" DriverSigningPolicy=Ignore NonDriverSigningPolicy=Ignore TargetPath=\WINDOWS FileSystem=* UnattendSwitch="Yes" KeyboardLayout="Ingl‚s (Estados Unidos-internacional)"[GuiUnattended] AdminPassword=* EncryptedAdminPassword=NO OEMSkipRegional=1 TimeZone=70 OemSkipWelcome=1[UserData] ProductKey=xxxxx-xxxxx-xxxxx-xxxxx-xxxxx FullName="Pablo Lizarralde" OrgName="Home User" ComputerName=MSFN[TapiLocation] CountryCode=54 Dialing=Tone AreaCode=11[RegionalSettings] LanguageGroup=1 Language=00002c0a[Identification] JoinWorkgroup="Grupo_trabajo"[Networking] InstallDefaultComponents=No[NetAdapters] Adapter1=params.Adapter1[params.Adapter1] INFID=*[NetServices] MS_PSched=params.MS_PSched[NetProtocols] MS_TCPIP=params.MS_TCPIP[params.MS_TCPIP] DNS=Yes UseDomainNameDevolution=No EnableLMHosts=Yes AdapterSections=params.MS_TCPIP.Adapter1[params.MS_TCPIP.Adapter1] SpecificTo=Adapter1 DHCP=Yes WINS=No NetBIOSOptions=0[URL] Home_Page=http://www.altavista.com[Components] msmsgs=off msnexplr=off deskpaper=off hearts=off minesweeper=off spider=off zonegames=off[Shell] DefaultStartPanelOff=YesThis are the additions to my txtsetup.sif[SourceDisksFiles]setupORG.exe = 1,,,,,,,2,0,07za.exe = 1,,,,,,,2,0,0Presetup.cmd = 1,,,,,,,2,0,0XRep.exe = 1,,,,,,,2,0,0DevPath.exe = 1,,,,,,,2,0,0Obviously, all these files are located in I386 directory-----------------------------------------This is my presetup.cmd@echo offIF Exist temp.cmd del temp.cmdIF Exist temp1.cmd del temp1.cmdIF Exist temp2.cmd del temp2.cmdfor %%a in (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 "%%a\$OEM$\Driverz" set drv=%%a\$OEM$\Driverzfor %%i in (%drv%\*.cab %drv%\*.7z) do echo %%i>> temp.logxrep +T#-c temp.log /%drv%/MD#32%systemdrive%\Driverz/If Not Exist %drv%\*.cab goto nextfor %%i in (%drv%\*.cab) do echo %%i%%iz>> temp1.logxrep -c temp.log /.CABxrep +T#-c temp1.log /%drv%/Expand.EXE#32%drv%/xrep +T#-c temp1.log /.cab/.cab#32-f:*#32%systemdrive%\driverz/xrep +T#-c temp1.log /zExpand.EXE#32%drv%/z/xrep +T#-c temp1.log /.cab#32-f:*#32%systemdrive%\driverzz:nextIf Not Exist %drv%\*.7z goto next1for %%i in (%drv%\*.7z) do echo %%i%%i>> temp2.logxrep -c temp.log /.7zxrep +T#-c temp2.log /%drv%/7za.EXE#32x#32-y#32-o#%systemdrive%\Driverz/xrep +T#-c temp2.log /.7z7za.EXE#32x#32-y#32-o#%systemdrive%\Driverz/#32%drv%/:next1ren *.log *.cmdcmd /c "temp.cmd"If Exist temp1.cmd cmd /c "temp1.cmd"If Exist temp2.cmd cmd /c "temp2.cmd"set tagfile=\WIN51for %%p 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 "%%p%tagfile%" set CDDRIVE=%%p%systemdrive%cd %windir%\system32REM Scanning for driverdirectories%systemroot%\system32\DevPath.exe %systemdrive%\\Driverzif exist setup.exe ren setup.exe setupold.execmd /c "del /f /q *.~xc"start /WAIT setuporg.exe -newsetupREM +===================================================+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=\WIN51for %%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 |-------------------------------------------------------|cd %SystemRoot%\system32%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 |-------------------------------------------------------|%SystemDrive%cd \%CDDRIVE%\OEM\bin\7za.exe x -y -aoa %CDDRIVE%\OEM\drivers.7zREM +===================================================+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 |REM %CDDRIVE%\OEM\bin\SetDevicePath.exe %CDDRIVE%\OEM\driversREM | This one is for your unpacked drivers on your HD |%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 |-------------------------------------------------------|SET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceExREG ADD %KEY%\998 /V 1 /D "%CDDRIVE%\OEM\bin\t-13_install.cmd" /FREG 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 %*REM +===================================================+REM +===================================================+REM | Cleanup |RD /Q /S %SystemDrive%\driversREM | Reset DevicePath |REM +====================================================This is cmdlines.txt[COMMANDS]"useraccounts.cmd""RunOnceEx.cmd"[HKEY_CURRENT_USER\Software\mIRC\License]@="xxxxxx-xxxxxxxx"[HKEY_CURRENT_USER\Software\mIRC\UserName]@="Pablo Lizarralde"This is my useraccounts.cmdnet user "Pablo Lizarralde" /addnet localgroup Administradores "Pablo Lizarralde" /addnet accounts /maxpwage:unlimitedREGEDIT /S autologon.regEXITThis is my autologon.regWindows Registry Editor Version 5.00[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon]"DefaultUserName"="Pablo Lizarralde""AutoAdminLogon"="1"Well, I think it's all. Anybody have any idea where is the problem ?TIA.Pablo Edited November 30, 2004 by prathapml
tguy Posted November 30, 2004 Posted November 30, 2004 Virtual PC uses drivers based on the Intel Chipset for the mainboard and NIC and an S3 video card. You could try incorporating them into your build to use when testing then use the real drivers that relate to the specific chipsets for the actual physical PC you are building.
prathapml Posted November 30, 2004 Posted November 30, 2004 please use tags where necessary, while posting. Reading a huge mass of tangled text is a put-off to anybody trying to help!And then, I see you have registry content inside your cmdlines.txt - that will not work. You should have it placed in a .REG file and call it from there thru cmdlines.txt.
Bâshrat the Sneaky Posted November 30, 2004 Posted November 30, 2004 Indeed tguy.plizarralde, would you care to add the tags? Thank you.
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