Article ID: 179154
Article Last Modified on 10/31/2006
ARTICLE-ID: 166028
TITLE : Installing 3rd-Party Video Drivers with Txtsetup.oem Unattended
[Matrox.Mfg] %Matrox% Millennium II = mga64 %Matrox% Millennium = mga64 %Matrox% Mystique = mga64
MGA64.dll
MGA64.sys
[DestinationDirs]
n9i128v2.Miniport = 12 ; drivers
n9i128v2.Display = 11 ; system32
;*****************added lines*****************
;mga64.Display = 11 ; again we add these sections so it knows where to copy
;the files
;mga64.Miniport = 12 ; when installing the driver.
;************ ends here************************
;********* section added - just copiedMGA64.inf**********
;
; Software Installation
;
[n9i128v2.SoftwareSettings]
AddReg = n9i128v2_SoftwareDeviceSettings
[n9i128v2_SoftwareDeviceSettings]
HKR,, InstalledDisplayDrivers, %REG_MULTI_SZ%, n9i128v2
HKR,, VgaCompatible, %REG_DWORD%, 0
;
; Driver information
;
[Manufacturer]
%Matrox% = Matrox.Mfg
[Matrox.Mfg]
%Matrox% Millennium II = mga64
;
; General installation section
;
[mga64]
CopyFiles=mga64.Miniport, mga64.Display
;
; File sections
;
[mga64.Miniport]
mga64.sys
[mga64.Display]
mga64.dll
;
; Service Installation
;
[mga64.Services]
AddService = mga64, 0x00000002, mga64_Service_Inst, mga64_EventLog_Inst
[mga64_Service_Inst]
ServiceType = 1 ; SERVICE_KERNEL_DRIVER
StartType = 1 ; SERVICE_SYSTEM_START
ErrorControl = 0 ; SERVICE_ERROR_IGNORE
LoadOrderGroup = Video
ServiceBinary = %12%\mga64.sys
[mga64_EventLog_Inst]
AddReg = mga64_EventLog_AddReg
[mga64_EventLog_AddReg]
HKR,,EventMessageFile,0x00020000,"%SystemRoot%\System32\IoLogMsg.dll;%Syste
mRoot%\System32\drivers\mga64.sys" ; This should appear on one line
HKR,,TypesSupported,0x00010001,7
;
; Software Installation
;
[mga64.SoftwareSettings]
AddReg = mga64_SoftwareDeviceSettings
[mga64_SoftwareDeviceSettings]
HKR,, InstalledDisplayDrivers, %REG_MULTI_SZ%, mga64
HKR,, VgaCompatible, %REG_DWORD%, 0
[mga64.OpenGLSoftwareSettings]
;*********************ends here****************************
;***************added**************************************
mga64.sys = 1, ; again, just added the location at which the *.inf can
mga64.dll = 1, ; find the files.
;************ends here************************************
MGA64.dll
MGA64.sys
mga_mil.Display = 11
;***************added*****************************
mga64.Miniport = 12 ; This tells setup where the files go, 11 = system, 12
; = system32\drivers
mga64.Display = 11 ; The keys actually point to [section-headers] later
; in the file
;***************ends******************************
;***************additions begin here**********************
[mga64.Display] ; [section-header] referred to by the first section in the
; file
mga64.dll
;***************ends here**********************
;***************additions begin here**********************
[mga64.Miniport] ; [section-header] referred to at beginning of file.
mga64.sys
;***************ends here**********************
[Matrox.Mfg]
%Matrox% IMPRESSION = mga, MGA_COMPAT
%Matrox% IMPRESSION PCI = mga
%Matrox% IMPRESSION VLB = mga
%Matrox% MILLENNIUM PCI = mga_mil, MGA_MIL_COMPAT
%Matrox% MILLENNIUM 220HZ PCI = mga_mil
%Matrox% ULTIMA PCI = mga
%Matrox% ULTIMA VLB = mga
%Matrox% ULTIMA + PCI = mga
%Matrox% ULTIMA + VLB = mga
;***************additions begin here**********************
%Matrox% Millennium II = mga64, MGA64_COMPAT
;The above line adds the name to the list of available drivers when adding
;a driver manually through the display applet. The 'mga64' is the key in
;the registry, and the
;"MGA64_COMPAT" is a name used in the [detect] section and can be anyname
;as long as it does not contain any '-' (dashes) since they are not
;allowed.
;***************ends here**********************
[detect.Services]
mga = MGA_COMPAT
mga_mil = MGA_MIL_COMPAT
mga = MGA_COMPAT
mga_mil = MGA_MIL_COMPAT
;***************added*****************************
mga64 = MGA64_COMPAT
; must match what is in the %matrox% section so
; that detection will work when
; selecting 'detect display' in
; display applet.
;***************ends******************************
REGEDIT4
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\mga64]
"Type"=dword:00000001
"Start"=dword:00000004
"ErrorControl"=dword:00000000
"Group"="Video"
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\mga64\Device0]
"InstalledDisplayDrivers"=hex(7):6d,67,61,36,34,00,00
"VgaCompatible"=dword:00000000
;**************additions start here********************
; mga64 Driver Section
; This section installs the driver. All the information was pulled from ;
; the manufacturers
; *.inf file. Just follow an example of one of the existing cards in the
; display.inf.
[mga64]
CopyFiles=mga64.Miniport, mga64.Display
; mga_mil-II Software section
[mga64.SoftwareSettings]
AddReg = mga64_SoftwareDeviceSettings
; Service Installation
[mga64.Services]
AddService = mga64, 0x00000002, mga64_Service_Inst, mga64_EventLog_Inst
[mga64_Service_Inst]
ServiceType = 1 ; SERVICE_KERNEL_DRIVER
StartType = 1 ; SERVICE_SYSTEM_START
ErrorControl = 0 ; SERVICE_ERROR_IGNORE
LoadOrderGroup = Video
ServiceBinary = %12%\mga64.sys
[mga64_EventLog_Inst]
AddReg = mga64_EventLog_AddReg
[mga64_EventLog_AddReg]
HKR,,EventMessageFile,0x00020000,"%SystemRoot%\System32\IoLogMsg.dll;
%SystemRoot%\System32\drivers\mga64.sys"
HKR,,TypesSupported,0x00010001,7
;******************ends here****************
;***************additions begin here**********************
[mga64_SoftwareDeviceSettings]
HKR,, InstalledDisplayDrivers, %REG_MULTI_SZ%, mga64
HKR,, VgaCompatible, %REG_DWORD%, 0
; This section reffered to by the MGA64 section that installs the video ;
driver
;***************ends here**********************
cirrus.dll
framebuf.dll
mga.dll
;***************additions begin here**********************
mga64.dll
; entry needed so that the files are copied over when trying to
;"detect" the display using the display applet.
; The same entry must exist for the mini-
; port file (*.sys)
;***************ends here**********************
[detect.Miniport]
ati.sys
cirrus.sys
dell_dgx.sys
et4000.sys
mga.sys
mga_mil.sys
;***************added **********************
mga64.sys ; again needed for manual detection of video cards.
;***************ends **********************
Keywords: kbinfo kbsetup KB179154