Jump to content

Drivers from CD: Simple Method


a06lp

Recommended Posts

Thank you, that did the trick - now if I could get the display and the URL information to stay? any ideas on those? I tried to add the autoconfirm = 1 and it still did not take the display - it ask me to confirm the settings.

Thank you again for your help..

Link to comment
Share on other sites


[...]now if I could get the display and the URL information to stay? any ideas on those? I tried to add the autoconfirm = 1 and it still did not take the display - it ask me to confirm the settings.

Try additionally adding 'ConfigureAtLogon=0'... I found several MSFN members stating that this should fix the display issue, but i don't know anything about if myself, though... The "URL information not staying" issue you're describing, i do not know what is about, sorry...

Link to comment
Share on other sites

Thank you! that worked perfectly! I am now going through the unattended install forum thread to see if I can find out anything about how to make the home page stay - Thank you kindly for your help and patience!

Link to comment
Share on other sites

  • 3 months later...

hi

i use first method for install my drivers , but after windows installtion , my drivers not installed!!

please help me

my winnt.sif

--------------------------------------

;SetupMgrTag
[Data]
AutoPartition=0
MsDosInitiated="0"
UnattendedInstall="Yes"

[Unattended]
Unattendmode=FullUnattended
OemPreinstall=No
TargetPath=\Windows
FileSystem=*
OemSkipEula=Yes
Repartition=No

[UserData]
FullName="301"
OrgName="301"
ComputerName=Computer1
ProductKey=*****-*****-*****-*****-*****
ProductID=*****-*****-*****-*****-*****

[GuiUnattended]
TimeZone=160
AdminPassword=*
EncryptedAdminPassword=NO
OEMSkipRegional=1
OemSkipWelcome=1
DetachedProgram=".\system32\cmd.exe"
Arguments="/Q /C FOR /F %I IN (%SystemRoot%\SYSTEM32\$WINNT$.INF) DO (FOR %J IN (%I$OEM$) DO (IF EXIST %J (start /min /D%J Drivers.cmd)))"

[Display]
BitsPerPel=32
Xresolution=1024
YResolution=768
Vrefresh=60

[Networking]
InstallDefaultComponents=No

[Identification]
JoinWorkgroup=WORKGROUP

[TapiLocation]
CountryCode=98
Dialing=Tone
AreaCode=0311

[RegionalSettings]
LanguageGroup=13,1,11
SystemLocale=00000429
UserLocale=00000429
InputLocale=0409:00000409,0429:00000429

[Shell]
CustomDefaultThemeFile = "%WinDir%\Resources\Themes\Royale.theme"

-------------------------------------------------

my xp cd layout

-----------------------------------------------

├───$OEM$

│.......├───Drivers

│................├───000

│................├───001

│.......├───7za.exe

│.......├───Drivers.cmd

│.......├───nircmd.exe

│.......├───Process.exe

│.......├───SetupCopyOEMInf.exe

│.......├───WatchDriverSigningPolicy.exe

├───I386

│.......├───winnt.sif

-----------------------------------------------------

my modem driver in folder '000'

----------------------------------------

wqv5tk.jpg

----------------------------------------

my drivers.cmd

--------------------------------------------------

CLS
@ECHO OFF
TITLE Drivers-from-CD Installation
color 1F

:: Set Current Drive as CD
CD /D "%~dp0"
:: Set Drivers Location Folder
SET DRV=Drivers
:: Ticker script
ECHO.exec hide %CD%\Process.exe -r setup.exe >%SystemDrive%\Ticker.ncl
ECHO.wait 10000 >>%SystemDrive%\Ticker.ncl
ECHO.exec hide %CD%\Process.exe -p SetupCopyOEMInf.exe high >>%SystemDrive%\Ticker.ncl
ECHO.exec hide %CD%\Process.exe -s setup.exe >>%SystemDrive%\Ticker.ncl
ECHO.wait 50000 >>%SystemDrive%\Ticker.ncl
ECHO.script %SystemDrive%\Ticker.ncl >>%SystemDrive%\Ticker.ncl
:: Pre-Install (Suspend Setup, and Set Setup to Low Priority)
.\Process.exe -s setup.exe
.\Process.exe -p setup.exe low
:: Allow for Unsigned Drivers
START .\WatchDriverSigningPolicy.exe
:: If Compressed Drivers Exist, Unzip Them & Change Drivers Location Folder to Hard Drive
IF EXIST Drivers.7z (
SET DRV=%SystemDrive%\Drivers
.\7za.exe x -y -aoa -o"%SystemDrive%\Drivers" ".\Drivers.7z"
)
:: Run NirCmd Ticker Script (code above)
START .\NirCmd.exe script %SystemDrive%\Ticker.ncl
:: Install Drivers
.\SetupCopyOEMInf.exe "%DRV%"
:: Post-Install (Close NirCmd, Setup Priority back to Normal, Resume Setup)
.\Process.exe -k NirCmd.exe
.\Process.exe -p setup.exe normal
.\Process.exe -r setup.exe
:: Delete Ticker File
DEL %SystemDrive%\Ticker.ncl

EXIT

-------------------------------

pls guide me

sorry for my english :wacko:

thank you :yes:

Link to comment
Share on other sites

  • 4 weeks later...

I have integrated all DriverPacks now into a Windows XP SP3 CD and noticed these scripts work fine with it. However integrating 800MB of drivers takes more time so I have updated and simplified the presetup.cmd script.

Winnt.sif

[Data]AutomaticUpdates = No
Autopartition = 0
MsDosInitiated = 0
UnattendedInstall = Yes

