Article ID: 83194 - View products that this article applies to.
This article was previously published under Q83194
A NEW SETUP PROGRAMThe Windows 3.1 Setup program has been changed substantially from the Windows 3.0 Setup program. Setup was changed in order to improve its ease of use and to give you more control over the setup process.
When upgrading your machine from Windows 3.0 to Windows 3.1, the setup process will maintain your group files, system drivers and settings, desktop settings, applications, type managers, and CONFIG.SYS file settings, including the order in which your device drivers are loaded. Windows 3.1 Setup will update existing Windows device drivers (if 3.1 has updated versions), add any new entries to your .INI files, and install TrueType fonts.
The Setup program also has a tutorial that will familiarize you with the Microsoft Windows operating system version 3.1 and show you how to use the mouse.
When you select the Setup Existing Applications option, Setup will prompt you to identify applications with identical filenames. This new feature allows Setup to create program information files (PIFs) for MS- DOS applications that use the same .EXE filename.
WHAT SETUP DOESWhen Setup is first invoked, it searches your system for memory- resident programs, such as device drivers or terminate-and-stay- resident (TSR) programs, which are known to cause problems with Setup or Windows 3.1. If Setup does detect a memory-resident program, it will advise you to remove that device driver or TSR program from your CONFIG.SYS or AUTOEXEC.BAT file, restart your system, and then start Setup again.
Setup will also check the available space on your hard drive. If Setup detects a lack of space for a full installation, it will provide an option for a partial installation of Windows. If the setup process does not complete for some reason (such as a power failure), you can start Setup again, and it will detect that the setup process has not been completed. At this point, Setup will offer suggestions on how to correct the condition that caused the previous setup to fail.
NEW SWITCHES FOR SETUPThe Windows 3.1 Setup program has new command-line switches in addition to those of the Windows 3.0 Setup program. The following is a list of the command-line switches that can be used with the Windows 3.1 Setup program:
setup /? -- Displays the Help dialog box and a list of available command-line switches.
setup /n -- Sets up a shared copy of Windows from a network server.
setup /i -- Disables the hardware detection that the Setup program normally performs. Using the setup /i option allows you to check the accuracy of the settings on the System Information screen and possibly make corrections.
setup /o:<filespec> -- Specifies the SETUP.INF file, where <filespec> is the name of the SETUP.INF file that will be used by Setup.
setup /s:<filepath> -- Specifies a path to the Setup disk, where <filepath> is the full path to the Setup disk.
setup /b -- Forces Setup to run in monochrome mode.
setup /t -- Causes Setup to search the drive for software that is incompatible and should not be run at the same time as Setup or Windows 3.1.
setup /c -- Turns off the search for memory-resident programs.
setup /a -- Starts an administrative Setup program that places Windows onto a network server. Setup expands and copies all the files on every disk to a given directory and then marks the files read-only.
setup /h:<filespec> -- Starts Batch Mode Setup, which requires little or no user interaction. <Filespec> is the name of the system settings file that contains your configuration settings. If <filespec> is not in the directory from which Windows is being set up, the path to it must also be included.
MODES OF WINDOWS SETUPThe Windows 3.1 Setup program has new setup modes, Express and Custom modes, as well as a new Batch Mode Setup feature that allows for automation of the setup procedure.
Express SetupThe Express Setup mode is new to Windows 3.1 and is the default installation mode. It automatically detects the system hardware and applies standard defaults to all other installation options. When upgrading from Windows 3.0 using Express Setup, the only entry requirement is your name. If using Express Setup for a new installation of Windows 3.1, you will be required to enter your name and select a printer, printer type, and printer port, if applicable.
Custom SetupThe Custom Setup mode is very similar to the Windows 3.0 Setup process, with some additional features. A custom installation allows you to have full control in selecting the Windows directory, system hardware, optional component installation, changes to the CONFIG.SYS and AUTOEXEC.BAT files, printer installation, and setup of existing applications. If you are upgrading from an existing 3.0 installation, some options, such as the Printer Installation dialog box, will not be selected by default, in order to preserve the existing drivers.
Batch Mode SetupThe Batch Mode Setup process is designed to simplify and speed up the installation of Windows 3.1 onto multiple machines that will be using the same or very similar configuration information. Batch Mode Setup uses the /h:<filespec> switch, as described above. Setup uses the information provided in the specified file to determine the configuration during the setup process; minimal user input is required. If hardware or setup options are not specified in the file, Batch Mode Setup will use defaults for these options and will perform automatic detection of the system's hardware. The file containing the configuration information typically has an extension of .SHH. Windows 3.1 includes a sample file, with explanatory comments, called SETUP.SHH that can be modified to meet your needs. For more information about the Batch Mode Setup program for Windows 3.1, see the Microsoft Windows Resource Kit. For more information, call the Microsoft Sales Information Center (MSIC) at (800) 426-9400.
Maintaining Windows with SetupOnce you have successfully installed Windows 3.1, you can use the Windows Setup program to update your installation whenever your hardware or software configuration changes. To update your Windows 3.1 installation, start Setup either from inside Windows or from the WINDOWS directory command prompt.
When you start Setup from the command prompt, you can change the Windows device drivers for your system hardware, change code page and language options, and install third-party Windows device drivers.
When you start Setup from within Windows, you can change the video, mouse, keyboard, and network drivers. You can also have Setup search your hard disk for applications and set up icons for any applications it finds. You can also use Setup to add or remove, completely or partially, the optional components that come with Windows 3.1. The following are the components that can be added or removed through Setup:
Wallpaper and sounds
The MS-DOS Portion of SetupThe first part of the Windows 3.1 setup process runs with MS-DOS. If the Setup program stops during this part of the installation, it may be due to one of the following problems:
The Windows Portion of SetupPartway through the installation, the setup process will switch from MS-DOS to Windows. Windows Setup will inform you that it is trying to start Windows. At the point where the Setup program switches from MS- DOS to Windows, the screen may go black and the machine may stop. The following are possible causes and their resolutions:
NONSTANDARD WINDOWS 3.0 DRIVERSIf you are using a nonstandard display driver, such as Super VGA, with Windows 3.0, you may receive an error message or encounter difficulty while starting Windows 3.1. The following are error messages that can be caused by an incompatible display driver:
will appear if the driver cannot be loaded.
Error loading VGA.DRV
NOTE: "VGA.DRV" will change to match the name of the currently installed display driver.
Error loading USER.EXE
can be caused by other nonstandard Windows drivers or components.
Error loading GDI.EXE
If you encounter any of these messages, you may need to exit Setup and run Setup within Windows 3.0 to return Windows 3.0 to a standard configuration. Once Windows 3.0 is at a standard configuration, run Windows 3.1 Setup. Contact your hardware manufacturer to see if there are any special concerns.
If none of the above steps allows Setup to install Windows 3.1 on your system, you may need to contact your hardware manufacturer for more information.
Article ID: 83194 - Last Review: February 7, 2002 - Revision: 1.0