home *** CD-ROM | disk | FTP | other *** search
/ The Best of Select: Windows 95 Special 2 / CD_1.iso / tips / setup95 / setuphlp.txt < prev   
Text File  |  1995-05-01  |  16KB  |  447 lines

  1.  
  2. This article discusses the Windows 95 Setup process and steps to
  3. troubleshoot Setup problems.
  4.  
  5.                            
  6. Starting Setup
  7. ==============
  8.  
  9. Microsoft Windows 95 can upgrade Windows version 3.0 and higher and Windows
  10. for Workgroups version 3.1 and higher. If you are using Windows 3.0, you
  11. must run Setup from MS-DOS. If you are using Windows 3.1 or Windows for
  12. Workgroups 3.1 or higher, you can run Setup from MS-DOS or Windows.
  13.  
  14. Windows 95 can upgrade MS-DOS, PC-DOS, or OEM-DOS version 3.2 and higher.
  15.  
  16. Setup Step-by-Step
  17. ==================
  18.  
  19. Understanding the steps that Setup performs may help you to troubleshoot
  20. problems you encounter during the Setup process. Setup performs the
  21. following steps:
  22.  
  23. Step 1 - Initializing Setup
  24. ---------------------------
  25.  
  26. In this step, Windows 95 prepares your computer for installation by
  27. performing the following functions:
  28.  
  29.  - If you run Setup from MS-DOS, Windows 95 searches the local hard
  30.    disk for a previous version of Windows 3.1 or later. If a previous
  31.    version is found, Setup recommends that you quit Setup and then run
  32.    Setup again from inside the existing Windows version.
  33.  
  34.  - Setup checks for the minimum system configuration.
  35.  
  36.  - Setup checks for an extended memory manager (such as HIMEM.SYS) and
  37.    a disk cache program (such as SMARTDRV.EXE). If either is not found,
  38.    Setup loads one.
  39.  
  40.  - Setup checks for the presence of "dirty" or "deadly" terminate-and-
  41.    stay-resident programs (TSRs) that are known to cause problems with
  42.    Windows 95 Setup.
  43.  
  44.  - If you run Setup from MS-DOS, Setup installs the necessary
  45.    components for mini-Windows. Setup stores these files in a
  46.    temporary directory it creates called WININST0.400.
  47.  
  48.  - Setup starts the graphical user interface (GUI) and displays the
  49.    "Welcome to Setup" message. At this point, Setup switches the
  50.    processor into 386 enhanced mode and makes extended memory
  51.    available.
  52.  
  53.  - If Setup finds an OLD_DOS.X directory, it asks you if you want
  54.    to delete this information to free hard disk space.
  55.  
  56. Step 2 - Preparation for Smart Recovery
  57. ---------------------------------------
  58.  
  59. If for any reason Setup does not finish and the computer needs to be
  60. restarted, the following lines in the AUTOEXEC.BAT file prompt you to run
  61. Setup again and choose the Smart Recovery option:
  62.  
  63.    @if exist c:\wininst0.400\suwarn.bat call c:\wininst0.400\suwarn.bat
  64.    @if exist c:\wininst0.400\suwarn.bat del c:\wininst0.400\suwarn.bat
  65.  
  66. Step 3 - Read the SETUPLOG.TXT File
  67. -----------------------------------
  68.  
  69. Setup reads the SETUPLOG.TXT file to see if Setup failed previously. If
  70. Setup did fail previously, Setup prompts you to run Smart Recovery or to
  71. continue using the Full Install option.
  72.  
  73. Step 4 - Gathering Information
  74. ------------------------------
  75.  
  76. Setup collects information from you (such as your name and the directory
  77. in which to install Windows 95) and writes that information to the
  78. SETUPLOG.TXT file for use when copying files.
  79.  
  80. Step 5 - Hardware Detection
  81. ---------------------------
  82.  
  83. Hardware detection is the most intense portion of Setup. Windows 95
  84. maintains a database of known legacy (non-Plug and Play) devices and the
  85. resources that they use. Setup polls all of these resources (I/O ports,
  86. IRQs, DMA channels, memory addresses, and so on) and looks for responses to
  87. determine what device is using each resource. If Setup detects a Plug and
  88. Play device, it adds that device's configuration information to the
  89. registry.
  90.  
  91. Setup creates the registry and puts the SYSTEM.NEW, USER.NEW, and
  92. DETLOG.TXT files in the root directory of drive C. To help speed the
  93. process of searching through the extensive .INF files, Setup uses two
  94. indexing files, DRVIDX.BIN and DRVDATA.BIN, from the temporary directory
  95. (WININST0.400).
  96.  
  97. Step 6 - Windows Components
  98. ---------------------------
  99.  
  100. When you select the components to install (or accept the default
  101. components), Setup writes them to the SETUPLOG.TXT file with the other
  102. Setup information.
  103.  
  104. Step 7 - Startup Disk
  105. ---------------------
  106.  
  107. If you chose to create a Startup Disk, Setup copies these files now. After
  108. the Startup Disk is created, Setup uses the SETUPX.DLL file to create a
  109. list of files to copy based on the components you chose earlier.
  110.  
  111. Step 8 - Finishing Setup
  112. ------------------------
  113.  
  114. After copying all the necessary files, Setup upgrades the existing copy of
  115. Windows and replaces the existing MS-DOS version with the Windows 95
  116. operating system. After Setup reaches 100% complete, it writes information
  117. to the hard disk's master boot record (MBR) and renames the IO.SYS and
  118. MSDOS.SYS files to IO.DOS and MSDOS.DOS. At this point you are prompted to
  119. click the Finish button so that Setup can restart your computer and
  120. complete the installation.
  121.  
  122. Step 9 - Configuring Hardware
  123. -----------------------------
  124.  
  125. Setup updates the configuration files by running WININIT.EXE to process the
  126. options in the WININIT.INI file. The WININIT.INI file tells Setup to create
  127. the VMM32.VXD file and to rename the files that were used by Setup
  128. initially but are no longer needed.
  129.  
  130. Step 10 - Run-Once
  131. ------------------
  132.  
  133. Setup runs the Run-Once module. This module is specified in the registry
  134. and installs certain device configurations and printers, converts .GRP
  135. files to Windows 95 format, sets the time and date, and sets up the Help
  136. system for Windows 95.
  137.  
  138. Step 11 - Second Reboot
  139. -----------------------
  140.  
  141. This step does not occur on all computers. Setup may restart your computer
  142. a second time so that it can finalize the hardware settings. This extra
  143. step lets Setup detect hardware that could not be detected during the
  144. original hardware detection.
  145.  
  146. For example, if your computer contains a sound card with a built-in SCSI
  147. controller, Setup detects the sound card and SCSI controller during the
  148. initial hardware detection phase. Setup restarts your computer a second
  149. time so that it can load the SCSI enumerator and detect whatever is
  150. attached to the SCSI controller (such as a CD-ROM drive).
  151.  
  152. Troubleshooting Setup
  153. =====================
  154.  
  155. Before you try any of the following steps, create a boot disk for your
  156. current operating system. Copy any files you need to start your computer
  157. (including the AUTOEXEC.BAT and CONFIG.SYS files) to the boot disk. Make
  158. sure to include any necessary device driver files (such as a device driver
  159. that gives you access to the hard disk). For instructions about how to
  160. create a boot disk, please consult your operating system's documentation.
  161.  
  162. Clean Boot
  163. ----------
  164.  
  165. If you have problems installing Windows 95, you should first try a clean
  166. boot. If no disk-compression software, disk partitioning software, or other
  167. third-party driver is necessary to start your computer, follow these steps
  168. to try a clean boot:
  169.  
  170. 1. Rename the CONFIG.SYS file to CONFIG.XXX. To do so, type the following
  171.    line at a command prompt:
  172.  
  173.       ren c:\config.sys c:\config.xxx
  174.  
  175. 2. Rename the AUTOEXEC.BAT file to AUTOEXEC.XXX. To do so, type the
  176.    following line at a command prompt:
  177.  
  178.       ren c:\autoexec.bat c:\autoexec.xxx
  179.  
  180. 3. Restart your computer and run Setup again.
  181.  
  182. Setup from MS-DOS:
  183.  
  184. If disk partitioning, disk compression, or other third-party software
  185. is required to start your computer, the AUTOEXEC.BAT and CONFIG.SYS
  186. files should appear as follows:
  187.  
  188.    CONFIG.SYS
  189.    --------------------------------------
  190.    FILES=45
  191.    BUFFERS=20
  192.    <Third-party disk partitioner>
  193.    <Third-party disk compression driver>
  194.    <Other required third-party driver>
  195.    SHELL=C:\<dir>\COMMAND.COM  /E:1024 /P
  196.  
  197.    AUTOEXEC.BAT
  198.    ---------------
  199.    PROMPT $P$G
  200.    PATH=C:\DOS;C:\
  201.  
  202. Setup from Windows:
  203.  
  204. If disk partitioning, disk compression, or other third-party software
  205. is required to start your computer, the AUTOEXEC.BAT and CONFIG.SYS
  206. files should appear as follows:
  207.  
  208.    CONFIG.SYS
  209.    --------------------------------------
  210.    FILES=45
  211.    BUFFERS=20
  212.    DEVICE=C:\<dir>\HIMEM.SYS
  213.    <Third-party disk partitioner>
  214.    <Third-party disk compression driver>
  215.    <Other third-party d