[Unattended]
CrashDumpSetting = 0
DUDisable = Yes
DriverSigningPolicy = Ignore
FileSystem = *
NoWaitAfterGUIMode = 1
NoWaitAfterTextMode = 1
OemPreinstall = No
OemSkipEula = Yes
OemSkipWelcome = 0
UnattendSwitch = No
UnattendMode = DefaultHide
WaitForReboot = No

[GuiUnattended]
DetachedProgram=".\system32\cmd.exe"
Arguments="/Q /C FOR /F %I IN (%SystemRoot%\SYSTEM32\$WINNT$.INF) DO (FOR %J IN (%I$OEM$) DO (IF EXIST %J (START /D%J nircmd.exe exec hide presetup.cmd)))"

presetup.cmd

@echo off
set param=%*
if not defined param (
start nircmd.exe exec hide presetup.cmd install
process.exe -s "setup.exe"
goto :ticker
) else (
setupcopyoeminf.exe "Drivers"
)
process.exe -k "sleep.exe"
process.exe -r "setup.exe"
exit

:ticker
sleep 50
process.exe -r "setup.exe"
process.exe -v | findstr /i ^"setupcopyoeminf^"
if not errorlevel 1 (
sleep -m 2500
process.exe -s "setup.exe"
goto :ticker
)
goto :eof

UPDATE: Removed ticker script, so no need for nircmd.exe anymore. Script now depends on sleep.exe to wait. I have included nircmd.exe only for hiding the script now.

Edited by Acheron
Link to comment
Share on other sites

As I'm working on integrating the DriverPacks I'm encountering problems using the DPFinisher program as it assumes all drivers are copied to the hdd. Also the program does run some tasks similar as setupcopyoeminf but these are not documented anywhere. Writing a custom application to manually process the DriverPacks without the bloat from the DPFinisher program should make things more simply.

Link to comment
Share on other sites

  • 4 weeks later...

I've recently changed to installing my apps from a second data-drive/partition, instead of the %cdrom% based method, since that's even more faster, but then i thought to myself, why not also doing the same with the drivers, i.e. having the drivers stored on a second data-drive/partition, and then letting Windows install them from there, and so i changed the method described in this thread(uncompressed drivers from CD), with the following changes:

I placed the $OEM$ folder on my second data-drive/partition, and renamed it to Drivers, and then changed the 'Arguments' section in WINNT.SIF to the following:

[GuiUnattended]
DetachedProgram=".\system32\cmd.exe"
Arguments="/Q /C start /min /Dxxxxx NirCmd.exe exec hide Drivers.cmd"

(Where xxxxx is the path for the Drivers folder)

Just wanted to post this, in case someone would find it interesting... :)

Edited by Martin H
Link to comment
Share on other sites

  • 5 months later...
  • 2 months later...
Guest jodysmith

Hello,

This is quite an informative thread but is there any method by which I can keep a backup file for my drivers in the system memory itself?

Edited by puntoMX
*SPAM*
Link to comment
Share on other sites

  • 5 months later...

Hello guys i ve a little confusion. Can you guys clear?

To accomplish this method Drivers from CD: Simple Method. I ve to place this entry in winnt.sif in my GuiUnattended section:

DetachedProgram=".\system32\cmd.exe"

Arguments="/Q /C FOR /F %I IN (%SystemRoot%\SYSTEM32\$WINNT$.INF) DO (FOR %J IN (%I$OEM$) DO (IF EXIST %J (start /min /D%J Drivers.cmd)))"

And then i ve 2 copy the six files from the zip in $OEM$ folder. Then i ve to create a subfolder in $OEM$ with the name drivers. The confusion is that CAN I PLACE MY DRIVERS IN SUBFOLDERS IN DRIVERS FOLDERS like Drivers\chipset\1, Drivers\chipset\2, Drivers\chipset\2 .

Second confusion is can i place my Drivers folder in the root of Unattended cd rom or not?

Link to comment
Share on other sites

Hello guys i ve a little confusion. Can you guys clear?

To accomplish this method Drivers from CD: Simple Method. I ve to place this entry in winnt.sif in my GuiUnattended section:

DetachedProgram=".\system32\cmd.exe"

Arguments="/Q /C FOR /F %I IN (%SystemRoot%\SYSTEM32\$WINNT$.INF) DO (FOR %J IN (%I$OEM$) DO (IF EXIST %J (start /min /D%J Drivers.cmd)))"

And then i ve 2 copy the six files from the zip in $OEM$ folder. Then i ve to create a subfolder in $OEM$ with the name drivers. The confusion is that CAN I PLACE MY DRIVERS IN SUBFOLDERS IN DRIVERS FOLDERS like Drivers\chipset\1, Drivers\chipset\2, Drivers\chipset\2 .

Second confusion is can i place my Drivers folder in the root of Unattended cd rom or not?

Link to comment
Share on other sites

  • 4 weeks later...

Yes, setupcopyoeminf.exe automaticly processes all subdirectories. I'm still working on rewriting the DriverPack Finisher program to get it to work using this method. I have also been experimenting with USB media with good results.

Link to comment
Share on other sites

  • 4 years later...

What about searching?

http://www.msfn.org/board/topic/143008-how-do-you-include-drivers/

Several links to tried-and-true methods.

The method for Win7 is (nearly) the same as XP.

http://www.msfn.org/board/topic/139572-ask-your-seven-xml-here/#entry892782

For drivers needed during PE phase:

http://www.msfn.org/board/topic/139572-ask-your-seven-xml-here/#entry913017

I added USB3 drivers for an add-in card using the above for a MoBo that the USB2 ports failed on and had no PS2 ports.

 

HTH

Link to comment
Share on other sites

already check out bro but my unattended is too huge with drivers now just wonder if have any solution same like this one to use a compress driver pack into windows. but thanks anyway

Edited by cyberloner
Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...