Xceed Zip Compression Library Documentation
SfxClearMessages method
Self-Extractor Module reference > Self-Extractor Module methods > SfxClearMessages method

Description

The SfxClearMessages method clears all the entries in the SfxMessages property. If all the entries are empty in the SfxMessages property at the time the Zip or Convert methods are called, then the resulting self-extracting zip file will never display any dialog or message boxes on screen, nor prompt the user for passwords, new disks or file replace conditions. In other words, if you want completely silent operation, call SfxClearMessages method.

Declaration (ActiveX)  
Method SfxClearMessages()
Declaration (DLL API)  
void XzSfxClearMessages( HXCEEDZIP hZip )

Parameters

None

Return values

None

Remarks

If the purpose of a call to the SfxClearMessages method is to achieve completely silent operation (no windows displayed by the self-extracting zip file), then you should also call the SfxClearButtons and SfxClearStrings methods to erase all prompts, strings and button captions from the configuration portion of the self-extracting zip file – you will obtain slightly smaller self-extracting zip files this way.

Applicable properties

SfxMessages