en:docs:win16:applications:setup

This is an old revision of the document!


Windows 3.1 SETUP.INF Complete Reference

Introduction

SETUP.INF is the master configuration file that controls every aspect of Windows 3.1 installation. This comprehensive reference documents all sections, keys, and installation processes based on the original Windows Resource Kit documentation.

Installation Process Overview

The Windows installation follows this precise sequence:

Phase 1: Initialization

  1. Read [setup] section for help file location
  2. Process [data] section for system requirements and defaults
  3. Initialize disk definitions from [disks] and [oemdisks]
  4. Load dialog text from [dialog] section

Phase 2: File Copying

  1. Copy core Windows files from [windows] section
  2. Copy system files from [windows.system] section
  3. Copy 386-specific files from [windows.system.386]
  4. Install display drivers from [display] section
  5. Install keyboard drivers from keyboard sections
  6. Install mouse drivers from pointing device sections
  7. Copy network components if selected
  8. Install fonts based on display resolution

Phase 3: Configuration

  1. Update INI files based on [ini.upd.patches] and [ini.upd.31]
  2. Create Program Manager groups
  3. Run post-installation programs from [run] section

Phase 4: Finalization

  1. Process [blowaway] section to mark installation end
  2. Clean up temporary files

General Installation Sections

[setup] Section

Defines the Setup help file location.

Format:

[setup]
help=filename.hlp

Parameters:

Parameter Value Description
———–——-————-
help setup.hlp Specifies the help file for Setup program

Example:

[setup]
help=setup.hlp

[run] Section

Specifies programs to execute after Setup completion.

Format:

[run]
"program_name"

Parameters:

Parameter Description
———–————-
program_name Executable to run after installation

Example:

[run]
"control"  ; Runs Control Panel after Setup

[dialog] Section

Contains all text strings displayed in Setup dialog boxes.

Complete Standard Entries:

[dialog]
caption = "Windows Setup"
exit = "Exit Windows Setup"
title = "Installing Windows 3.1"
options = "In addition to installing Windows 3.1, you can:"
printwait = "Please wait while Setup configures your printer(s)..."
copywait = "Welcome to Microsoft Windows 3.1 ! ..."

[winexec] Section

Provides core file information for Windows Mode Setup.

Complete Standard Entries:

[winexec]
execstd= "dosx.exe"                    ; MS-DOS Extender for standard mode
execcmd= " krnl286.exe lb /q:"         ; Command and switches for kernel
exechimem= "xmsmmgr.exe"               ; Extended memory manager for Setup
himemcmd= ""                           ; Switches for HIMEM.SYS
Krnl386= 2:krnl386.exe                 ; Kernel for 386 enhanced mode
Krnl286= 2:krnl286.exe                 ; Kernel for standard mode
dosx= 2:dosx.exe                       ; Disk location for DOSX.EXE file

[data] Section

Defines system requirements, defaults, and installation parameters.

Disk Space Requirements (in bytes):

[data]
netadmin= 16000000                     ; 16.0 MB
netadminupd= 16000000                  ; 16.0 MB
upd2x386full= 10500000,8000000         ; 10.5 MB, 8.0 MB
upd2x386net= 300000                    ; 0.3 MB
upd3x386full= 5500000,5000000          ; 5.5 MB, 5.0 MB
upd3x386net= 300000                    ; 0.3 MB
upd2x286full= 9000000,6500000          ; 9.0 MB, 6.5 MB
upd2x286net= 300000                    ; 0.3 MB
upd3x286full= 5500000,5000000          ; 5.5 MB, 5.0 MB
upd3x286net= 300000                    ; 0.3 MB
new386full= 10500000,8000000           ; 10.5 MB, 8.0 MB
new286full= 9000000,6500000            ; 9.0 MB, 6.5 MB
new386net= 300000,300000               ; 0.3 MB, 0.3 MB
new286net= 300000,300000               ; 0.3 MB, 0.3 MB

System Configuration Parameters:

startup= WIN.COM                        ; File referred to when starting Windows
defdir= C:\WINDOWS                     ; Default directory for installation
short name= Windows                    ; Default based on [language]
welcome= "Windows 3.1"                 ; Welcome message
deflang= enu                           ; Default language based on [codepage]
defxlat= 437                           ; Default code page
defkeydll= usadll                      ; Default based on [keyboard.tables]
register= "regedit /s /u setup.reg"    ; Default file for registration database
tutor= "wintutor.exe"                  ; Tutorial to run at end of installation
NetSetup= FALSE                        ; TRUE allows only SETUP /N
MouseDrv= TRUE                         ; Setup uses the mouse
Version= "3.1"                         ; Current Windows version

