Xceed Zip for COM/ActiveX on x86/x64 Documentation
Self-Extractor Module reference / Self-Extractor Module methods / SfxAddFileToRegister method
In This Topic
    SfxAddFileToRegister method
    In This Topic

    Description

    The SfxAddFileToRegister method adds an item to the SfxFilesToRegister property's list of executable files to register after files have been extracted.

    SfxAddFileToRegister automatically creates a string of the appropriate format for the SfxFilesToRegister property and handles separating items with the CR+LF characters. In fact, it performs the same work as the following line of VB code:

    XceedZip1.SfxFilesToRegister = XceedZip1.SfxFilesToRegister + sDllServer + Chr(13) + Chr(10)

    Declaration (ActiveX)  
    Method SfxAddFileToRegister (sDllServer As String)
    Declaration (DLL API)  

    void XzSfxAddFileToRegister(HXCEEDZIP hZip, const TCHAR* pwszFilename);

    Parameters

    Parameter Description
    sDllServer  The path and filename of the executable (usually a DLL) to register. You can use macros.

    Return values

    None

    Applicable properties

    SfxFilesToRegister