Xceed Zip Compression Library Documentation
SfxExecuteAfter property
Self-Extractor Module reference > Self-Extractor Module properties > SfxExecuteAfter property

Description

The SfxExecuteAfter property lets you specify the path and filename of one or more external programs or executables that the self-extractor will run upon successfully extracting its files. Each path + filename of an external program or executable to run must be separated by a CR and/or LF character.

Command line parameters for each external program or executable to run can optionally be specified by adding a vertical bar ("|") character after the executable's path and filename, followed by the command line parameters to provide that executable.

The following macros are available when specifying a value for the SfxExecuteAfter property: %w, %s, %d, %t, %e, %p and %v.

Use the SfxAddExecuteAfter method to specify executables and their command lines more easily and with sharper code.

If the SfxExecuteAfter property is empty, no program will be run.

Note: The SfxInstallMode property affects when each program is executed. When SfxInstallMode is True, each executable will be run in the specified sequence, but only after the previous one has terminated. When SfxInstallMode property is False, all executables will be run one after the other without waiting for each one to terminate before running the next.

The total length of the values of the SfxExecuteAfter, SfxFilesToCopy, SfxFilesToRegister and SfxRegistryKeys properties cannot exceed 2000 characters.

Data type

String

Default value

Empty

Declaration (DLL API)  

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

void XzSetSfxExecuteAfter(HXCEEDZIP hZip, const char* pszValue)

Browsable

Yes

Applicable methods

Zip, Convert

Related topics

None