[disks] and [oemdisks] Sections

Define all installation disks and their properties.

Format:

disk_number= path, "disk_name", disk_tag

Field Definitions:

Field Description
——-————-
disk_number Single character 1-9 or A-Z (0 reserved for Setup directory)
path Disk path (“.” = same drive as Windows Setup disks)
disk_name Disk label in quotes
disk_tag Volume name for disk verification

Complete Standard Entries:

[disks]
1=. ,"Microsoft Windows 3.1 Disk #1",disk1
2=. ,"Microsoft Windows 3.1 Disk #2",disk2
3=. ,"Microsoft Windows 3.1 Disk #3",disk3
4=. ,"Microsoft Windows 3.1 Disk #4",disk4
5=. ,"Microsoft Windows 3.1 Disk #5",disk5
6=. ,"Microsoft Windows 3.1 Disk #6",disk6

[oemdisks]
Z=. ,"HP DeskJet Series v2.0 disk (from printer box or contact HP)",diskz

[user] Section

Defines the temporary file containing user and company identification.

Core File Copying Sections

[windows] Section

Files copied to WINDOWS directory during MS-DOS Mode Setup.

Complete Standard Entries:

[windows]
1:setup.hlp
1:setup.inf
3:control.hlp
2:win.src, Net              ; Copied only for Administrative Setup (setup /a)
1:system.src, Net           ; Copied only for Administrative Setup (setup /a)
1:winhelp.exe

[windows.system] Section

Files copied to SYSTEM subdirectory.

Complete Standard Entries:

[windows.system]
1:gdi.exe
1:user.exe
1:win.cnf
1:lzexpand.dll
2:ver.dll

[windows.system.386] Section

386-specific files for SYSTEM subdirectory.

Complete Standard Entries:

[windows.system.386]
1:cpwin386.cpl

Memory Manager Support Sections

386Max Support:

[386max]
2:386max.vxd                ; Files copied if system is using 386Max
2:windows.lod

BlueMax Support:

[bluemax]
2:bluemax.vxd               ; Files copied if system is using BlueMax
2:windows.lod

[shell] Section

Defines the Windows shell application.

Complete Standard Entry:

[shell]
progman.exe, "Windows Program Manager"

Display Driver Sections

Display Driver Components

Windows display drivers require three file types:

  • .DRV file - Main display driver (e.g., VGA.DRV)
  • Grabber files - .2GR for standard mode, .3GR for 386 enhanced mode
  • VDD files - Virtual Display Drivers (VDDx.386) for 386 enhanced mode

[display] Section Format

keyname= driver, description, resolution, 286grabber, logo code, VDD, 386grabber, ega.sys, logo data, optional section

Complete Field Definitions:

Field Description
——-————-
keyname Profile name for driver references in other SETUP.INF sections
driver Filename of the display device driver
description Driver description in quotes (appears in Change System Settings dialog)
resolution Aspect ratio as three comma-separated numbers in quotes
286grabber Filename of the 286 grabber for standard mode data exchange
logo code Filename for Microsoft Windows logo code
VDD Filename for the Virtual Display Driver
386grabber Filename of the 386 grabber for 386 enhanced mode data exchange
ega.sys Filename for data determining EGA.SYS driver installation need
logo data Filename for appropriate Microsoft logo bitmap
optional section Name of section with additional display driver information

Important: Do not change description strings as they are used for upgrade decisions.

Example Entry for 8514/a Display:

8514= 2:8514.drv, "8514/a", "100,120,120", 3:vgacolor.2gr, 2:vgalogo.lgo, 2:vdd8514.386, 3:vgadib.3gr, , 2:vgalogo.rle, 8514

Optional Display Sections

Available optional sections for display drivers:

[v7vga], [vgamono], [8514], [8514s], [tiga1], [tiga2], [v7b], [v7c], [v7d], [v7t], [v7e], [xgasm], [xgalg], [xgalo]

Optional Section Format:

file, destination, ini file, section, OldEntry, NewEntry

Optional Section Field Definitions:

Field Description
——-————-
file Optional file to copy (can be null)
destination Directory for file copy (0: = WINDOWS, O:system = SYSTEM)
ini file .INI file to modify (WIN.INI or SYSTEM.INI)
section Section in .INI file to modify
OldEntry Entry to remove from .INI file (in quotes, optional)
NewEntry New entry to add to .INI file (in quotes)

Example Optional Section:

[8514]
, , system.ini, 8514.DRV, "dpi=", "dpi=120"

