Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Unattended install of matrox mystique

Posted on 1998-07-14
6
Medium Priority
?
280 Views
Last Modified: 2013-12-14
Is there any way of getting the Matrox Mystique to be automatically detected during an unattended installation of NT?
0
Comment
Question by:alan_old
  • 4
  • 2
6 Comments
 
LVL 1

Accepted Solution

by:
phillydee earned 100 total points
ID: 1769106
Yes there is.

In the [display] section of the unattend.txt file you need to have

InstallDriver=1

This key specifies whether a third-party driver is being installed or not.

then you need

InfFile = matrox.inf (or whatever the inf file for your card is.  Make sure to look in the i386 directory for the right .inf file :)  You can have as many inf files as you like listed as long as you separate them with commas eg inffile=matrox.inf,s3,inf,cirrus.inf but only one entry for each make of graphics card.)

then

InfOption = Millenium 3D (Where the string denotes the exact string description of the card from within the INF file.  You can have more than one option as long as you separate them with commas.  Just like the inffile value)

Bear in mind all the drivers and inf files need to be in the $OEM$\Display directory of your installation area.


If this does not work properly then you may only have one option left which is to use the [DisplayDriver] and [OemBootFiles] sections and a custom Txtsetup.oem file to install third-
party video drivers.

This is quite laborious and more detailed than can be expressed here.  You should be able to get this detail from the support pages of Microsoft but I havent checked.

Best of luck with the install and stay sharp.  I had loads of trouble with a madge net card and in the end it was down to spacing and commas :)

Phil



 


0
 

Author Comment

by:alan_old
ID: 1769107
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.
0
 
LVL 1

Expert Comment

by:phillydee
ID: 1769108
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?



0
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 1

Expert Comment

by:phillydee
ID: 1769109
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.
0
 

Author Comment

by:alan_old
ID: 1769110
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
0
 
LVL 1

Expert Comment

by:phillydee
ID: 1769111
Excellent,

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

Cheers

Phil
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In the absence of a fully-fledged GPO Management product like AGPM, the script in this article will provide you with a simple way to watch the domain (or a select OU) for GPOs changes and automatically take backups when policies are added, removed o…
Unable to change the program that handles the scan event from a network attached Canon/Brother printer/scanner. This means you'll always have to choose which program handles this action, e.g. ControlCenter4 (in the case of a Brother).
This video Micro Tutorial explains how to clone a hard drive using a commercial software product for Windows systems called Casper from Future Systems Solutions (FSS). Cloning makes an exact, complete copy of one hard disk drive (HDD) onto another d…
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …

824 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question