SourceFile Property
File to be compressed into a self-decrypting archive.
Syntax
sdacontrol.SourceFile[=string]
Default Value
""
Remarks
This property specifies the name of a single file to be compressed. When both SourceFile and SourceDirectory are set, only SourceDirectory is used.
Example (Creating a Self-Decrypting Archive)
control.ArchiveFile = "c:\test.exe" control.RecurseSubdirectories = true control.SourceDirectory = "c:\foo\" control.CaptionText = "Testing SDA" control.BannerText = "Press continue to decompress the archive." control.CreateSDA() control.ArchiveFile = "c:\test.exe" control.SourceFile = "c:\foo\bar.dat" control.CaptionText = "Testing SDA" control.BannerText = "Press continue to decompress the archive." control.CreateSDA()
Data Type
String