Solved

Unattended install of matrox mystique

Posted on 1998-07-14
6
270 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
Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

 
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 curse of the end user strikes again      

You’ve updated all your end user’s email signatures. Hooray! But guess what? They’re playing around with the HTML, adding stupid taglines and ruining the imagery. Find out how you can save your signatures from end users today.

Join & Write a Comment

Suggested Solutions

Several part series to implement Internet Explorer 11 Enterprise Mode
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
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…
This Micro Tutorial will give you a basic overview of Windows DVD Burner through its features and interface. This will be demonstrated using Windows 7 operating system.

758 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

20 Experts available now in Live!

Get 1:1 Help Now