Имя пользователя:
Пароль:
 

Название темы: makecab + 2 files
Показать сообщение отдельно

Ветеран


Сообщения: 529
Благодарности: 50

Профиль | Отправить PM | Цитировать


desoto
To produce this disk layout with MakeCAB, a DDF is prepared which lists all of the files forthe product, along with some optional MakeCAB settings to control parameters such as: 1) the capacity of the disks which are being used, 2) the naming convention of the cabinet files , 3) the visible (user-readable) labels on each disk, 4) how much random access is desired for files within a cabinet. The following is an example of a DDF that might be appropriate:
Код: Выделить весь код
;*** MakeCAB Directive file example
;
.OPTION EXPLICIT			; Generate errors on variable typos

.Set DiskLabel1=Setup		; Label of first disk
.Set DiskLabel2=Program      	; Label of second disk
.Set DiskLabel3="Program Continued"	; Label of third disk
.Set CabinetNameTemplate=EXCEL.* 	; EXCEL.1, EXCEL.2, etc.
.set DiskDirectoryTemplate=Disk*	; disk1, disk2, etc.
.Set MaxDiskSize=1.44M	       	; 3.5" disks

;** Setup.exe and setup.inf are placed uncompressed in the first disk
.Set Cabinet=off
.Set Compress=off
.Set InfAttr=			; Turn off read-only, etc. attrs
bin\setup.exe		       	; Just copy SETUP.EXE as is
bin\setup.inf		       	; Just copy SETUP.INF as is

;** The rest of the files are stored, compressed, in cabinet files
.Set Cabinet=on
.Set Compress=on
bin\excel.exe		       	; Big EXE, will span cabinets
bin\excel.hlp
bin\olecli.dll
bin\olesrv.dll
;...										; Many more files
;*** <the end>			; That’s it
Now, you run MakeCAB to create the disk layout:
MakeCAB /f excel.ddf

-------
Не верь трудолюбивому Админу! Ибо только лень заставит его настроить систему раз и навсегда!
http://unacreator.elitecom.ru -=- Сайт г. Дзержинска


Отправлено: 14:16, 06-06-2005 | #2

Название темы: makecab + 2 files