Contents - Index - Previous - Next


MakeSFX method

 

Applies to

TVCLZip component

 

Declaration

procedure MakeSFX(SFXStub: string; ModHeaders: Boolean);

 

Description

Call this method to turn the current zip file (defined by the ZipName Property) into a self extracting zip file. Use your own sfx stub or you may use one of the ones supplied by VCLZip (find them with the Zip Utility Example project file). Specify the path and filename of the SFX Stub that you wish to use in the SFXStub parameter.  If ModHeaders is defined as True, then the zip file header location pointers will be adjusted to compensate for the stub that is added to the beginning of the file.  If ModHeaders is False, then the headers will not be adjusted.  

 

NOTE:  At this time, the value of ModHeaders will be considered to be True no matter what you define it to be.  The headers will always be adjusted.  The capability to NOT adjust headers will be available in a later release.