HOW TO CREATE A VB6 PACKAGE EXCLUDING RUNTIME FILES

Create the normal VB6 installation package using
the VB6 Wizard. Create the package as a single
CAB file.

Locate the DDF file in the \Package\Support  folder

Make a copy of this file in a seperate folder for 
use when recreating a complete package including
the VB6 runtime files.

Modify the DDF file to remove the lines for the
runtime files

Example:

        .OPTION EXPLICIT
        .Set Cabinet=off
        .Set Compress=off
        .Set MaxDiskSize=CDROM
        .Set ReservePerCabinetSize=6144
        .Set DiskDirectoryTemplate=".."
        .Set CompressionType=MSZIP
        .Set CompressionLevel=7
        .Set CompressionMemory=21
        .Set CabinetNameTemplate="Simtel-VB6.CAB"
        "Setup.Lst"
        "setup.exe"
        .Set Cabinet=on
        .Set Compress=on
        "Simtel-VB6.exe"
        "Msvbvm60.dll"     (remove this line)
        "OLEAUT32.DLL"     (remove this line)
        "OLEPRO32.DLL"     (remove this line)
        "ASYCFILT.DLL"     (remove this line)
        "STDOLE2.TLB"      (remove this line)
        "COMCAT.DLL"       (remove this line)
        "SETUP1.EXE"
        "VB6STKIT.DLL"
        "ST6UNST.EXE"


Also located in the \Package\Support folder will be a BAT
file

Run the BAT file

A new \PACKAGE\*.CAB   \PACKAGE\*.LST  file will be
created

Locate the new .LST file in the \PACKAGE folder

Modify the .LST file and comment out the
BOOTSTRAP FILE lines

EXAMPLE:

[Bootstrap Files]
;File1=@VB6STKIT.DLL,$(WinSysPathSysFile),,,6/18/98 12:00:00 AM,102912,6.0.81.69
;File2=@COMCAT.DLL,$(WinSysPathSysFile),$(DLLSelfRegister),,5/31/98 12:00:00 AM,22288,4.71.1460.1
;File3=@STDOLE2.TLB,$(WinSysPathSysFile),$(TLBRegister),,7/21/98 1:14:54 PM,17920,2.30.4261.1
;File4=@ASYCFILT.DLL,$(WinSysPathSysFile),,,7/21/98 1:14:46 PM,147728,2.30.4261.1
;File5=@OLEPRO32.DLL,$(WinSysPathSysFile),$(DLLSelfRegister),,7/21/98 1:14:52 PM,164112,5.0.4261.1
;File6=@OLEAUT32.DLL,$(WinSysPathSysFile),$(DLLSelfRegister),,7/21/98 1:14:48 PM,598288,2.30.4261.1
;File7=@Msvbvm60.dll,$(WinSysPathSysFile),$(DLLSelfRegister),,6/25/98 12:00:00 AM,1409024,6.0.81.76


To rebuild the complete installation package including
the runtime files...
Copy the saved DDF file into the \PACKAGE\SUPPORT folder
Run the \PACKAGE\SUPPORT\*.BAT  file
The original \PACKAGE\*.CAB  and  \PACKAGE\*.CAB file will 
be recreated
