Integrating Microsoft Windows 95 Service Pack 1 into Netsetup

ID: Q145603

The information in this article applies to:

SUMMARY

This article describes how to integrate Microsoft Windows 95 Service Pack 1 components into an installation of Microsoft Windows 95 in which you used an MSBATCH.INF file.

This article assumes you have already used the Netsetup.exe tool to create an administrative installation of Windows 95. This administrative installation folder is referred to in this article as the Netsetup distribution folder. This article also refers to using the Infinst.exe tool to integrate Setup .inf files into an Msbatch.inf file. This tool is located in the Admin\Nettools\Netsetup folder on the Windows 95 CD, or with Microsoft Windows 95 Service Pack 1 in the Admin\Tools\Infinst folder. Refer to the Infinst.txt file for Infinst.exe usage instructions.

For information about obtaining Microsoft Windows 95 Service Pack 1, please see the following article in the Microsoft Knowledge Base:

   ARTICLE-ID: Q142794
   TITLE     : Availability of Microsoft Windows 95 Service Pack 1

MORE INFORMATION

To integrate Microsoft Windows 95 Service Pack 1 into a Windows 95 Netsetup installation, follow these steps:

Installing the File Updates

To install the Windows 95 updated files, follow these steps:

1. Start Microsoft Windows Explorer and double-click the INF Installation

   Tool (Infinst.exe) to run it.

2. Click Set Path and type the path for the Netsetup distribution folder.

3. Click Install Inf and change to the Admin\Componts\Updates\Netsetup

   folder on the Service Pack CD.

4. Click the Updates1.inf file and then click OK. This copies and modifies
   the necessary files to integrate the Service Pack with an automated
   installation.

Running Infinst.exe updates the following files in the Netsetup distribution folder.

   File name       Folder
   ----------------------------------------

   Comdlg32.dll    System
   Exchng32.exe    Progra~1\Micros~1
   Lpt.vxd         System
   Mapi.dll        System
   Mapi32.dll      System
   Mapisvc.inf     System
   Msfs32.dll      System
   Mspwl32.dll     System
   Net.exe         Root of Netsetup
   Nwserver.vxd    System
   Ole32.dll       System
   Qfecheck.exe    Root of Netsetup
   Qfecheck.hlp    Help
   Sage.dll        System
   Updates1.inf    Root of Netsetup and INF
   Shell32.dll     System
   Vredir.vxd      System
   Vserver.vxd     System
   Wgpoadmn.dll    System
   Wmsui32.dll     System

Running Infinst.exe also adds the following entries to the Custom.inf file, which is located in the root of the Netsetup distribution folder:

   [Version]
   LayoutFile=layout.inf
   Signature="$CHICAGO$"

   [Custom_Precopy]
   CopyFiles=PrecopyFiles

   [DestinationDirs]
   PrecopyFiles=2

   [PrecopyFiles]
   UPDATES1.INF

   [load_inf]
   UPDATES1.INF

The Custom.inf file is used during the Windows 95 Setup process to load the Updates1.inf file, which makes modifications to the registry and controls copying the updated files to the workstation running Windows 95.

NOTE: If you are running shared installations of Windows 95 in which the source files are run on the server, all users must log off of Windows 95 before installing the updates. If users are not logged off the server, files that are in use are not updated.

Installing Word Viewer, Infrared Drivers, Internet Explorer 2.0

Word Viewer, infrared drivers, and Internet Explorer 2.0 can all be installed by placing Runonce entries in the Msbatch.inf file. This runs the Setup program for the update after you first restart the Windows 95 Setup process. The syntax for Runonce entries is the following:

   [Install]
   Addreg=<Section.Name>

   [<Section.Name>]
   HKLM,Software\Microsoft\Windows\CurrentVersion\RunOnce\Setup,
   "<Description>",,"<Executable>"

<Section.Name> should be replaced with an arbitrary name describing the component you are installing.

<Description> should be replaced with a description that will be displayed when the Runonce entries are run. This can be any name or phrase.

<Executable> should be replaced with a path to the Setup program for the component you want to install.

The following table lists the Service Pack components and their associated Setup programs.

   Component                  Setup program
   -----------------------------------------------------------------

   Word Viewer                \\<Server>\<Share>\Wordview\Setup.exe
   Infrared Driver            \\<Server>\<Share>\Infrared\Setup.exe
   Internet Explorer Update   \\<Server>\<Share>\Internet\Msie20.exe

When you install multiple components in one Msbatch.inf file, place each component section on the "Addreg=" line and separate them with commas, for example:

   [Install]
   Addreg=Word.Viewer,Infrared,Internet.Explorer

   [Word.Viewer]
   HKLM,Software\Microsoft\Windows\CurrentVersion\RunOnce\Setup, "Install
   WordViewer",,"\\Server\Admin\Componts\Wordview\Setup.exe"

   [Infrared]
   HKLM,Software\Microsoft\Windows\CurrentVersion\RunOnce\Setup, "Install
   Infrared",,"\\Server\Admin\Componts\Infrared\Setup.exe"

   [Internet.Explorer]
   HKLM,Software\Microsoft\Windows\CurrentVersion\RunOnce\Setup, "Install
   Internet Explorer", ,"\\Server\Admin\Componts\Internet\Msie20.exe"

Installing SLIP and Dial-Up Scripting

To install support for serial line Internet protocol (SLIP) and the Dial-Up Scripting tools, follow these steps:

1. Run Infinst.exe to integrate the Rnaplus.inf file into your Msbatch.inf

   file. Infinst.exe modifies the Msbatch.inf, Custom.inf, and Layout.inf
   files and copies the appropriate files to the Netsetup distribution
   folder. The Rnaplus.inf file is located in the Admin\Componts\Dscript\ 
   Netsetup folder of the Service Pack.

2. Modify the Layout.inf file.

   The following entries should be removed from the Layout.inf file:

      SCRIPTER.EXE=1,%OEM_PROGRAMF%\%OEM_ACCESSOR%,11
      SLIP.SCP=1,%OEM_PROGRAMF%\%OEM_ACCESSOR%,11
      CIS.SCP=1,%OEM_PROGRAMF%\%OEM_ACCESSOR%,11
      PPPMENU.SCP=1,%OEM_PROGRAMF%\%OEM_ACCESSOR%,11
      SLIPMENU.SCP=1,%OEM_PROGRAMF%\%OEM_ACCESSOR%,11
      SCRIPT.DOC=1,%OEM_PROGRAMF%\%OEM_ACCESSOR%,11

   The following entries should be added to the Layout.inf file:

      SCRIPTER.EXE=1,PROGRA~1\ACCESS~1,11
      SLIP.SCP=1,PROGRA~1\ACCESS~1,11
      CIS.SCP=1,PROGRA~1\ACCESS~1,11
      PPPMENU.SCP=1,PROGRA~1\ACCESS~1,11
      SLIPMENU.SCP=1,PROGRA~1\ACCESS~1,11
      SCRIPT.DOC=1,PROGRA~1\ACCESS~1,11

NOTE: Make sure that all three Layout.inf files are modified. The Layout.inf file exists in the root of the Netsetup distribution folder, the Suwin folder, and the Inf folder.

REFERENCES

For additional information about .inf file syntax, Netsetup.exe, and Msbatch.inf usage, refer to Appendixes C and D of the Microsoft Windows 95 Resource Kit.

Additional query words: 95 push script

Keywords          : winbatch win95 msiew95 servicepack1 
Version           : 95
Platform          : WINDOWS
Issue type        : kbhowto

Last Reviewed: September 3, 1997