;*** Diamond Directive file ; ; ; scanning is not too slow .Set FolderSizeThreshold=200000 ; Aim for ~200K per folder .Set CompressionType=MSZIP ; Use the best compressor .Set CompressionLevel=7 ; Most intensive searching algorithm .Set CompressionMemory=800000 ; 4 times larger than folder limit, ; since this is an uncompressed size, ; whereas folder limit is a compressed, ; size, and we expect a compression ; ratio of 3:1 to 4:1. .Set InfFileHeader="[SourceDisksFiles]" .Set InfCabinetHeader="[SourceDisksNames]" .Set InfFileLineFormat='*file*=*disk#*,*Size*' .Set InfCabinetLineFormat='*cab#*="Custom Folder",*cabfile*,0' .Set MaxDiskSize=CDROM .Set DiskDirectory1=.\ .Set MaxErrors=0 ; Turn on cabinet mode, compression, and set the cab file name to build ; the precopy cabinet ; ; The remaing files should be compressed ; .Set Cabinet=on .Set Compress=on