[.3gr] Font Sections

Define fonts for 386 grabbers that support text/graphics copying from non-Windows applications.

Available .3gr Sections:

[vga.3gr], [vgalo.3gr], [v7vga.3gr], [ega.3gr], [vgadib.3gr], [plasma.3gr], [herc.3gr], [tiga.3gr]

Example for Video 7 VGA:

[v7vga.3gr]
2:CGA40WOA.FON,2:CGA40850.FON
2:CGA80WOA.FON,2:CGA80850.FON
2:EGA40WOA.FON,5:EGA40850.FON
2:EGA80WOA.FON,2:EGA80850.FON

Font Selection Rules:

  • Code page 437 (US default): Copies *WOA.FON files
  • Other code pages: Copies *850.FON files

Keyboard and Code Page Sections

[keyboard.drivers] Section

Maps keyboard driver filenames to short names.

Complete Standard Entries:

[keyboard.drivers]
kbd= 2:keyboard.drv
kbdhp= 2:kbdhp.drv

[keyboard.types] Section

Creates keyboard short names used in [machine] section.

Format:

short_name = "description", DLL_filename

Field Definitions:

Field Description
——-————-
short_name Abbreviated descriptor for [machine] section
description Description in quotes for Change System Settings dialog
DLL_filename Supporting DLL filename (can be null)

Complete Standard Entries:

[keyboard.types]
t3s0alat= "All AT type keyboards (84-86 keys)",nodll
t1s2at&t= "AT&T '301' keyboard",nodll
t1s4at&t= "AT&T '302' keyboard",nodll
t4s0enha= "Enhanced 101 or 102 key US and Non US keyboards",nodll
t3s0hp1= "Hewlett-Packard Vectra keyboard (DIN)",nodll
t4s40oliv= "Olivetti 101/102 A keyboard",nodll
t1s0oliv= "Olivetti 83 key keyboard",nodll
t3s10oliv= "Olivetti 86 Key keyboard",nodll
t2s1oliv= "Olivetti M24 102 key keyboard",usadll
t1s42oliv= "PC-XT 83 key keyboard",nodll
t1s0pcxt= "PC/XT -Type keyboard (84 keys)",nodll

[keyboard.tables] Section

Maps DLL short names to disk locations for international language support.

Complete Standard Entries:

[keyboard.tables]
beldll= 2:kbdbe.dll , "Belgian"
bridll= 2:kbduk.dll , "British"
cafdll= 2:kbdfc.dll , "Canadian Multilingual"
dandll= 2:kbdda.dll , "Danish"
dutdll= 2:kbdne.dll , "Dutch"
findll= 2:kbdfi.dll, "Finnish"
fredll= 2:kbdfr.dll , "French"
candll= 2:kbdca.dll , "French Canadian"
gerdll= 2:kbdgr.dll , "German"
icedll= 2:kbdic.dll , "Icelandic"
itadll= 2:kbdit.dll , "Italian"
latdll= 2:kbdla.dll , "Latin American"
nordll= 2:kbdno.dll , "Norwegian"
pordll= 2:kbdpo.dll , "Portuguese"
spadll= 3:kbdsp.dll , "Spanish"
swedll= 2:kbdsw.dll , "Swedish"
swfdll= 2:kbdsf.dll , "Swiss French"
swgdll= 2:kbdsg.dll , "Swiss German"
nodll=, "US"
usadll= 2:kbdus.dll , "US"
usddll= 2:kbddv.dll , "US-Dvorak"
usxdll= 2:kbdusx.dll, "US-International"

[codepages] Section

Defines code page support for international systems.

Format:

codepage_number = xlat_table, OEMfont, WOAfont, "description"

Field Definitions:

Field Description
——-————-
codepage_number Table number for keyboard character mapping
xlat_table Translation table filename for OEM font association
OEMfont OEM font filename with disk number
WOAfont Windows grabber font filename with disk number
description Country description in quotes

Complete Standard Entries:

[codepages]
863= 1:xlat863.bin, 2:vga863.fon, 2:app850.fon, "Canadian-French (863)"
861= 2:xlat861.bin, 2:vga861.fon, 2:app850.fon, "Icelandic (861)"
865= 2:xlat865.bin, 2:vga865.fon, 2:app850.fon, "Nordic (865)"
850= 2:xlat850.bin, 2:vga850.fon, 2:app850.fon, "Multi-Lingual (850)"
860= 3:xlat860.bin, 2:vga860.fon, 2:app850.fon, "Portuguese (860)"
437= , , 2:dosapp.fon, "English (437)"

