             R. Loew Electronics Slipstream Builder Scripts

                           Version 1.3

                           08/27/2011

                     Copyright (C) 2010-2011
                       by Rudolph R. Loew




The R. Loew Electronics Slipstream Builder Scripts provide a semiautomated
procedure for Slipstreaming Updates into a Windows 9x Installation CD.



REQUIREMENTS

Windows 98, 98SE or ME.
XFILE Package with XFILE Installed in PATH.
EXTRACT.EXE in PATH.
Windows Installation CD for Version to be Slipstreamed.



CONTENTS

SPLIT.BAT       Build set of Despanned CAB Files and Links
SPLIT1.BAT      Build 1 Despanned CAB File (used by SPLIT.BAT)
SPLIT95.BAT     Windows 95 Version of SPLIT.BAT
SPLIT195.BAT    Windows 95 Version of SPLIT1.BAT
SPLITME.BAT     Windows ME Version of SPLIT.BAT
SPLIT1ME.BAT    Windows ME Version of SPLIT1.BAT
SPLITMS.BAT     MSZIP Version of SPLIT.BAT
SPLIT1MS.BAT    MSZIP Version of SPLIT1.BAT
BUILD.BAT       Build Updates and keep only modified CABs.
BUILD1.BAT      Build Updates for 1 CAB (Used by BUILD.BAT)
BUILDF.BAT      Build Updates and keep all CABs.
BUILD95.BAT     Windows 95 Version of BUILD.BAT
BUILD195.BAT    Windows 95 Version of BUILD1.BAT
BUILD95F.BAT    Windows 95 Version of BUILDF.BAT
BUILDMS.BAT     MSZIP Version of BUILD.BAT
BUILD1MS.BAT    MSZIP Version of BUILD1.BAT
BUILDMSF.BAT    MSZIP Version of BUILDF.BAT
CABLINKS.EXE    Cabinet Link Extractor
MERGECAB.EXE    Cabinet and Link Merger
CABARC.EXE      Cabinet Builder
DIAMOND.EXE     Cabinet Builder for Windows 95
BASE.DDF        Base DDF File for DIAMOND Compressor.
MANUAL.TXT      Users Manual



INSTALLATION

XFILE.EXE from the XFILE Package must be installed in a PATH Folder.
None required. Optionally Executables can be copied to a PATH Folder.



WINDOWS 95

Windows 95 uses different Compression than Windows 98, 98SE or ME.
Use SPLIT95, BUILD95 and BUILD95F instead of SPLIT, BUILD or BUILDF.



WINDOWS ME

Due to a bug in CABARC use SPLITME instead of SPLIT. Use BUILD or BUILDF as
for Windows 98 and 98SE.



MSZIP

MSZIP is Microsoft's Standard Compression and is recognized by all Windows
Versions. It is faster to Compress than the others but produces larger files.
Use SPLITMS, BUILDMS and BUILDMSF instead of SPLIT, BUILD or BUILDF to use
MSZIP with any Version of Windows.



SETUP

1. Create a Work Folder for each Project or Windows Version.
2. Copy Scripts (*.BAT) and BASE.DDF into this Folder.
3. If the Executables are not placed in a PATH Folder, copy them to this
   Folder also. Current Directory "." must be in the PATH.
4. Create Directory named "RAW" in this Folder.
5. Copy all of the CAB Files from your Windows 98, 98SE, or ME Installation
   CD's Main Folder WIN98 (98 and 98SE) or WIN9X (ME) into the RAW Folder.

   or

   Copy the WIN*.CAB, PRECOPY*.CAB and Optionally the MINI.CAB File from the
   Windows 95 Installation CD's Main Folder WIN95 into the RAW Folder.
   MINI.CAB can be copied if you intend to modify it.

   CAUTION: Not all other CABS in the WIN95 Folder can be processed by these
            Scripts. Contact Author for further information.

6. CD into the Work Folder.
7. Run SPLIT, SPLIT95, SPLITME or SPLITMS to Despan the CABs and create the
   Links.
8. Create Directory named "MODS" in this Folder.
9. Repeat these steps for each Project.

Despanned CABs cannot be mixed with Spanned CABs. All CABs must be replaced
on the CD if any of the Despanned CABs are used. Windows 95 CAB Files not
mentioned in the Setup are not Spanned with the ones that are listed and
do not need be updated.



UPDATES

Update Files that replace or Patch existing Files are placed in the MODS
Folder. These will replace all instances of the same name except in the
MINI.CAB File. The MINI.CAB Files contains different Versions of some files,
so any Changes to them must be explicitly specified by creating a
MODS\MINI.CAB Folder and placing the Update File in it. If an Update is to a
File in the CD's Installation Folder but not in a CAB File, create a
MODS\FOLDER Folder and place the update in it. Choosing a specific CAB File
to Update can be done by Creating a MODS\Cabname Folder and placing the File
in it. It is generally not necessary to specify CABs for update, except
MINI.CAB, as duplicate names contain the same data. Cabname includes the .CAB
Extension (ex. MODS\PRECOPY.CAB). If an Update does not change any Data, it
will be ignored and the Datestamp will not be changed. If you want the
Datestamp to be updated even if the Update has the same Data, place the
Update File in MODS\FORCE or MODS\FORCE\Cabname instead of MODS or
MODS\Cabname.



ADDITIONS

Since Added Files must be placed in a specific CAB or in the CD's
Installation Folder, they are added as follows:

