Xceed Zip for COM/ActiveX on x86/x64 Documentation
Self-Extractor Module reference / Self-Extractor Module properties / SfxProgramGroupItems property
In This Topic
    SfxProgramGroupItems property
    In This Topic

    Description

    The SfxProgramGroupItems property lets you specify the items to be created in the program group specified in the SfxProgramGroup property.

    Each item in the list consists of a path + filename as well as a name. You must separate the file + path name from the name using the | character (ASCII value 124). Each item must be separated by a CR character (ASCII value 13) or the CR/LF characters (ASCII value 13 followed by ASCII value 10). See below for an example.

    The SfxAddProgramGroupItem method allows you to easily add items to this property's list of program group items. 

    The following macros are available when specifying a value for the path + filename portion of an item: %w, %s, %t, %e, %d, %p and %v.

    Here is an example of a string used to provide 3 items to the SfxProgramGroupItems property using VB:

    Visual Basic Copy Code
    XceedZip1.SfxProgramGroupItems = "%d\Tetris\Tetris.exe|Play Tetris Now" + chr$(13) + _
                                     "%d\Tetris\readme.txt|Read me!" + chr$(13) + _
                                     "%d\Tetris\Register.exe|Register Online!"

    In Delphi, you would do this:

    Delphi Copy Code

    XceedZip1.SfxProgramGroupItems.Add('%d\Tetris\Tetris.exe|Play Tetris Now');
    XceedZip1.SfxProgramGroupItems.Add('%d\Tetris\readme.txt|Read me!');
    XceedZip1.SfxProgramGroupItems.Add('%d\Tetris\Register.exe|Register Online!');

    Data type

    String

    Default value

    Empty

    Declaration (DLL API)  

    UINT XzGetSfxProgramGroupItems(HXCEEDZIP hZip, TCHAR* pszBuffer, UINT uMaxLength)

    void XzSetSfxProgramGroupItems(HXCEEDZIP hZip, const TCHAR* pszValue)

    Browsable

    Yes

    Applicable methods

    Zip, Convert

    Related topics

    None