Mouse Driver Sections

[pointing.device] Section

Table of information for supported pointing devices.

Format:

keyname = mouse_driver, mouse_descriptor, VMD, optional_section

Field Definitions:

Field Description
——-————-
keyname Profile name
mouse_driver Mouse driver filename with disk number
mouse_descriptor Driver description in quotes for Setup dialog
VMD Virtual Mouse Device support filename with disk number
optional_section Section with additional mouse driver information

Special VMD Values:

  • x:*vmd

    - File built into WIN386.EXE (not separate file)

  • x:

    - Refers to disk where WIN386.EXE is located

Complete Standard Entries:

[pointing.device]
hpmouse= 2:hpmouse.drv, "HP Mouse (HP-HIL)", x:*vmd
lmouse= 3:lmouse.drv, "Logitech", 2:lvmd.386, lmouse
ps2mouse= 2:mouse.drv,"Microsoft, or IBM PS/2",x:*vmd
genius1= 2:mscmouse.drv,"Genius serial mouse on COM1", 1:mscvmd.386
genius2= 2:msc3bc2.drv, "Genius serial mouse on COM2", 1:mscvmd.386
msmouse2= 2:mscmouse.drv,"Mouse Systems serial or bus mouse", 1:mscvmd.386
msmouse1= 2:msc3bc2.drv, "Mouse Systems serial mouse on COM2", 1:mscvmd.386
nomouse= 2:nomouse.drv, "No mouse or other pointing device", x:*vmd
kbdmouse= 2:kbdmouse.drv,"Olivetti/AT&T Keyboard Mouse",x:*vmd

[dos.mouse.driver] Section

Maps Windows mouse drivers to MS-DOS mouse drivers.

Complete Standard Entries:

[dos.mouse.drivers]
mouse.sys= 4:mouse.SYS, "MS DOS Mouse driver .SYS ver 7.XX"
mouse.com= 4:mouse.com, "MS DOS Mouse driver .COM ver 7.XX"
mousehp.sys= 3:mousehp.SYS,"HP DOS Mouse driver .SYS ver 7.XX"
mousehp.com= 3:mousehp.com,"HP DOS Mouse driver .COM ver 7.XX"

[lmouse] Section

Support data for Logitech MS-DOS mouse driver.

Complete Standard Entry:

[lmouse]
2:lmouse.com,O:,,,,

Network Installation Sections

[network] Section

Associates network keynames with installation files.

Format:

network_keyname = driver, description, HelpFile, optional_file, WininiSectName, SysiniSectName, VDD, ...

Field Definitions:

Field Description
——-————-
network_keyname Profile for specific network driver
driver Network driver filename with disk number
description Driver description in quotes for Setup dialog
HelpFile Associated help filename
optional_file Optional file to install
WininiSectName WIN.INI section to add/modify
SysiniSectName SYSTEM.INI section to add/modify
VDD Virtual Display Device support filenames

Complete Standard Entries:

[network]
nonet= ,"No Network Installed"
3open= ,"3Com 3+Open"
3share= ,"3Com 3+Share" ,.,msnet_stuff
lantastic= ,"Artisoft LANtastic"
banyan= ,"Banyan Vines"
dlr= ,"IBM OS/2 LAN Server"
pclp= ,"IBM PC LAN Program"
lanman= ,"Microsoft LAN Manager"
msnet= ,"Microsoft Network (or 100% compatible)", .,,msnet_stuff
novell= ,"Novell Netware"
pathworks= ,"DEC Pathworks"
10net= ,"TCS 10Net"

[Network_Version] Sections

Provide version-specific network information.

Available Version Sections:

[10net.versions]    ; TCS 10Net
[3open.versions]    ; 3Com 3+Open
[banyan.versions]   ; Banyan Vines
[dlr.versions]      ; IBM OS/2 LAN Server
[lanman.versions]   ; Microsoft LAN Manager
[lantastic.versions] ; Artisoft LANtastic
[novell.versions]   ; Novell Netware
[pathworks.versions] ; DEC Pathworks
[pclp.versions]     ; IBM PC LAN Program

Format:

version_number = "description", optional_files, optional_sections

Example for LAN Manager:

[lanman.versions]
xx000000="versions 1.X", , lmbasic
00020000="version 2.00 Basic", , lmbasic
01020000="version 2.00 Enhanced", , lmenh20
00021000="version 2.10 Basic", , lmbasic21
01021000="version 2.10 Enhanced", lanman21.drv, lmenh21 nodrv,lmenh21

[Network_Specific] Sections

