Link to home
Start Free TrialLog in
Avatar of alan_old
alan_old

asked on

Unattended install of matrox mystique

Is there any way of getting the Matrox Mystique to be automatically detected during an unattended installation of NT?
ASKER CERTIFIED SOLUTION
Avatar of phillydee
phillydee

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of alan_old
alan_old

ASKER

phillydee,

Many thanks for your response.

We use this unattended install on several different platforms, and I am a little concerned that if I edit the unattend.txt file and specify the mga64.inf file then the grahics adapters on the other platforms may not be detected, or even generate errors during subsequent installs.

Cheers,
                  Alan.
To solve the multiple platform problem you may have to add a question to the installer to say if this is a Matrox machine or not.  The results of this question could easily be used to append either the section I have detailed above or a defualt section for the other machines that auto detect with no problem.

Do you have an installer that kicks off the install or is the install initiated by and SMS package for example?  If it is the latter then you will need to get Matrox to write you a small EXE file that polls the graphics adapter for an errorlevel.  When the errorlevel is returned you can use that in your Batch file instead of a user response.

eg

C:\testmgx.exe
if mgxres=3 then
copy unatt.norm unattmgx.txt unattend.txt
else if mgxres=0 then
copy unatt.norm unattorg.txt unattend.txt

See what I mean?



Also the second option I mentioned using [displaydriver] and [oembootfiles] should add the ability to auto-detect the matrox just like any other card.

I have not tried it but it is supposed to work.
Phillydee,

Although I have used TechNet to resolve this one myself, you were correct when you mentioned [displaydrivers] and [oembootfiles].

The fix is as follows;

Under the $OEM$ directory in the I386 directory of the NT Source files, create a directory called TEXTMODE.
Into this directory copy MGA64.SYS and MGA64.DLL.
In the same directory, create a file called TXTSETUP.OEM with a text editor which should contain the following;

[Disks]
d1 = "OEM Video Disk",\oemvideo.tag,\
 
[Defaults]
DISPLAY = MGA64
 
[DISPLAY]
MGA64 = "my mga64 driver - oem"
 
[Files.display.mga64]
driver = d1,mga64.sys,mga64
dll = d1,mga64.dll
 
[Config.mga64]
value=device0,InstalledDisplayDrivers,REG_MULTI_SZ,mga64
value=device0,VgaCompatible,REG_DWORD,0


The edit UNATTEND.TXT and make sure the following sections are included and read as follows;

[Unattended]
OemPreInstall = Yes
NtUpgrade = no

[DisplayDrivers]
"my mga64 driver - oem" - OEM

[Display]
BitsPerPixels = 16
XResolution = 1024
YResolution = 768
VRefresh = 60
AutoConfirm = 1

[OEMBootfiles]
MGA64.SYS
MGA64.DLL
TXTSETUP.OEM
Excellent,

I am glad it is all sorted.  Let me know if I could be any help in future.

Cheers

Phil