home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Best of Select: Windows 95 Special 2
/
CD_1.iso
/
tips
/
setup95
/
setuphlp.txt
< prev
Wrap
Text File
|
1995-05-01
|
16KB
|
447 lines
This article discusses the Windows 95 Setup process and steps to
troubleshoot Setup problems.
Starting Setup
==============
Microsoft Windows 95 can upgrade Windows version 3.0 and higher and Windows
for Workgroups version 3.1 and higher. If you are using Windows 3.0, you
must run Setup from MS-DOS. If you are using Windows 3.1 or Windows for
Workgroups 3.1 or higher, you can run Setup from MS-DOS or Windows.
Windows 95 can upgrade MS-DOS, PC-DOS, or OEM-DOS version 3.2 and higher.
Setup Step-by-Step
==================
Understanding the steps that Setup performs may help you to troubleshoot
problems you encounter during the Setup process. Setup performs the
following steps:
Step 1 - Initializing Setup
---------------------------
In this step, Windows 95 prepares your computer for installation by
performing the following functions:
- If you run Setup from MS-DOS, Windows 95 searches the local hard
disk for a previous version of Windows 3.1 or later. If a previous
version is found, Setup recommends that you quit Setup and then run
Setup again from inside the existing Windows version.
- Setup checks for the minimum system configuration.
- Setup checks for an extended memory manager (such as HIMEM.SYS) and
a disk cache program (such as SMARTDRV.EXE). If either is not found,
Setup loads one.
- Setup checks for the presence of "dirty" or "deadly" terminate-and-
stay-resident programs (TSRs) that are known to cause problems with
Windows 95 Setup.
- If you run Setup from MS-DOS, Setup installs the necessary
components for mini-Windows. Setup stores these files in a
temporary directory it creates called WININST0.400.
- Setup starts the graphical user interface (GUI) and displays the
"Welcome to Setup" message. At this point, Setup switches the
processor into 386 enhanced mode and makes extended memory
available.
- If Setup finds an OLD_DOS.X directory, it asks you if you want
to delete this information to free hard disk space.
Step 2 - Preparation for Smart Recovery
---------------------------------------
If for any reason Setup does not finish and the computer needs to be
restarted, the following lines in the AUTOEXEC.BAT file prompt you to run
Setup again and choose the Smart Recovery option:
@if exist c:\wininst0.400\suwarn.bat call c:\wininst0.400\suwarn.bat
@if exist c:\wininst0.400\suwarn.bat del c:\wininst0.400\suwarn.bat
Step 3 - Read the SETUPLOG.TXT File
-----------------------------------
Setup reads the SETUPLOG.TXT file to see if Setup failed previously. If
Setup did fail previously, Setup prompts you to run Smart Recovery or to
continue using the Full Install option.
Step 4 - Gathering Information
------------------------------
Setup collects information from you (such as your name and the directory
in which to install Windows 95) and writes that information to the
SETUPLOG.TXT file for use when copying files.
Step 5 - Hardware Detection
---------------------------
Hardware detection is the most intense portion of Setup. Windows 95
maintains a database of known legacy (non-Plug and Play) devices and the
resources that they use. Setup polls all of these resources (I/O ports,
IRQs, DMA channels, memory addresses, and so on) and looks for responses to
determine what device is using each resource. If Setup detects a Plug and
Play device, it adds that device's configuration information to the
registry.
Setup creates the registry and puts the SYSTEM.NEW, USER.NEW, and
DETLOG.TXT files in the root directory of drive C. To help speed the
process of searching through the extensive .INF files, Setup uses two
indexing files, DRVIDX.BIN and DRVDATA.BIN, from the temporary directory
(WININST0.400).
Step 6 - Windows Components
---------------------------
When you select the components to install (or accept the default
components), Setup writes them to the SETUPLOG.TXT file with the other
Setup information.
Step 7 - Startup Disk
---------------------
If you chose to create a Startup Disk, Setup copies these files now. After
the Startup Disk is created, Setup uses the SETUPX.DLL file to create a
list of files to copy based on the components you chose earlier.
Step 8 - Finishing Setup
------------------------
After copying all the necessary files, Setup upgrades the existing copy of
Windows and replaces the existing MS-DOS version with the Windows 95
operating system. After Setup reaches 100% complete, it writes information
to the hard disk's master boot record (MBR) and renames the IO.SYS and
MSDOS.SYS files to IO.DOS and MSDOS.DOS. At this point you are prompted to
click the Finish button so that Setup can restart your computer and
complete the installation.
Step 9 - Configuring Hardware
-----------------------------
Setup updates the configuration files by running WININIT.EXE to process the
options in the WININIT.INI file. The WININIT.INI file tells Setup to create
the VMM32.VXD file and to rename the files that were used by Setup
initially but are no longer needed.
Step 10 - Run-Once
------------------
Setup runs the Run-Once module. This module is specified in the registry
and installs certain device configurations and printers, converts .GRP
files to Windows 95 format, sets the time and date, and sets up the Help
system for Windows 95.
Step 11 - Second Reboot
-----------------------
This step does not occur on all computers. Setup may restart your computer
a second time so that it can finalize the hardware settings. This extra
step lets Setup detect hardware that could not be detected during the
original hardware detection.
For example, if your computer contains a sound card with a built-in SCSI
controller, Setup detects the sound card and SCSI controller during the
initial hardware detection phase. Setup restarts your computer a second
time so that it can load the SCSI enumerator and detect whatever is
attached to the SCSI controller (such as a CD-ROM drive).
Troubleshooting Setup
=====================
Before you try any of the following steps, create a boot disk for your
current operating system. Copy any files you need to start your computer
(including the AUTOEXEC.BAT and CONFIG.SYS files) to the boot disk. Make
sure to include any necessary device driver files (such as a device driver
that gives you access to the hard disk). For instructions about how to
create a boot disk, please consult your operating system's documentation.
Clean Boot
----------
If you have problems installing Windows 95, you should first try a clean
boot. If no disk-compression software, disk partitioning software, or other
third-party driver is necessary to start your computer, follow these steps
to try a clean boot:
1. Rename the CONFIG.SYS file to CONFIG.XXX. To do so, type the following
line at a command prompt:
ren c:\config.sys c:\config.xxx
2. Rename the AUTOEXEC.BAT file to AUTOEXEC.XXX. To do so, type the
following line at a command prompt:
ren c:\autoexec.bat c:\autoexec.xxx
3. Restart your computer and run Setup again.
Setup from MS-DOS:
If disk partitioning, disk compression, or other third-party software
is required to start your computer, the AUTOEXEC.BAT and CONFIG.SYS
files should appear as follows:
CONFIG.SYS
--------------------------------------
FILES=45
BUFFERS=20
<Third-party disk partitioner>
<Third-party disk compression driver>
<Other required third-party driver>
SHELL=C:\<dir>\COMMAND.COM /E:1024 /P
AUTOEXEC.BAT
---------------
PROMPT $P$G
PATH=C:\DOS;C:\
Setup from Windows:
If disk partitioning, disk compression, or other third-party software
is required to start your computer, the AUTOEXEC.BAT and CONFIG.SYS
files should appear as follows:
CONFIG.SYS
--------------------------------------
FILES=45
BUFFERS=20
DEVICE=C:\<dir>\HIMEM.SYS
<Third-party disk partitioner>
<Third-party disk compression driver>
<Other third-party d