If you do not need to have all of the functionality that Windows NT provides, you can reduce the amount of disk space required for your installation of Windows NT by modifying the Setup script files so that supporting files for functionality you do not want are not installed. It is possible, for example, to save several megabytes of disk space by excluding help files, NTBACKUP.EXE (tape backup), Windows NT sequence files (.SEQ), and infrequently-used programs. However, it is important that you do not exclude files that are required for the functioning of Windows NT. Refer to Chapter 4, "Windows NT Files," for information on the files you are thinking about excluding. Chapter 4 describes the function of each file and helps to identify which ones you can safely exclude.
To exclude a file you must first comment out the filename in the DOSNET.INF file by prepending the appropriate line in the [Files] section with a pound sign (#). In the following example, EXE2BIN.EXE has been excluded:
[Files]
...
d1,EXEBYTE2.SYS
# d1,EXE2BIN.EXE
d1,EXPAND.EXE
Next, if the file is listed in the INITIAL.INF file, comment out all occurrences of the file by adding a semicolon (;) to the beginning of the appropriate line(s).
Note Some files are listed more than once in the INITIAL.INF file. To exclude these files you must comment out both occurrences. If you comment out only one of them, Setup displays an error message. Use the searching capability of your text editor to verify that you have commented out all occurrences of any file you want to exclude.
In the following example, the line "2,EXE2BIN.EXE , SIZE=8424" has been commented out in the INITIAL.INF file:
[Files-I386-nt-system]
...
2,EVENTVWR.EXE , SIZE=204676
;2,EXE2BIN.EXE , SIZE=8424
2,EXPAND.EXE , SIZE=39284
In the TXTSETUP.SIF file, comment out the file by inserting a semicolon (;) at the beginning of the appropriate line in the [Files] section. Four lines have been commented out in the following example:
[Files]
...
d2,MSMAIL32.HLP,2
d2,PERFMON.HLP,2
;d2,PIFEDIT.HLP,2
;d2,PRINTMAN.HLP,2
;d2,PROGMAN.HLP,2
d2,RASSETUP.HLP,2
;d2,REGEDT32.HLP,2
d2,SCHDPL32.HLP,2
Note The findstr command can help you find out which files contain the name of a file you want to exclude.