Solved

how to automate display settings in MSBATCH

Posted on 1998-05-11
4
154 Views
Last Modified: 2013-12-16
I've fully automated Windows 95 Installation but i now have problems installing additional drivers. The detected drivers are Chips & Technologies, I have a new version but cant install it. I have to manually change display settings. Does anyone know how to automate this in setup ?
0
Comment
Question by:smollett
  • 2
4 Comments
 
LVL 1

Expert Comment

by:sstew
ID: 1755815
How different are the versions of the video driver? Can you copy the new driver files into the install directory?
0
 

Author Comment

by:smollett
ID: 1755816
Completely new drivers. Windows will only install a compatible one.
0
 
LVL 1

Expert Comment

by:sstew
ID: 1755817
If your new screen drivers support a quiet/unattended install with their setup program, try the following in your MSBATCH.INF

[Install]
Addreg=system.config

[system.config]
HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnce,"Program   To Run Once",,"Your Program"

You can have multiples of these so you can automatically install other software at then end of your Windows95 installation.
Occassionaly with many Run Once commands, some can be executing at the same time.
To get around this problem, have the Run Once point to a batch file. This batch file can have all the applications you want to install but run with a start command. The syntax would be something like:
  start /w program1.exe
  start /w program2.exe
  ....

The /w causes the programs to wait before the next one is started. Also, keep the ones that need a reboot towards the end.
0
 
LVL 2

Accepted Solution

by:
tbaffy earned 100 total points
ID: 1755818
In the Msbatch.inf file, add the following section (if it isn't already there):
 
   [System]
 
Add only one of the following lines to the [System] section:
 
   DisplChar=1,640,480    ; Monochrome 640 x 480
   DisplChar=1,800,600    ; Monochrome 800 x 600
   DisplChar=1,1024,768   ; Monochrome 1024 x 768
   DisplChar=1,1280,1024  ; Monochrome 1280 x 1024
   DisplChar=4,640,480    ; 16 colors 640 x 480
   DisplChar=4,800,600    ; 16 colors 800 x 600
   DisplChar=4,1024,768   ; 16 colors 1024 x 768
   DisplChar=4,1280,1024  ; 16 colors 1280 x 1024
   DisplChar=8,640,480    ; 256 colors 640 x 480
   DisplChar=8,800,600    ; 256 colors 800 x 600
   DisplChar=8,1024,768   ; 256 colors 1024 x 768
   DisplChar=8,1280,1024  ; 256 colors 1280 x 1024
   DisplChar=15,640,480   ; 32,000 colors 640 x 480
   DisplChar=15,800,600   ; 32,000 colors 800 x 600
   DisplChar=15,1024,768  ; 32,000 colors 1024 x 768
   DisplChar=15,1280,1024 ; 32,000 colors 1280 x 1024
   DisplChar=16,640,480   ; 64,000 colors 640 x 480
   DisplChar=16,800,600   ; 64,000 colors 800 x 600
   DisplChar=16,1024,768  ; 64,000 colors 1024 x 768
   DisplChar=16,1280,1024 ; 64,000 colors 1280 x 1024
   DisplChar=24,640,480   ; 16.7 million colors (24-bit) 640 x 480
   DisplChar=24,800,600   ; 16.7 million colors (24-bit) 800 x 600
   DisplChar=24,1024,768  ; 16.7 million colors (24-bit) 1024 x 768
   DisplChar=24,1280,1024 ; 16.7 million colors (24-bit) 1280 x 1024
   DisplChar=32,640,480   ; 16.7 million colors (32-bit) 640 x 480
   DisplChar=32,800,600   ; 16.7 million colors (32-bit) 800 x 600
   DisplChar=32,1024,768  ; 16.7 million colors (32-bit) 1024 x 768
   DisplChar=32,1280 x 1024 ; 16.7 million colors (32-bit) 1280 x 1024


Tom
0

Featured Post

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

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

Today, still in the boom of Apple, PC's and products, nearly 50% of the computer users use Windows as graphical operating systems. If you are among those users who love windows, but are grappling to keep the system's hard drive optimized, then you s…
How to record audio from input sources to your PC – connected devices, connected preamp to record vinyl discs, streaming media, that play through your audio card: Vista, Windows 7, Windows 8, Windows 8.1 and Windows 10 – both 32 bit & 64.
Windows 8 came with a dramatically different user interface known as Metro. Notably missing from that interface was a Start button and Start Menu. Microsoft responded to negative user feedback of the Metro interface, bringing back the Start button a…
With the advent of Windows 10, Microsoft is pushing a Get Windows 10 icon into the notification area (system tray) of qualifying computers. There are many reasons for wanting to remove this icon. This two-part Experts Exchange video Micro Tutorial s…

786 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