SourceDirectory Property
Directory to be compressed into a self-extracting archive.
Syntax
zipsfxcontrol.SourceDirectory[=string]
Default Value
""
Remarks
This property specifies the name of the directory containing the files to be compressed. This may be a local or absolute path. If the RecurseSubdirectories property is true, all the subdirectories under SourceDirectory will be recursed into, and those files will also be compressed.
Example (Creating a Self-Extracting Archive)
control.ArchiveFile = "c:\test.exe" control.RecurseSubdirectories = true control.SourceDirectory = "c:\foo\" control.CaptionText = "Testing ZipSFX" control.BannerText = "Press continue to decompress the archive." control.CreateSFX()
Data Type
String