Cabarc can create, view or parse files in CABs, while Makecab can only be used to create CABs.
2. When making a cab file, you need to include all relevant files. You can view the required files through DEPENDS(VC (which comes with VC). Write all these things in the inf file.
3.inf method: inf file describes all ocx and dll files in cab, and inf provides needed information through some named areas.
How to write inf
At first, it is usually the Version area:
For example: [Version]
Signature ="$XXXX$ "
AdvancedINF=2.0
Next is the most important [supplement. Code] area:
Example: [Supplement. Code]
ctrl 1 . dll = c 1 section
Ctrl2.dll=Ctrl2.dll
The file name to be downloaded is in front, followed by the region name corresponding to the file, which can be any name, but it is generally the same as the file name, which is convenient for maintenance. It should also be noted that it appears in [Add]. Code] areas should be sorted according to their dependencies. For example, the aforementioned ctrl 1.dll depends on ctrl2.dll, and ctrl2.dll should appear in front of ctrl 1.dll, because the installation is carried out in reverse order, that is to say, ctrl2.dll is installed first, and then ctrl 1.dll is installed. Suddenly, remember clearly, don't do it backwards.
Then the area of each file.