Solved

Unattended install of matrox mystique

Posted on 1998-07-14
6
278 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
Salesforce Has Never Been Easier

Improve and reinforce salesforce training & adoption using WalkMe's digital adoption platform. Start saving on costly employee training by creating fast intuitive Walk-Thrus for Salesforce. Claim your Free Account Now

 
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

[Webinar] Learn How Hackers Steal Your Credentials

Do You Know How Hackers Steal Your Credentials? Join us and Skyport Systems to learn how hackers steal your credentials and why Active Directory must be secure to stop them. Thursday, July 13, 2017 10:00 A.M. PDT

Question has a verified solution.

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

A project that enables an administrator to perform actions within a user session context not just at the time of login but any time later on day(s) or week(s) later.
When asking a question in a forum or creating documentation, screenshots are vital tools that can convey a lot more information and save you and your reader a lot of time
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…
In this video, viewers will be given step by step instructions on adjusting mouse, pointer and cursor visibility in Microsoft Windows 10. The video seeks to educate those who are struggling with the new Windows 10 Graphical User Interface. Change Cu…

632 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