Define INI file modifications for specific networks.

Available Network_Specific Sections:

[10net41], [10net41a], [10net42], [10net42def], [10net50]
[3open1]
[ban4], [ban41], [ban41def]
[dec4], [dec41]
[dlr12], [dlr12csd], [dlr13]
[lant1], [lant4], [lant4def]
[lmbasic], [lmbasic21], [lmenh20], [lmenh21], [lmenh21nodrv]
[msnet_stuff]
[novell301], [novell321]
[old_pclp], [pclp132]
[unsupported_net]

Format:

[network_keyname]
ini-keyname = section, entry_keyname, value

Example for Novell NetWare 3.01:

[novell301]
warning=2
driver=2:netware.drv
vxd=x:*vnetbios,2:vnetware.386,2:vipx.386
sysdir=2:netware.hlp,2:nwpopup.exe
windir=2:ipx.obj,2:ipxodi.com,2:netx.com,2:lsl.com
windir=2:tbmi2.com

System Fonts Sections

[sysfonts] Section

System fonts by display resolution.

Complete Standard Entries:

[sysfonts]
1:egasys.fon,"EGA (640x350) resolution System Font", "133,96,72"
1:vgasys.fon,"VGA (640x480) resolution System Font", "100,96,96"
1:8514sys.fon,"8514/a (1024x768) resolution System Font", "100,120,120"
1:egasys.fon,"AT&T (640x400) resolution System Font", "120,96,80"

[fixedfonts] Section

Fixed-width system fonts by display resolution.

Complete Standard Entries:

[fixedfonts]
2:egafix.fon,"EGA (640x350) resolution Fixed System Font", "133,96,72"
1:vgafix.fon,"VGA (640x480) resolution Fixed System Font", "100,96,96"
1:8514fix.fon,"8514/a (1024x768) resolution Fixed System Font", "100,120,120"
2:egafix.fon,"AT&T (640x400) resolution Fixed System Font", "120,96,80"

[oemfonts] Section

Terminal fonts by display resolution.

Complete Standard Entries:

[oemfonts]
1:egaoem.fon,"EGA (640x350) resolution Terminal Font (USA/Europe)", "133,96,72",1
1:vgaoem.fon,"VGA (640x480) resolution Terminal Font (USA/Europe)", "100,96,96",1
1:8514oem.fon,"8514/a (1024x768) resolution Terminal Font (USA/Europe)", "100,120,120",1
1:egaoem.fon,"AT&T (640x400) resolution Terminal Font (USA/Europe)","120,96,80",1

Program Manager Groups Sections

[new.groups] Section

Used when upgrading from Windows 3.0 to 3.1.

Format:

section = Progman_group, Min/Max

Field Definitions:

