The order in the MSI file specifies the order of the installation files, which should be consistent with the order of the compressed files in the CAB, otherwise the files cannot be found.
How to compress files in the specified order?
CABARC and DDF configuration files need to be used to create CAB files.
Cabarc can be downloaded from Microsoft's website (cabsdk).
Ddf file contains configuration information and file list:
. Option explicit
. Set CompressionType=MSZIP
. Set UniqueFiles="off "
. Set cabinet = On
. Set MaxDiskSize=CDROM.
. Set MaxCabinetSize=0
. Set FolderFileCountThreshold=0.
. Set disk directory 1=d:\cab
. Set CabinetName 1=EBD.cab
; listed files
D:\etiger\tools\ATTRIB。 Extensions of executable programs
D:\etiger\tools\CHKDSK。 Extensions of executable programs