Create a Folder MODS\CABNAME where CABNAME is the full name of the intended
CAB File (ex. MINI.CAB) or MODS\FOLDER if the Installation Folder is the
Target.

Place the New File in this Folder.



DELETIONS

Create a MODS\DELETE Folder and place Files to be Deleted in this Folder.
The File must match the File to be Deleted. If the File is to be Deleted from
a specific CAB File or from the MINI.CAB File, Create a MODS\DELETE\CABNAME
Folder and place the File there. In this case the File does not have to
Match as only the Name is used. There is no option to Delete Files from the
Installation Folder. You need to remove these files from the CD Image Folder
before Burning.



SETUP FILES

Certain .INF Setup Files may need to be modified to properly handle the
Installation of any Mods. There is more than one of some types so they
are referred to with a Wildcard in the following Instructions. Any modified
Setup files need to be added to the MODS Folder along with the Updates.

The [DOSAppVersion] Section of the LAYOUT.INF File lists the Files used by
the Installer that are not in CAB Files.

Updated files that change the size of the File should have their entries
updated in the appropriate LAYOUT*.INF File.

Added Files need to be added to the appropriate LAYOUT*.INF, COPY*.INF,
and SUBASE.INF, or SETUP*.INF Files. The easiest way is to find all
occurances of related File Names of the same Type (ex. VXDLDR.VXD for
NTKERN.VXD) and add corresponding entries for the Added Files. The
LAYOUT*.INF Files contain the Name, Cabinet Number and Size of Files. The
COPY*.INF Files contain the Name and Destination Folder for Files. SUBASE.INF
and the SETUP*.INF Files contain the Scripts that load Files during
Installation. If the Added File needs to be Added during Installation, then
these Files need to be Modified accordingly. Some Files may be loaded by
other INF Files and these need to be Modified as well.

Deleted Files should have their Entries removed from the LAYOUT*.INF,
COPY*.INF, DEL*.INF, and SUBASE.INF or SETUP*.INF Files and possibly others.



BUILD SLIPSTREAM CABS

After all Modifications have been placed in the MODS Directory Tree you can
run BUILD, BUILD95 or BUILDMS, to construct the Modified CABS. The CABS will
be placed in the DIFF Folder. CABS that are unchanged will be Deleted.

Use the BUILDF, BUILD95F or BUILDMSF, Scripts if you want to keep all of the
CABS, changed and unchanged. Unchanged CABS have been rebuilt so they will
have new TimeStamps. If you want to distinguish the Modified CAB Files from
the Unmodified Despanned CABs, do not use these Commands. Instead, use the
BUILD, BUILD95 or BUILDMS ScriptsCopy the Unmodified Despanned CABs from the
CABS Folder to your CD Image and then copy the Modified CABs from the DIFF
Folder over them.



CREATE SLIPSTREAMED CD

1. Extract all of the files from the Windows Installation CD used when
   Creating this particular Project or use a previously made Backup.
2. If you want to distinguish Modified CABs from Unmodified CABs, copy all
   of the Files from the CABS Folder in this Project over the Files in the
   CD Images's Install Folder (WIN95, WIN98, or WIN9X). This can also be
   helpful in reducing Copying if making multiple Versions.
3. Backup or Copy the CD Image Folder as needed for other Projects.
4. If you have performed Step 2, you can copy the Changed Files from the
   Projects DIFF Folder to the CD Images's Install Folder (WIN95, WIN98, or
   WIN9X). If you did not perform Step 2, you will need to copy the
   Unmodified Files as well (requires BUILDF, BUILD95F or BUILDMSF). Or you
   can perform    Step 2 now and then add the modified Files as above.
5. Make any other modifications to the CD Image.
6. Burn the CD.



MODS FOLDER

The MODS Folder in the Project holds the Files used to modify the Despanned
CAB Files in the CABS Folder and places the results in the DIFF Folder. This
Directory optionally contains SubFolders for various specific purposes. The
Folders are as follows:

MODS          Files to be Changed/Updated in any CAB(s) except MINI.CAB.
MODS\Cabname  Files to be Added/Changed/Updated in a specific CAB File.
MODS\FOLDER   Files to be Added/Changed/Updated in the Installation Folder.
MODS\DELETE          Files to be Deleted in any CAB(s) except MINI.CAB.
MODS\DELETE\Cabname  Files to be Deleted in a specific CAB File.
MODS\FORCE           Files to be Updated in any CAB(s) except MINI.CAB.
MODS\FORCE\Cabname   Files to be Added/Updated in a specific CAB File.

Cabname is the name of the Specified CAB File including the .CAB Extension.

Files in the MODS\DELETE\Cabname Folder(s) are used only to Match Names and
do not have to be Identical to the File being Deleted.

Files in the MODS\FORCE or MODS\FORCE\Cabname Folders will Update the
Timestamp of Files even if they are Identical.



SLIPSTREAMABLE PRODUCTS

PATCHMEM  RAM Limitation Patch

PATCHATA  High Capacity Disk Patch

SATA      SATA Support Patch

1TB       TeraByte Bug Patch

USB       Generic USB Support

TBPLUS    TeraByte Plus Large Disk Package



RELATED PRODUCTS

PREINST   Pre-Installed Windows Install CD



CONTACT INFORMATION

Rudolph R. Loew
506 Bieling Rd.
Elmont, NY 11003

1-516-352-9078

RLoew@hotmail.com

Website:  http://rloew1.no-ip.com

IP = conference.no-ip.org  PORT = 8192  (Conference Console)