Field Description
——-————-
section Name of [group#] section with group definition
Progman_group Profile name identifying group in Program Manager
Min/Max 1=maximize group, nothing=minimize group

Complete Standard Entries:

[new.groups]
group7=Main, 1
group1=Startup
group2=Accessories
group6=Games

[progman.groups] Section

Used for new Windows 3.1 installations.

Complete Standard Entries:

[progman.groups]
group3=Main, 1
group4=Accessories
group5=Games
group1=Startup

[group#] Sections

Define program items within Program Manager groups.

Format:

"description", filename.exe, icon_filename, icon_number, profile

Field Definitions:

Field Description
——-————-
description Text below icon in Program Manager (in quotes)
filename.exe Executable filename with extension
icon_filename Icon extraction file (blank = first icon from filename.exe)
icon_number Icon offset number (for 3rd icon, specify 2)
profile If null, always added; otherwise only if installed via Add/Remove Files

Complete Group Definitions:

Main Group ([group3] for [progman.groups]):

[group3]
"File Manager", WINFILE.EXE
"Control Panel", CONTROL.EXE
"Print Manager", PRINTMAN.EXE
"Clipboard Viewer", CLIPBRD.EXE
"MS-DOS Prompt", DOSPRMPT.PIF, PROGMAN.EXE, 9
"Windows Setup", SETUP.EXE
"PIF Editor", PIFEDIT.EXE
"Read Me", README.WRI,, readme

Accessories Group ([group4] for [progman.groups]):

[group4]
"Write", WRITE.EXE,,, write
"Paintbrush", PBRUSH.EXE,,, pbrush
"Terminal", TERMINAL.EXE,,, terminal
"Notepad", NOTEPAD.EXE,,, notepad
"Recorder", RECORDER.EXE,,, recorder
"Cardfile", CARDFILE.EXE,,, cardfile
"Calendar", CALENDAR.EXE,,, calendar
"Calculator", CALC.EXE,,, calc
"Clock", CLOCK.EXE,,, clock
"Object Packager", PACKAGER.EXE,,, packager
"Character Map", CHARMAP.EXE,,, charmap
"Media Player", MPLAYER.EXE,,, mplayer
"Sound Recorder", SOUNDREC.EXE,,, soundrec

Games Group ([group5] for [progman.groups]):

[group5]
"Solitaire", SOL.EXE,,, sol
"Minesweeper", WINMINE.EXE,,, winmine

Additional Groups for [new.groups]:

[group1]  ; For [progman.groups] and [new.groups]
[group2]  ; For [new.groups]
"Object Packager", PACKAGER.EXE,,, packager
"Character Map", CHARMAP.EXE,,, charmap
"Media Player", MPLAYER.EXE,,, mplayer
"Sound Recorder", SOUNDREC.EXE,,, soundrec
"PIF Editor"
"Write", WRITE.EXE
"Control Panel"

[group6]  ; For [new.groups]
"Solitaire", SOL.EXE,,, sol
"Minesweeper", WINMINE.EXE,,, winmine

[group7]  ; For [new.groups]
"PIF Editor", PIFEDIT.EXE
"Read Me"
"Read Me", README.WRI,, readme
"Tutorial"

Fonts Sections

[fonts] Section

Raster and vector screen fonts based on display resolution.

Format:

filename, "description", "resolution"

Example VGA Entries:

[fonts]
(other entries)
6:SSERIFE.FON, "MS Sans Serif 8,10,12,14,18,24 (VGA res)", "100,96,96"
(other entries)
6:COURE.FON, "Courier 10,12,15 (VGA res)", "100,96,96"
(other entries)
6:SERIFE.FON, "MS Serif 8,10,12,14,18,24 (VGA res)", "100,96,96"
(other entries)
6:SYMBOLE.FON, "Symbol 8,10,12,14,18,24 (VGA res)", "100,96,96"
(other entries)
6:SMALLE.FON, "Small (VGA res)", "100,96,96"

[ttfonts] Section

TrueType font definitions.

Format:

font_header_file, "description", font_file, fontfamily_flags

Field Definitions:

Field Description
——-————-
font_header_file TrueType header source filename
description Font description in quotes (first letter of each word capitalized)
font_file TrueType font filename
fontfamily_flags Font family name plus flag in quotes

Font Family Flags:

  • 0000 = Normal weight font
  • 0100 = Bold font
  • 1000 = Italic font
  • 1100 = Bold Italic font

Complete TrueType Entries:

[ttfonts]
S:ARIAL.FOT, "Arial (TrueType)", 5:arial.ttf, ""
S:ARIALBD.FOT, "Arial Bold (TrueType)", S:arialbd.ttf, "Arial0100"
S:ARIALBI.FOT, "Arial Bold Italic (TrueType)", 5:arialbi.ttf, "Arial1100"
S:ARIALI.FOT, "Arial Italic (TrueType)", 5:ariali.ttf, "Arial1000"
S:COUR.FOT, "Courier New (True Type)", 5:cour.ttf, ""
S:COURBD.FOT, "Courier New Bold (TrueType)", 5:courbd.ttf, "Courier0100"
S:COURBI.FOT, "Courier New Bold Italic (TrueType)", 5:courbi.ttf, "Courier1100"
S:COURI.FOT, "Courier New Italic (TrueType)", 5:couri.ttf, "Courier1000"
3:TIMES.FOT, "Times New Roman (TrueType)", 4:times.ttf, ""
3:TIMESBD.FOT, "Times New Roman Bold (TrueType)", 4:timesbd.ttf, "Times New Roman0100"
3:TIMESBI.FOT, "Times New Roman Bold Italic (TrueType)", 4:timesbi.ttf, "Times New Roman1100"
4:TIMESI.FOT, "Times New Roman Italic (TrueType)", 4:timesi.ttf, "Times New Roman1000"
S:SYMBOL.FOT, "Symbol (TrueType)", S:symbol.ttf, ""

Incompatible Driver Sections

Four sections for checking incompatible drivers and TSRs:

[compatibility] Section

Files listed here have their CONFIG.SYS commands removed during Setup.

[incompTSR1] Section

TSRs and drivers that prevent Setup from running. Must be removed from memory and AUTOEXEC.BAT/CONFIG.SYS before running Setup.

[incompTSR2] Section

TSRs and drivers that cause problems during Setup or when starting Windows.

[block_devices] Section

Block devices that are not compatible with Windows 3.1.

Miscellaneous Sections

[installable.drivers] Section

Multimedia driver specifications.

Format:

keyname= filename, types, description, VxDs, default_parameters

Complete Standard Entries:

[installable.drivers]
adlib= 3:adlib.drv,"MIDI","Ad Lib",4:vadlibd.386,
lapc1= 3:mpu401.drv,"MIDI","Roland LAPC1",,
midimapper= 4:midimap.drv,"MidiMapper","MIDI Mapper",,
mpu401= 3:mpu401.drv,"MIDI","Roland MPU401",,
sequencer= 4:mciseq.drv,"Sequencer","[MCI] MIDI Sequencer",,
soundblaster= 3:sndblst.drv,"Wave,MIDI","Creative Labs Sound Blaster 1.0",3:vsbd.386,,adlib
soundblaster2= 3:sndblst2.drv,"Wave,MIDI","Creative Labs Sound Blaster 1.5",3:vsbd.386,,adlib
timer= 5:timer.drv,"Timer","Timer",5:vtdapi.386,
thunder= 3:sndblst2.drv,"Wave,MIDI","Media Vision Thunder Board",3:vsbd.386,,adlib
wave= 4:mciwave.drv,"WaveAudio","[MCI] Sound",,,"4"

[translate] Section

OEM filename translations.

Example Entries:

[translate]
WinDiskName=25,"Microsoft Windows 3.0 Disk"
WinDiskName=14,"Windows Disk#"
*vddvga=2:vddvga30.386
cti1.lgo=2:herclogo.lgo
herclogo.rle=1:herclogo.rle
vddega=2:vddega.386
vgacolor.gr2=3:vgacolor.2gr
vgalogo.lgo=2:vgalogo.lgo
vgalogo.rle=2:vgalogo.rle
rgdi.lgo=2:vgalogo.lgo
rgdi.rle=2:vgalogo.rle
vga.gr3=1:vga30.3gr

[update.files] Section

Installable drivers to update if earlier versions are found.

Format:

location, filename

Location Values:

  • 0: = WINDOWS directory
  • O:system = SYSTEM subdirectory

Complete Standard Entries:

[update.files]
O:system,3:sndblst.drv
O:system,3:sndblst2.drv
O:system,3:adlib.drv
O:system,3:mpu401.drv
O:system,5:vtdapi.386
O:system,3:vsbd.386
O:system,4:vadlibd.386

[Update.Dependents] Section

Updates files dependent on those listed in [Update.Files].

Complete Standard Entries:

[Update.Dependents]
msadlib.drv = 4:vadlibd.386
sndblst.drv = 4:vsbd.386
sndblst2.drv = 4:vsbd.386

[ini.upd.patches] Section

Temporary INI file profile renaming during Setup.

Format:

ini_file, section, temporary_profile, original_profile

Example Entries:

[ini.upd.patches]
system.ini, Boot, "olddrivers","drivers"
win.ini, Desktop, "oldwallpaper","wallpaper"
system.ini, Boot, "oldtaskman","taskman.exe"

[blowaway] Section

Marks the end of installation information and start of configuration sections. Windows Mode Setup stops reading SETUP.INF here.

[ini.upd.31] Section

INI file updates for Windows 3.0 to 3.1 upgrade.

Format:

ini_file, section, OldEntry, NewEntry

Example Entries:

[ini.upd.31]
system.ini, 386Enh, "keyboard=*vkd"
system.ini, 386Enh, "device=*vpicd"
system.ini, 386Enh, "device=*blockdev"
system.ini, 386Enh, , "device=*pagefile"
win.ini, FontSubstitutes, , "Helv=MS Sans Serif"
win.ini, FontSubstitutes, , "Tms Rmn=MS Serif"
win.ini, FontSubstitutes, , "Courier=Courier New"
win.ini, FontSubstitutes, , "Times=Times New Roman"
win.ini, FontSubstitutes, , "Helvetica=Arial"

System Configuration Sections

[system] Section

Maps system short names to appropriate system files.

Complete Standard Entries:

[system]
system= 2:system.drv
sound= 1:mmsound.drv
comm= 1:comm.drv
hpsystem= 2:hpsystem.drv

[machine] Section

Installs appropriate system files for various machines.

Format:

keyname= description, system_drv, kbd_drv, kbd_type, mouse_drv, disp_drv, sound_drv, comm_drv, himem_switch, ebios, Cookz

Complete Field Definitions:

Field Description
——-————-
keyname Profile string for the system
description System description in quotes for Setup dialog
system_drv Short name for system driver from [system]
kbd_drv Short name for keyboard driver from [keyboard.drivers]
kbd_type Short name for keyboard type from [keyboard.types]
mouse_drv Mouse driver keyname from [pointing.device]
disp_drv Display driver keyname from [display]
sound_drv Sound driver name from [system]
comm_drv Communications driver name from [system]
himem_switch A20 handler number (1-8) for HIMEM.SYS extended memory access
ebios EBIOS support defined in [ebios]
Cookz [Cookz] section with INI file modification information

Important: Do not change the order of entries in [machine] section.

Example Entries:

[machine]
ibm_compatible= "MS-DOS System",system,kbd,t4s0enha,nomouse,egahires,sound,comm,,ebios,
ast_386_486= "AST: all 80386 and 80486 based machines",system,kbd,t4s0enha,nomouse,egahires,sound,comm,,ebios,ast_cookz
at_and_t= "AT&T PC",system,kbd,t4s0enha,nomouse,vgahires,sound,comm,,ebios,

[Cookz] Sections

Hardware-specific INI file modifications.

Available Cookz Sections:

[apm_cookz], [apm_sl_cookz], [ast_cookz], [everex_cookz], [ibm140_cookz], [ncr386sx_cookz], [nec_pm_cookz], [t5200_cookz], [zen386_cookz]

Format:

ini_file, section, cookie, needed_file

Example Entries:

[ast_cookz]
system.ini,386enh,"emmexclude=E000-EFFF",

[apm_cookz]
specialdriver,,,5:power.drv
system.ini,386enh, "device=vpowerd.386",5:vpowerd.386
,,,5:power.hlp

[special_adapter] Section

Support for special adapters requiring additional files.

Complete Standard Entries:

[special_adapter]
etherlink= DMAbuffersize,32    ; Needed if EtherLink MC is detected
cdrom= 2:lanman10.386         ; Needed for CD ROM extensions

[ebios] Section

Extended BIOS support files.

Complete Standard Entries:

[ebios]
ebios= x:*ebios           ; Required for most 386 machines
hpebios= 2:hpebios.386,x:*ebios  ; Required for HP 386 machines

[language] Section

Language support libraries.

Format:

keyname= language_DLL, DLL_description, language_ID

Complete Standard Entries:

[language]
dan= 2:langsca.dll, "Danish", 1030
nld= 2:langdut.dll, "Dutch", 1043
enu=, "English (American)", 1033
eng= 2:langeng.dll, "English (International)", 2057
fin= 2:langsca.dll, "Finnish", 1035
fra= 2:langfrn.dll, "French", 1036
frc= 2:langeng.dll, "French Canadian", 3084
deu= 2:langger.dll, "German", 1031
isl= 2:langsca.dll, "Icelandic", 1039
ita= 2:langeng.dll, "Italian", 1040
nor= 2:langsca.dll, "Norwegian", 1044
ptg= 2:langeng.dll, "Portuguese", 2070
esp= 2:langspa.dll, "Spanish (Classic)", 1034
esn= 2:langeng.dll, "Spanish (Modern)", 3082
sve= 2:langsca.dll, "Swedish", 1053

File Copying Mechanism Details

The SETUP.INF file copying system operates through these key mechanisms:

1. Destination Directories Definition:

[DestinationDirs]
DefaultDestDir    = 25, ""              ; Windows directory (e.g., C:\WINDOWS)
system            = 25, "system"         ; SYSTEM subdirectory
winabc            = 25, "winabc"         ; WINABC subdirectory
root              = 10, ""               ; Root directory (e.g., C:\)

Directory ID Codes:

  • 25 - Windows directory
  • 10 - Root directory of boot drive
  • 11 - System directory
  • 30 - Root directory of installation drive A:

2. Disk Number References: File references like

2:filename.ext

refer to disk numbers defined in [disks] section.

3. File Selection Process:

  1. Setup reads hardware configuration
  2. Matches configuration to [machine] section entries
  3. Resolves short names to actual files through related sections
  4. Copies files to destinations specified in [DestinationDirs]
  5. Updates dependencies through [Update.Dependents]

4. Example Resolution Chain:

[machine] entry: ast_386_486= ... ,system, ...
[system] section: system= 2:system.drv
[disks] section: 2=. ,"Microsoft Windows 3.1 Disk #2",disk2
Result: Copies system.drv from Disk #2 to appropriate directory

This comprehensive SETUP.INF reference provides complete documentation of all installation parameters and processes for Windows 3.1, ensuring accurate system configuration and software installation across all supported hardware platforms.