Solved

Unattended install of matrox mystique

Posted on 1998-07-14
6
272 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
Make managing Office 365 email signatures a breeze

Are you using Office 365? Having trouble trying to set up email signatures for your users? Getting stressed out managing multiple signatures? Need an easier way to manage? We have a solution for you, try the most-user friendly and powerful signature management tool on the market.

 
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

The problems with reply email signatures

Do you wish that you could place an email signature under a reply? Well, unfortunately, you can't. That great Exchange/Office 365 signature you've created will just appear at the bottom of an email chain. What a pain! Is there really no way to solve this? Well, there might be...

Question has a verified solution.

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

Storage devices are generally used to save the data or sometime transfer the data from one computer system to another system. However, sometimes user accidentally erased their important data from the Storage devices. Users have to know how data reco…
In this article, I will show you HOW TO: Perform a Physical to Virtual (P2V) Conversion the easy way from a computer backup (image).
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Windows 8 comes with a dramatically different user interface known as Metro. Notably missing from the new interface is a Start button and Start Menu. Many users do not like it, much preferring the interface of earlier versions — Windows 7, Windows X…

895 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now