Solved

Unattended install of matrox mystique

Posted on 1998-07-14
6
276 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
Easy, flexible multimedia distribution & control

Coming soon!  Ideal for large-scale A/V applications, ATEN's VM3200 Modular Matrix Switch is an all-in-one solution that simplifies video wall integration. Easily customize display layouts to see what you want, how you want it in 4k.

 
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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

The Windows functions GetTickCount and timeGetTime retrieve the number of milliseconds since the system was started. However, the value is stored in a DWORD, which means that it wraps around to zero every 49.7 days. This article shows how to solve t…
This article is a collection of issues that people face from time to time and possible solutions to those issues. I hope you enjoy reading it.
This is used to tweak the memory usage for your computer, it is used for servers more so than workstations but just be careful editing registry settings as it may cause irreversible results. I hold no responsibility for anything you do to the regist…
Finding and deleting duplicate (picture) files can be a time consuming task. My wife and I, our three kids and their families all share one dilemma: Managing our pictures. Between desktops, laptops, phones, tablets, and cameras; over the last decade…

710 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