The name of the self-extracting zip archive to create.
This property specifies the name of the archive to be written when CreateSFX is called. Any pre-existing archive file will be overwritten.
The filename may be specified with or without a path. Paths may be relative or absolute, and should be specified in the format native to the host operating system. The filename should be specified with the appropriate ".exe" extension. An extension will not automatically be appended by the control.
If the file cannot be written a trappable error will be generated.
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()
Note: When creating a self-extracting archive which exceeds 4 GB or more of uncompressed data or which contains more than 64K files, the control will create a 64-bit Zip archive.