Xceed Real-Time Zip for .NET Documentation
ExecuteAfter Property


Xceed.Zip Assembly > Xceed.Zip.Sfx Namespace > XceedSfxPrefix Class : ExecuteAfter Property
Gets the path and filenames of one or more external programs or executables that the self-extracting zip file will run upon successfully extracting its files.
Syntax
'Declaration
 
Public ReadOnly Property ExecuteAfter As StringList
'Usage
 
Dim instance As XceedSfxPrefix
Dim value As StringList
 
value = instance.ExecuteAfter
public StringList ExecuteAfter {get;}

Property Value

A reference to a StringList object representing the external programs or executables that the self-extracting zip file will run upon successfully extracting its files.

Parameters for the executable can also be specified by separating them from the executable using a pipe (|) character. For example: Dim sfx As New XceedSfxPrefix(New DiskFile("C:\Program Files\Xceed Components\Xceed Zip for .NET 2.0\Sfx\v1.3\xcdsfx32.bin")) sfx.ExecuteAfter.Add("notepad.exe|d:\test.txt")

Remarks

The following Variables are available when specifying a value for the ExecuteAfter property:

<SfxFolder> The folder where the self-extracting zip file is being run from.
<WindowsFolder> The location of the Windows folder.
<SystemFolder> The location of the Windows System folder.
<TempFolder> The location of the system's temporary folder.
<RandomFolder> Random folder name that doesn't already exist. (the format of the random name is: _SFXxxx, where xxx is a random number)
<ProgramFilesFolder> The location of the Program Files folder.
<SystemDrive> The main system hard disk.
<DestinationFolder> The main system hard diskThe unzipping folder or the user-selected folder where files were unzipped to.

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

The length of the values of the ExecuteAfter, FilesToCopy, DllsToRegister and RegistryKeys properties cannot exceed 2000 characters.

This property is the equivalent of the SfxExecuteAfter and SfxReadmeFile properties and the SfxAddExecuteAfter method of the ActiveX version of Xceed Zip.

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

XceedSfxPrefix Class
XceedSfxPrefix Members