en:docs:win16:applications:setup

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
en:docs:win16:applications:setup [2025/10/21 06:01] – created prokusheven:docs:win16:applications:setup [2025/10/21 12:28] (current) prokushev
Line 1: Line 1:
-===== Windows 3.1 SETUP.INF Complete Reference =====+===== Windows SETUP.INF Complete Reference ===== 
 + 
 +===== Complete Windows Installation Guide ===== 
 + 
 +=== About the Setup Program === 
 +The Windows Setup program is located on Disk #1 of the Microsoft Windows disk set. The installation process consists of two main stages: 
 + 
 +  * **Stage 1: MS-DOS Mode Setup** 
 +    - The program evaluates the computer system configuration 
 +    - Requests verification of the detected information 
 +    - Copies basic Windows files to the system's hard disk 
 + 
 +  * **Stage 2: Windows Mode Setup** 
 +    - Loads the Windows operating system 
 +    - Installs the remaining system files 
 +    - Guides through a series of choices for installing printer drivers and other applications 
 + 
 +=== Running the Setup Program === 
 + 
 +**For initial installation:** 
 +  - Insert Windows Disk #1 into the floppy drive 
 +  - Switch to the appropriate drive letter (for example, A:) 
 +  - At the command prompt, type: setup 
 +  - Press the ENTER key 
 +  - Follow the instructions on your screen 
 +  - Use the F1 key for online help 
 + 
 +**For configuration changes:** 
 +  - Run Setup from Program Manager after Windows is installed 
 +  - Use to change system configuration 
 +  - Add or remove system files 
 + 
 +=== Command Line Parameters === 
 + 
 +| Parameter | Purpose | 
 +| /i | Ignores automatic hardware detection. The user will have to check settings and possibly make corrections on the System Information screen during Setup. | 
 +| /n | Sets up a shared copy of Windows from a network server. | 
 +| /a | Begins Administrative Setup by expanding and copying all files from the Windows installation disks onto a network server, and also marking the files as read-only. | 
 +| /b | Sets up Windows with monochrome display attributes. | 
 +| /t | Searches the drive for incompatible software that should not run at the same time as Setup or Windows. (For maintenance only.) | 
 +| /h:[filename] | Runs Batch Mode Setup to install Windows with little or no user interaction. The filename is the name of the system settings file that contains information about the user's configuration. | 
 +| /o:[filename] | Specifies the SETUP.INF file, including the path if filename is not in the directory that contains the Windows Setup files. | 
 +| /s:[filename] | Specifies the SETUP.INF file, including a path for the Windows installation disks. | 
 + 
 +**Help Tip:** To see a list of the switches available for Windows Setup, at the command prompt type setup /? and press ENTER. 
 + 
 +=== Express Setup vs. Custom Setup === 
 + 
 +**Express Setup:** 
 +  - Recommended for most standard installations 
 +  - Requires providing information only about printers and port connections 
 +  - Automatically detects the system hardware 
 + 
 +**Custom Setup:** 
 +  - Provides precise control over how Windows is set up 
 +  - Requires verification of information detected about the hardware and software in your system 
 +  - Allows selection of: 
 +    * The directory where you want the Windows files installed 
 +    * The computer system hardware, including the monitor, mouse, and keyboard 
 +    * The preferred language 
 +    * The network configuration, if any 
 +    * The printers and printer ports for the computer system 
 +    * The other applications you want to run with Windows 
 +    * The specific Windows components you want to install 
 + 
 +=== Custom Installation Strategies === 
 + 
 +**For single system:** 
 +  * Customize installation process: Choose Custom Setup at the first Setup prompt 
 +  * Customize after installation: Use Control Panel, Program Manager, and Windows Setup 
 + 
 +**For multiple systems:** 
 +  * Network installation: Use setup /a to copy files to the network server, then use setup /n to install a shared copy of Windows on the workstations 
 +  * Automated installation: Create custom system settings files and use setup /h 
 +  * Hardware list customization: Edit device entries in SETUP.INF for hardware, and edit printer entries in CONTROL.INF 
 +  * Application customization: Install custom applications, customize Windows applications installation, install custom PIFs during installation 
 + 
 +=== Critical Important Notes === 
 + 
 +  * Do not use the MS-DOS copy command to copy the Windows files from the Setup disks 
 +  * These files are compressed and cannot be used unless you run the Setup program 
 +  * Setup renames the compressed files during installation 
 +  * Files on your system that end with an underscore (_) are compressed and have not been installed properly 
 + 
 +==== Technical details ====
  
 ==== Introduction ==== ==== 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.+SETUP.INF is the master configuration file that controls every aspect of Windows installation. This comprehensive reference documents all sections, keys, and installation processes based on the original Windows Resource Kit documentation.
  
 ==== Installation Process Overview ==== ==== Installation Process Overview ====
Line 1069: Line 1153:
 The SETUP.INF file copying system operates through these key mechanisms: The SETUP.INF file copying system operates through these key mechanisms:
  
-**1. Destination Directories Definition:** 
-<code> 
-[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:\) 
-</code> 
- 
-**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 <code>2:filename.ext</code> refer to disk numbers defined in [disks] section. 
- 
-**3. File Selection Process:** 
-  - Setup reads hardware configuration 
-  - Matches configuration to [machine] section entries 
-  - Resolves short names to actual files through related sections 
-  - Copies files to destinations specified in [DestinationDirs] 
-  - Updates dependencies through [Update.Dependents] 
- 
-**4. Example Resolution Chain:** 
-<code> 
-[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 
-</code> 
  
-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.