Contents - Index - Previous - Next


PreserveStubs property

 

Applies to

TVCLZip component

 

Declaration

property PreserveStubs: Boolean;

 

Description

If PreserveStubs is True, then when opening an SFX archive (self extracting archive) as a zip file and making changes to it (i.e. adding or deleting files), the archive will remain an SFX Archive (in other words, the sfx stub at the beginning of the archive will be preserved).  If PreserveStubs is False, then when making any modifications at all to an SFX archive, the archive will be converted back to a regular zip archive.  

 

The default value for PreserveStubs is False, mainly to preserve backward compatability. 

 

PreserveStubs is a public property. 

 

IMPORTANT: If the sfx archive that you are working with contains any internal checks for the size of the archive then modifying the file may cause the sfx executable to no longer work. 

 

See Also: 

 

MakeSFX Method 

Creating a Self Extracting Zip File 

 

Run-time only